News‎ > ‎

Merging PDFs

posted Nov 2, 2012, 3:33 PM by Felix Wong   [ updated Jul 19, 2016, 12:28 PM by Reuben Castelino ]
Here is the syntax for merging PDFs.

gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=[filename].pdf [source 1].pdf [source 2].pdf [...]
This is useful if you have many individual PDFs that you wish to print, but want to avoid clicking the Print button and/or having excess cover pages.