This is an old revision of the document!


PDF management

GS

Merge PDF files:

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf

Split PDF file:

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=m -dLastPage=n -sOutputFile=out.pdf in.pdf

PDFTK

Split and merge PDF files:

pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf
pdftk A=one.pdf B=two.pdf cat A1-7 B1-5 A8 output combined.pdf

Encrypt/decrypt, set permissions, repair: http://www.accesspdf.com/article.php/20041129175231241

convert (image magick)

Merge image files into a pdf file:

convert page-*.png -page A4 [-rotate 90] test.pdf

pdftotext

To grep into a pdf file:

pdftotext file.pdf - | grep "text"

flpsed

To add text on a pdf file. You can save the file, but it doesn't work with landscape oriented pages…

Xournal

To add text, drawings, and highlight a pdf file. More complete and less buggy than flpsed.

PDF-XChange Viewer

Can deal with real PDF annotations (yellow boxes).

Software for Windows, but that works in Wine (download the exe installer).

software/pdf.1303300219.txt.gz · Last modified: 2013/09/19 16:43 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0