Answer the question
In order to leave comments, you need to log in
How to automatically save html page to pdf?
Users view reports as HTML pages. You need to give them the opportunity to download these reports in PDF format, or immediately generate them in PDF. Options for installing various extensions for browsers, programs on users' computers are not suitable. From means - PHP. In this case, a prerequisite is that the pages must be numbered.
Answer the question
In order to leave comments, you need to log in
PrinceXML
Dompdf - and here is an article about the library on Habré
Well, as the commentator noted above - mPDF also works fine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question