View Single Post
Old 04-28-2013, 02:17 PM   #134
Lbooker
Addict
Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.Lbooker ought to be getting tired of karma fortunes by now.
 
Posts: 316
Karma: 1021312
Join Date: Jun 2009
Device: Sony PRS-T1
Quote:
Originally Posted by Sharkey View Post
I use Briss, which does a logical crop that only masks the content in the margins. Unfortunately, the Kobo viewer on the device seems to ignore the masking. This Ghostscript command will permanently remove the margin area:

Code:
gs -sDEVICE=pdfwrite -dUseCropBox -sOutputFile=out.pdf - < in.pdf
Note the hyphen after out.pdf and the "< in.pdf"; ie, tell Ghostscript to read from stdin and then concatenate "in.pdf" onto stdin.

This works for me on my OSX 10.6.8 laptop; haven't tried on newer or earlier versions of OSX, nor on other platforms.
In Linux there is a nice free software with a graphical interface to do this very precisely : PDF-Shuffler.
After importing the file, one can crop pages one at a time, as well as dozens or hundreds of pages at a time, indicating percentages of cropping for each side of the page, seeing in real time the result on the pages displayed at the zoom level you choose. Then "save as" and you are done ! A quick and clean solution.

Last edited by Lbooker; 04-28-2013 at 05:54 PM.
Lbooker is offline   Reply With Quote