tags:

views:

963

answers:

2

How can I create a new document using other pdfs that I'm generating?

I have methods to create some documents, and I want to merge them all in a big pdf, how can I do that with TCPDF?

I do not want to use other libs.

A: 

Hi i think TCPDF is not able to merge pdf files.

You can try it with an shell command and

PDFTK Toolkit

So you dont have to use an other pdf library.

ArneRie
The problem with that is that I have to save each pdf then merge and the erase again the pdfs, is tcpdf really unable to merge documents? :(
LuRsT
+1  A: 

Check out FPDI and FPDF_TPL. This isn't a perfect solution, but you can basically use FPDF_TPL to create a template of your PDF file and the insert it into your PDF file.

Darryl Hein
LOL Did you have a bad experience with FPDI. Looks like you're going around posting this everywhere you can find something about FPDI.
Darryl Hein