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.

http://www.accesspdf.com/pdftk/

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs