The Linux Page

Creating a PDF and "attach" another PDF

Merging PDF files together

Now that I have an HP scanner that directly generates PDF files, I have a new problem:

In some cases. I scan multiple documents and get separate PDF files. Later I need to merge those separate PDF files together to form a single PDF that I can share with others.

The Poppler project actually includes the perfect tool for this purpose. Here is the command one uses to do the merging:

pdfunite in-1.pdf in-2.pdf ... in-n.pdf out.pdf


Now out.pdf is one single PDF composed of all the input PDFs 1 to n.