Trim margins from PDF document

June 2nd, 2009 | Tags: , , , ,

It’s happened to me one time, that I want to trim margins from PDF document.

It was a manual for Panasonic G1 camera: http://ftp.xvx.cz/pub/docs/my/panasonic_g1.pdf

You can see huge margins there, because it was officially written for A5 paper and they create manual for A4.

See the picture:

One page from Czech Panasonic DMC-G1 manual

I used pdfcrop script from Heiko Oberdiek, which can easily trim margins.

pdfcrop.pl --margins 10 panasonic_g1.pdf panasonic_g1-2.pdf

Here is the result:

Trimmed page from Czech Panasonic DMC-G1 manual

I hope this can be useful for somebody who needs this…
KDE pdf viewer Okular, has the function “Trim Margins”, which works very well, but you can not save the PDF…

VN:F [1.9.20_1166]
Rating: 10.0/10 (6 votes cast)
Trim margins from PDF document, 10.0 out of 10 based on 6 ratings
  1. Enrico
    December 29th, 2010 at 19:05
    Reply | Quote | #1

    Hey! Thank you very much! I was looking around to find a way to trim margins of my scientific ebooks so to read them on my small ebook reader. Your hint was very useful for me!