Thanks Bram for feedback.

Although i would suggest making 3000 single page documents instead of  
2 massive files. Because there is almost no hit in the creation of the  
files
but all the processing time is spent in the layout preparation phase.  
In my application we prepare a pdf of the metrics in our LDAP  
workgroups (the users, their printer usage and pc's)
which we sent to each workgroup administrator for financial review  
(they have to pay per unit of all 3 variables). The data retrieval,  
file creation of the 130 files and placing it in a email que takes  
under 1 sec.

I`m not sure if I`m getting the point. You`re suggesting creating 3000 pdf
files instead of 1 with 3000 pages? If all you need is sending these files
to customers it is fine but in my case 3000 envelopes need to be created for
easy print by one person. So I think creating one pdf file is easier.
However it isn`t so fast. In my case it takes about 7 seconds with Zend_Pdf.
Envelopes contains small amount of data. I`m worried about invoices. I`ll
soon test it as well.

> Don`t know if there is option to mark  
> where
> the end of invoice is and force to print another document on the new  
> paper.
Said that I was thinking about html (without PDF gen). What if I create 3000
invoices as a one HTML document. It would be one long HTML page without any
end page tags which supposed to say printer to start printing the next text
on the new page.

Maybe fpdf or dompdf is faster for this particular task? Creating
complicated invoices with HTML and than convert it to pdf with dompdf would
probably be the easies way. However, don`t know how much time it would take
to convert it.


-- 
View this message in context: 
http://www.nabble.com/Zend_Pdf-and-printing-in-general-questions-tp18888957p19124223.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to