Quote:
Originally Posted by willus
I used two passes:
k2pdfopt -mode crop -t -cbox1,2 0,0,1s,1s -cbox3- 0in,0in,7.186in,7.65in -cbox3- 7.186in,0in,6.18in,7.65in source.pdf -o out1.pdf
k2pdfopt -mode crop -t -ac -as -w 7in -h 8in out1.pdf -o out2.pdf
This forces the output page size to be 7 x 8 inches. If you are okay with variable page sizes, you can remove the -w and -h options from the second pass.
|
Thanks, how should I do the two passes? Add the commands in one terminal session, or process quit, load out1.pdf and do 2nd pass?
I get this message on 2nd pass anyway:
Code:
Reading 294 pages from out1.pdf ...
SOURCE PAGE 1 of 294 (3.7 x 4.3 in) ... 1 new page saved.
warning: premature end of data in flate filter
warning: ... repeated 2 times ...
warning: premature end of data in flate filter
warning: ... repeated 2 times ...
Then it goes idle after page 16. :/