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.

  • icfp results

    IFCP results. Google's Team Smartass won again. No surprise there; those guys are truly scary smart.

  • icfp conclusion

    ICFP this year: still good, but a bit of a bummer. You were given "DNA" (a 7mb string of the letters I,C,F,P) and instructions on how to parse and…

  • icfp!

    This weekend I've been working on the ICFP contest again. I'm taking much more casually than last year -- I started after dinner last night and gave…

  • 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.