Evan Martin (evan) wrote in evan_tech,
Evan Martin


I often want to print long papers like Phantom Types and Subtyping, which is 60 pages. But 60 pages is too much!

The first trick is to print duplex, which cuts it down to 30 sheets of paper.
The next typical trick is to use psnup -2 to put two pages per page, reducing it to 15. But then the text is too small to read.

The solution is to use pstops to simultaneously do the psnup while scaling the image up and chopping out all the huge TeX margins.
A command like this does the trick for me:
pstops '2:0L@0.8(22cm,-1cm)+1L@0.8(22cm,12cm)' in.ps out.ps

Briefly, that's:
2:   two pages per sheet
0    page zero
L    rotate left
@0.8 scale to 0.8
(22cm,-1cm) offsets (you may have to play with these)
+    the other page
1    is page one
Note the -1cm offset; that (and the other adjustments) actually cut out the margins of the document.

  • your vcs sucks

    I've been hacking on some Haskell stuff lately that's all managed in darcs and it's reminded me of an observation I made over two years ago now (see…

  • inspiration

    _why: "when you don't create things, you become defined by your tastes rather than ability. your tastes only narrow & exclude people. so create."

  • perl people, explain your language to me

    Every time I use perl I feel mildly positive about it right up until I encounter CPAN. I've never managed to make CPAN work, despite the multitude of…

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.