Monday, August 25, 2008

Merging PDFs on Windows

First you need Ghostscript.
Then, you can just issue the command:
> gswin32 -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=merged_file.pdf -dBATCH file_1.pdf file_2.pdf file_3.pdf

What I noticed is that the text in the merged file is a little bigger than the original one at the same magnification although nothing is missing.
Maybe you/we need to tweak a bit with the parameters...

No comments: