HTML2PDF is a PHP class using FPDF for the PHP4 release, and TCPDF for the PHP5 release. It can convert valid HTML and xHTML to PDF. More details and examples on http://html2pdf.fr/
HTML2PDF is now on GitHub : https://github.com/spipu/html2pdf/
License
GNU Library or Lesser General Public License version 2.0 (LGPLv2)Follow html2pdf
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
-
script tag and some HTML tags are not working. I'm trying to convert web page to pdf but not a single web page is converting properly. This library is good to make receipt, ticket voucher, table printing etc.
-
not working to real html.....
-
Beware! This program has the Xerox compression bug (google it) which can alter the pdf in ways you will not notice. Everything seems to work great, but then portions of the output are moved around or replaced in surprising ways. I'm rating this poor in every way to get your attention, even though it is very nice except for this bug. Use wkhtmltpdf instead. It is being actively developed and does not appear to suffer from this problem.
-
Works nicely, but sometimes it's hard to figure out what went wrong
-
This is very good, even works better for me than tcpdf. I will surely donate when I earn some money with help of this software