HTML_ToPDF 3.5 review

Download
by rbytes.net on

Printing webpages is great, but every browser renders a page differently

License: The PHP License
File size: 60K
Developer: Jason Rust
0 stars award from rbytes.net

Printing webpages is great, but every browser renders a page differently. This can cause problems if you need to be able to print a page that looks the same no matter what platform or browser is being used.

Additionally, PDF files can be searched and browsed as a sort of notebook, making it a useful file format for large text files.

HTML_ToPDF is a PHP class that makes it easy to convert HTML documents to PDF files on the fly. HTML_ToPDF project grew out of the need to convert HTML files (which are easy to create) to PDF files (which are not so easy to create) fast and easily.

Here are some key features of "HTML ToPDF":
The ability to encrypt and set permissions on the PDF file on the fly.
The ability to set the header and footer text, including the color.
The ability to set the page size and margins.
The ability to convert images in the webpage to images embedded in the PDF. The script tries to convert relative image paths in to absolute ones as well.
The ability to use the CSS in the HTML file in the creation of the PDF. This includes remote CSS files as well.
The ability to convert remote files.
The ability to convert links into embedded clickable links in the PDF file
The ability to scale the HTML page.
Easy setting of any of these options through the methods of the class.
Tries to fix quirks in html pages which break html2ps.
PEAR error handling.
Works on both Unix/Linux and Windows.

What's New in This Release:
· Raw HTML can be passed straight into the class, making it easier to convert dynamic pages.
· PEAR is no longer required.
· CSS via "link" tags now works.
· Handling of "input" tags was improved.
· Better instructions were written for Windows installs.

HTML_ToPDF 3.5 search tags