selfjungle Just another WordPress weblog


merge two pdf documents

I had to sign a document, which was basically:

  1. Print the last, 5th page of the pdf.
  2. Sign the sheet.
  3. Scan it as a one-paged pdf.
  4. Change the 5th page from the pdf with the new one.

Again, the solution was pdfjam, which did the job of merging the first 4 page of the original document with the new pdf.

pdfjam original.pdf '1-4'  new.pdf '-' --outfile merged.pdf

I found nice pdfjam examples at the The Bit Brothers.

Tagged as: No Comments