SPUG:PDF concatenation tool?

Ben Reser ben at reser.org
Thu Jan 23 21:13:14 CST 2003


On Thu, Jan 23, 2003 at 05:20:03PM -0800, Tim Maher wrote:
> Does anybody know of a utility that will concatenate
> individual files in PDF format into a single resulting
> PDF file?
> 
> I've looked on CPAN, but can't find any module that seems to
> provide this functionality.

Just use ghostscript...
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf file1.pdf
file2.pdf ...

-- 
Ben Reser <ben at reser.org>
http://ben.reser.org

"America does not go abroad in search of monsters to destroy. She is
the well-wisher to the freedom and independence of all. She is the
champion only of her own." -- John Quincy Adams, July 4th, 1821



More information about the spug-list mailing list