Merge/Combine two pdf using windows console

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

simon

Posted 2010-10-28T21:36:32.280

Reputation: 121

Answers

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 [...]

Anon

Posted 2010-10-28T21:36:32.280

Reputation:

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 – 2010-11-02T18:43:25.937

ghostscript is also available in native windows binaries, you don't have to use cygwin (see here).

– matt wilkie – 2011-11-16T22:43:24.407