Merging PDFs

There are various ways of merging PDF files.  Here's a simple method that doesn't require installing any special software since GhostScript is usually installed on Linux systems:

Suppose the file names are UCR1.pdf, UCR2.pdf, and UCR3.pdf.  Then

pdf2ps UCR1.pdf 1.ps
pdf2ps UCR1.pdf 2.ps
pdf2ps UCR1.pdf 3.ps
cat 1.ps 2.ps 3.ps > combined.ps
ps2pdf combined.ps combined.pdf

The procedure could be generalized and written as a shell script if this becomes a common task. The intermediate postscript files could then be automatically deleted.

Alternatively, there's a fast free program called PDF Toolkit: pdftk which can do much more than simply merge PDF's.  There is also a GUI interface for pdftk, called PDF Chain.

One Response to “Merging PDFs”

  1. Visit my blog Says:

    Your post...

    I just read the post and I can\'t hide my satisfaction for this useful information!...

Leave a Reply