[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Concatenate 2 PDF documents

Morten

4/24/2007 12:40:00 PM

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

3 Answers

Alex Young

4/24/2007 12:51:00 PM

0

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

--
Alex

elof

4/24/2007 1:18:00 PM

0

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

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


Morten

4/24/2007 10:53:00 PM

0

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