View Single Post
Old 04-25-2010, 05:12 PM   #5
WillAdams
Wizard
WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.
 
WillAdams's Avatar
 
Posts: 1,258
Karma: 3439432
Join Date: Feb 2008
Device: Amazon Kindle Paperwhite (300ppi), Samsung Galaxy Book 12
Define a (custom) page size as desired.

Print the .pdf using said page size to a .ps file.

Distill to a pdf

Or use pdfcrop:

http://pdfcrop.sourceforge.net/

Or a script which uses pdftk:

#!/bin/bash

perl -pe "s/(Crop|Media)Box\s*\[(.+?)\]/\$1Box\[$2\]/g;" $1 | pdftk - output $3

(from http://konrad.familie-kieling.de/com...x/63-crop-pdfs )

Last edited by WillAdams; 04-25-2010 at 05:15 PM.
WillAdams is offline   Reply With Quote