Thursday, November 27, 2008

combine pdf files to one

2 ways
http://opendevice.blogspot.com/2007/03/merge-pdf-files-on-linux.html
http://www.newlinuxuser.com/merge-multiple-pdfs-into-one-file/

install gs or pdftk

pdftk first.pdf second.pdf cat output firstANDsecond.pd

or else

gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=firstANDsecond.pdf -dBATCH first.pdf second.pd