Sep 16, 2009

How to merge two pdf files in command line

To do this, we will use ghostscript (in1.pdf and in2.pdf are files to be merged):

gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf

No comments:

Post a Comment