General syntax:
pdftk <input PDF files> cat [ <input PDF pages> ] output <output PDF filename>
Example
- Extract page 1-3 from in1.pdf and save as out.pdf
pdfhk A=in1.pdf cat A1-3 output out.pdf - Extract page 1-3 from in1.pdf, page 4-6 from in2.pdf, merge it and save as out.pdf
pdfhk A=in1.pdf B=in2.pdf cat A1-3 B4-6 output out.pdf - Extract page1 from in2.pdf, and every even pages (2,4,6...) of in1.pdf, merge it and save as out.pdf
pdftk A=in1.pdf B=in2.pdf cat B1 A1-endeven output out.pdf
Ref: http://www.pdfhacks.com/pdftk/
No comments:
Post a Comment