I haven't tried it, but there is a perl script called pdfcrop:
Quote:
PDFCROP takes a PDF file as input, calculates the BoundingBox
for each page by the help of ghostscript and generates a output
PDF file with removed margins.
|
http://www.tug.org/tex-archive/support/pdfcrop/README