Search found 9 matches

by dermoritz
Tue May 22, 2007 10:42 am
Forum: PHP - Code
Topic: generating great number of pdf with template, anyone exp.?
Replies: 6
Views: 1165

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 pos...
by dermoritz
Tue May 22, 2007 8:33 am
Forum: PHP - Code
Topic: generating great number of pdf with template, anyone exp.?
Replies: 6
Views: 1165

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?
by dermoritz
Tue May 22, 2007 8:30 am
Forum: Code Snippets
Topic: Adding text/images to an existing PDF
Replies: 20
Views: 80648

how it is possible to leav all! layout in the template? i want only the data in php. for this example: " 'This document was downloaded at '.date("G:i T", time()).' on '.date("l F jS Y", time()).'. This document is only valid for 24 hours from this date.',0,0,'C'" -witho...
by dermoritz
Fri May 18, 2007 8:13 am
Forum: Code Snippets
Topic: Adding text/images to an existing PDF
Replies: 20
Views: 80648

ok, i got it.

the was an empty line before the <?php tag. deleting it solved the problem.
by dermoritz
Fri May 18, 2007 7:31 am
Forum: Code Snippets
Topic: Adding text/images to an existing PDF
Replies: 20
Views: 80648

thx, but what about the warning and the error(i edited my last post)? i guess with out the warning it will work?!

ok, disabled warnings via:
define(DEBUG, "ON");
error_reporting(0);

but the error:

FPDF error: Some data has already been output to browser, can't send PDF file

persists :-(
by dermoritz
Fri May 18, 2007 7:08 am
Forum: Code Snippets
Topic: Adding text/images to an existing PDF
Replies: 20
Views: 80648

i tried it an get parse errors: Parse error: syntax error, unexpected '&' in /var/www/web3/html/moritz/fpdf153/demo.php on line 27 the line: $this->SetY(-15); besides this there are many other errors in it - says zend studio. what i make wrong? could it be some html chracters? ok, sorry for the ...
by dermoritz
Fri May 18, 2007 6:42 am
Forum: PHP - Code
Topic: generating great number of pdf with template, anyone exp.?
Replies: 6
Views: 1165

because its an invoice, the template would include a header, a footer and some table layout between them. this should be easy modifiable by any user.
the question is how appropriate is fpdf/fpdi for this use case.
by dermoritz
Fri May 18, 2007 4:42 am
Forum: PHP - Code
Topic: generating great number of pdf with template, anyone exp.?
Replies: 6
Views: 1165

the only problem with fpdi is the need of an commercial pdf creator like acrobat, isn't it? no it isn't :-) - open office can create pdf?

so fpdf/fpdi seems to be a good solution. has anyone some experience with fpdf/fpdi in conjunction with generating invoices/tables?
by dermoritz
Fri May 18, 2007 4:12 am
Forum: PHP - Code
Topic: generating great number of pdf with template, anyone exp.?
Replies: 6
Views: 1165

generating great number of pdf with template, anyone exp.?

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 num...