I'd like to be able to merge multiple pdfs into one file using Delphi 2009. I'd be willing to look at third party components for this.
Please do not suggest Gnostice's products - I have tried to use them for this and have been开发者_开发问答 disappointed so far.
The simplest way that I have found was to use a free command-line program, pdftk
http://www.pdftk.com/
Merge Two or More PDFs into a New Document:
pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf
If you have Adobe writer / creator could you automate it? I believe there is an SDK...
I would recommend Amyuni PDF Creator ActiveX for this task. There is a C# example in a SO answer I posted, the Delphi equivalent would be very similar.
Disclaimer: I am part of the development team of this product.
Use Debenu.Quick.PDF.Library there are Methods for merging.
精彩评论