joining pdf files with ghost view
11/08/2003
I came up with this to solve a problem for automating printing of a mailout for a client.
Overiew
Basically you bung your pdf's in a folder, name them sequentially or write a script to sort them and fire ghost view at them
Detail
Simple Commandline version
1)put your pdf's in a folder and rename them according to order e.g pdf001.pdf pdf002.pdf ... etc.
2)use the command
gs -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf /path/to/pdf/folder/*
or
gs -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf /path/pdf001.pdf /path/pdf002.pdf
You can of course write a script (perl bash php etc) to create do the sorting of files for you.