Monthly Archives: March 2012

.ps (postscript) zoom with psutils on Linux

Since the man pages are a bit too short, here are the magic recipes to zoom a postscript document (for example, you need less/more margins on print):

    • 20% zoom:

pstops '1:0@1.2(-2cm,-2.5cm)' input.ps output.ps

    • 30% zoom:

pstops '1:0@1.3(-3cm,-3.5cm)' input.ps output.ps

The @1.2 (or @1.3) part zooms while the (-2cm,-2.5cm) (or (-3cm,-3.5cm)) part centers the page.


There is also pdfcrop (for pdf files), it comes with tetex.

Advertisements