pdftk

pdftk is a simple tool for doing everyday things with PDF documents.
Download

pdftk Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Sid Steward
  • Publisher web site:
  • http://www.pdfhacks.com/pdftk/

pdftk Tags


pdftk Description

pdftk is a simple tool for doing everyday things with PDF documents. If PDF is electronic paper, then pdftk is an electronic staple-remover, hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. The pdftk project is a simple tool for doing everyday things with PDF documents. Keep one in the top drawer of your desktop and use it to:Here are some key features of "pdftk":· Merge PDF Documents· Split PDF Pages into a New Document· Rotate PDF Pages or Documents· Decrypt Input as Necessary (Password Required)· Encrypt Output as Desired· Fill PDF Forms with FDF Data or XFDF Data and/or Flatten Forms· Apply a Background Watermark or a Foreground Stamp· Report on PDF Metrics such as Metadata, Bookmarks, and Page Labels· Update PDF Metadata· Attach Files to PDF Pages or the PDF Document· Unpack PDF Attachments· Burst a PDF Document into Single Pages· Uncompress and Re-Compress Page Streams· Repair Corrupted PDF (Where Possible)ExamplesMerge Two or More PDFs into a New Documentpdftk 1.pdf 2.pdf 3.pdf cat output 123.pdfor (Using Handles):pdftk A=1.pdf B=2.pdf cat A B output 12.pdfor (Using Wildcards):pdftk *.pdf cat output combined.pdfSplit Select Pages from Multiple PDFs into a New Documentpdftk A=one.pdf B=two.pdf cat A1-7 B1-5 A8 output combined.pdfRotate the First Page of a PDF to 90 Degrees Clockwisepdftk in.pdf cat 1E 2-end output out.pdfRotate an Entire PDF Document's Pages to 180 Degreespdftk in.pdf cat 1-endS output out.pdfEncrypt 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 PDFpdftk 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 printingDecrypt a PDFpdftk secured.pdf input_pw foopass output unsecured.pdfJoin 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.pdfUncompress PDF Page Streams for Editing the PDF Code in a Text Editorpdftk mydoc.pdf output mydoc.clear.pdf uncompressRepair a PDF's Corrupted XREF Table and Stream Lengths (If Possible)pdftk broken.pdf output fixed.pdfBurst a Single PDF Document into Single Pages and Report its Data to doc_data.txtpdftk mydoc.pdf burstReport on PDF Document Metadata, Bookmarks and Page Labelspdftk mydoc.pdf dump_data output report.txtWhat's New in This Release:· Fixed a bug that corrupted output PDF xref tables. This corruption was mild but universal. Most PDF tools can cope with the corrupted PDFs, but I recommend upgrading from 1.40 to 1.41 as soon as possible. This bug was introduced in version 1.40 — version 1.12 does not have this bug.· Fixed a bug that prevented XFDF form data from being passed to pdftk via stdin.· Commented out some unused code from pdftk.cc.


pdftk Related Software