View Single Post
Old 08-31-2013, 01:06 AM   #513
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,303
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by mldma View Post
Hello Willus, Thank you for your great program.
I come across a problem with the attached pdf below. it's hard to cut margin by the use of Briss.
Can K2pdfopt do that? (just cut 4 margins and keep all original content without any change)Would you please show me the command? thank you.
Sure--if you want a copy page for page but just having the margins trimmed, try this:

k2pdfopt -mode copy -t -de 3 test.pdf

The -de 3 will keep the black speckles from influencing the trimming. This doesn't trim the margins right to the edge because of a bug in v1.66 that will be fixed in my next release (I'm hoping within the next week).

If you just want to trim the side margins and don't mind if text gets broken across pages, try the fit-width mode:

k2pdfopt -mode fw -de 3 test.pdf


(I think you'll like that better.)
willus is offline   Reply With Quote