html2pdf

A HTML document to PDF format.
Download

html2pdf Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Laurent Minguet
  • Publisher web site:

html2pdf Tags


html2pdf Description

A HTML document to PDF format. html2pdf is a PHP class that makes it easy to convert HTML documents to PDF files on the fly. It 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 "html2pdf": · 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. Requirements: · PHP · html2ps · ps2pdf · curl · PEAR · Valid HTML · PDFEncryptor What's New in This Release: · bug fixes in the management of CGI's images · add support of alpha canal on PNG (it needs GD2) · add setDefaultFont method to specify a default font · add the "format" property for the < page > tag (see example 4) · improved support of css color RGB (see example 2) · add support of css color CMYK (see example 2) · add support of css prooperty "overflow:hidden" for the tag (see example 2) · correction on < page_header > and < page_footer > · add the possibility to directly convert a real HTML page · many small corrections on the styles


html2pdf Related Software