2

I'm searching for a Method to combine two (or more) PDFs to a new one. This i have to do with the comman-line in windows. I haven't found a simple programm that can do this.

Has anyone an idea for a programm that can do this?

Best Regards

migrated from stackoverflow.com Jun 1 '11 at 18:09

This question came from our site for professional and enthusiast programmers.

1

I would install Ghostscript under Cygwin, then do something like the following (I always have to try the commands a couple of times to get them right):

gs -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile=out.pdf file1.pdf file2.pdf [...]
  • You've still a small error here and didn't get it right: it must be -sDEVICE=pdfwrite. Also, I would add -dPDFSETTINGS=/prepress for maximal quality. – Kurt Pfeifle Nov 2 '10 at 18:43
  • ghostscript is also available in native windows binaries, you don't have to use cygwin (see here). – matt wilkie Nov 16 '11 at 22:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.