From: Morten Date: 2007-04-25T07:55:06+09:00 Subject: Re: Concatenate 2 PDF documents elof@elof.dk wrote: >> Hi. >> >> Anyone know if there's a library out there that supports concatenation >> of 2 PDF documents? >> Basically I need to append b.pdf to a.pdf. > > http://www.lowagie.com/iText/ > > There's an example included called Concat.java that does exactly that. > > iText is not written in Ruby, but despite this shortcoming it is a very > good piece of software ;-) > > Kristian > > Thanks for the tips. I was secretly hoping for a Ruby only solution, or one that did not require me to have my hosting provider install Java. The pdftk port has an awful lot of dependencies. It seems that ImageMagick can do it: convert some.pdf other.pdf output.pfd - I'll be looking into that. Br, Morten