Concatenate 2 PDF documents

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.

Br,

Morten

Morten 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.

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.

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 :wink:

Kristian

[email protected] wrote:

iText is not written in Ruby, but despite this shortcoming it is a very
good piece of software :wink:

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