Originally Posted by annoporci
If you just want to crop each page of a PDF file to its bounding box, try k2pdfopt with these options:
-mode copy -n -t
This will copy the source file (-mode copy), keeping it in its native format (-n), but also trim each page to its bounding box (-t) as determined graphically by k2pdfopt. With k2pdfopt you can drop a folder full of PDF files onto the icon and it will batch process the entire folder. If you don't like how it names the output files, look into the -o option (command-line usage here
). No other scripts or programs needed. The only issue with the above command is that it will not size each output page to the trimmed region exactly. It will keep the aspect ratio the same as the original source page, but this is also adjustable with the -w and -h options.