so i am looking for a solution to create a great number of pdf (invoices) once a month. i need a possibility to use a template for the invoice, modifiable by the user. the data for the invoices comes from a mysql database. so the dynamical data is a table with fix number of columns and dynamical number of rows.
i already searched this forum and others and i found many "building blocks" to do this:
fpdf, ezpdf, pdflib... for generating pdf, html2pdf(many with this and similar names) for converting html to pdf (interesting if i use a html template for the invoice, created by a wysiwyg editor like tinymce), fpdi (if the template is a pdf file).
i am looking for people with experience in this field or especial in a similar situation.
what would you use/ what you used? with out an advice i would try fpdf with fpdi or with some html2pdf class, good idea?
generating great number of pdf with template, anyone exp.?
Moderator: General Moderators
- stereofrog
- Forum Contributor
- Posts: 386
- Joined: Mon Dec 04, 2006 6:10 am
- stereofrog
- Forum Contributor
- Posts: 386
- Joined: Mon Dec 04, 2006 6:10 am
in: viewtopic.php?t=30157
on the second page, i wrote how i want to solve the problem. the question is: is it possible this way?
on the second page, i wrote how i want to solve the problem. the question is: is it possible this way?
ok i learned form the author of fpdi, that there is no concept of an "placeholder" in fpdi. all elements to be inserted in the template must be positioned via php/fpdf code
.
but is there an possibility to get certain positions of "elements" from the template. i mean is it possible to place data relativly to elements from template? i'dont want to change the php code every time the template is changed.
but is there an possibility to get certain positions of "elements" from the template. i mean is it possible to place data relativly to elements from template? i'dont want to change the php code every time the template is changed.