Automate printing and processing large HTML files

I wrote a simple PHP application to create paychecks for company employees. Interaction between db and app is nice, data is cached and performance is quite high. So what's the problem?

I need to provide the ability to print entire receipts with one click for the end user. printing such a large HTML file is not possible without dealing with browser crashes.

So, I appreciate if you have a solution / suggestion for listing checks and printing...

+2


source to share


2 answers


Using FreePDF

, TCPDF

and R&OS

PDF Building Libraries could be a more simplified version of Dav's solution.
In contrast FreePDF

, TCPDF

is supporting encoding UTF-8

.



0


source


Consider using a PDF library to create a PDF document that can be downloaded and then printed, who would print it?



One option is the PHP PDF object , some other options are also listed in the comments on this page.

+1


source







All Articles