TCPDF is a free and open source softwarePHP class for generating PDF documents. TCPDF is the only PHP-based library that includes complete support for UTF-8Unicode and right-to-left languages, including the bidirectional algorithm.
In 2009, TCPDF was one of the most active of over 200,000 projects hosted on SourceForge (best ranked 6th on 3 April 2010).
Html2Pdf PHP script by Laurent Minguet is based on TCPDF v5.0.002. This library allows generating PDF documents specified via a subset of html without learning underlying TCPDF api.
The TCPDF class was originally derived in 2002 from the public domain FPDF class written by Olivier Plathey but now has been almost entirely rewritten and hundreds of new features added.
Features
no external libraries are required for the basic functions;
all standard page formats, custom page formats, custom margins and units of measure;