Project

General

Profile

Can I use FPDF and TFPDF in a same program?

Added by Alain PEDROTTI almost 10 years ago

Hi,

I try to work with TFPDF but I also want to work in a same program with the original FPDF with some extension like "pagegroup" or "rounded_rectangle".

My question is simple. Can I use in a same PHP program these 2 librairies. I would like to start to create a new PDF document with the TFPDF librairy and in a page I would like to draw a "rounded rectangle" or add the "page group number" which they are a addon extension from FPDF and finaly close an output the result with the TFPDF. Is it possible?

Thanks in advance for your advice and help.

Regards,

Alain


Replies (1)

RE: Can I use FPDF and TFPDF in a same program? - Added by Andrei Bintintan almost 10 years ago

No, I don't think so. You cannot generate a PDF document using both libraries.

TFPDF is an extention of FPDF, so I think that quite a good number of extensions that are working for FPDF will work also for TFPDF. Maybe they will need some light adjustments, but basically they should work. Still, I haven't' tried these.

I hope this helps a bit.

    (1-1/1)