Link to home
Start Free TrialLog in
Avatar of James
JamesFlag for Canada

asked on

TCPDF - Creating multiple copies of a PDF with slight differences

I am using TCPDF to create PDF's of invoices. We are generating three copies of each page, where each has slight differences from the others. 99% of the page is the same but because the copies are used for different purposes, each copy has a bit of information that is unique to it.

Is there a way in TCPDF to tell it to generate 3 copies of the PDF and then have IF statements in the code to accommodate the differences? Or should I just call TCPDF three times with appropriate code for each copy?

Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of steveo2
steveo2
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial