Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

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

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

1 Answer 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 [...]
share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.