Page 1 of 1

Merge / convert multiple PDF files into one PDF

Posted: Tue Dec 17, 2024 7:34 pm
by valgonzalez
I installed the pdftk (pdf toolkit) on our debian server, and using the following command I achieved desired output:

pdftk file1.pdf file2.pdf cat output output.pdf

or

gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=output.pdf file1.pdf file2.pdf file3.pdf ... ESTE ULTIMO FUE EL QUE ME FUNCIONÓ