KTUGFaq
KTUG FAQ
PDF TOOLKIT. PDF ϴ ƿƼ.
1.1 ̻ PDF ġ ¶
Merge
pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdfor
pdftk A=1.pdf B=2.pdf cat A B output 12.pdfor (Using Wildcards):
pdftk *.pdf cat output combined.pdf
1.2 PDF ɰ ¶
Split Select Pages from Multiple PDFs into a New Document
pdftk A=one.pdf B=two.pdf cat A1-7 B1-5 A8 output combined.pdf
1.3 128Ʈ ȣȭ ¶
Encrypt a PDF using 128-Bit Strength (the Default) and Withhold All Permissions (the Default)
pdftk mydoc.pdf output mydoc.128.pdf owner_pw foopassSame as Above, Except a Password is Required to Open the PDF
pdftk mydoc.pdf output mydoc.128.pdf owner_pw foo user_pw bazSame as Above, Except Printing is Allowed (after the PDF is Open)
pdftk mydoc.pdf output mydoc.128.pdf owner_pw foo user_pw baz allow printing
1.5 ȣȭ PDF ġ ¶
Join Two Files, One of Which is Encrypted (the Output is Not Encrypted)
pdftk A=secured.pdf mydoc.pdf input_pw A=foopass cat output combined.pdf
1.6 PDF ¶
Uncompress PDF Page Streams for Editing the PDF Code in a Text Editor
pdftk mydoc.pdf output mydoc.clear.pdf uncompress
1.7 ߸ xref ¶
Repair a PDF's Corrupted XREF Table and Stream Lengths (If Possible)
pdftk broken.pdf output fixed.pdf
1.8 ϳ Ϸ ¶
Burst a Single PDF Document into Single Pages and Report its Data to doc_data.txt
pdftk mydoc.pdf burst