Quote:
Originally Posted by ManDay
I just figured someone could be interested in the script I had lying around my computer for quite some time now. I use it to crop PDFs for the reader. Example invocation
:/croppdf -o outfile.pdf infile.pdf 10 20. 500. 700 20 30. 500. 700
If you just run it without arguments, it gives a command summary for all features. Runs on Linux/Bash with ghostscript (command gs) installed.
|
Worked great the very first run!
From time to time, I search the net for how to crop a PDF. It seems to be a common problem, and a wide variety of answers have been posted at a wide variety of sites. None of them have ever worked for me. This one does. I didn't even have any copy/paste errors. (It was a bit cruel not to also attach the file to the message.)
I was also in luck that the document I tried it on only needed a single crop specification. I have to confess to being completely confused as to how to specify cyclical groups of pages.
Does your example use the second group for all pages after the first?
How would one specify odd/even page cropping?
Thanks for a great script!