How to concatenate PDFs: Difference between revisions

From KIP Wiki
ā§¼kip-jumptonavigationā§½ā§¼kip-jumptosearchā§½
(New page: With GhostScript one can concatenate PDFs without pain: just use the following command line: gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=newPDFname.pdf PDF1.pdf...)
Ā 
No edit summary
Ā 
Line 1: Line 1:
With GhostScript one can concatenate PDFs without pain:
With GhostScript one can concatenate PDFs without pain:
just use the following command line:
just use the following command line:



gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=newPDFname.pdf PDF1.pdf PDF2.pdf PDF3.pdf
gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=newPDFname.pdf PDF1.pdf PDF2.pdf PDF3.pdf



So all the PDFs (PDF1.pdf etc.) are combined in "newPDFname"
So all the PDFs (PDF1.pdf etc.) are combined in "newPDFname"

Latest revision as of 14:27, 17 November 2008

With GhostScript one can concatenate PDFs without pain: just use the following command line:


gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=newPDFname.pdf PDF1.pdf PDF2.pdf PDF3.pdf


So all the PDFs (PDF1.pdf etc.) are combined in "newPDFname" One can even use a wildcard to combine all the PDFs in a directory by just replacing (PDF1.pdf PDF2.pdf....) with *.pdf