Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .