TCPDF is an open source PHP class, a library that can be integrated into other applications and made to generate PDF documents on-the-fly, without relying on external software projects. It also provides developers with a PHP class to extract data from existing PDF documents, as well as various PHP classes to generate 1D and 2D barcodes in different formats.
Features at a glance
Key features include support for all ISO page formats, UTF-8 Unicode fonts support, TrueType Unicode fonts support, TrueType fonts support, Type1 fonts support, OpenType Unicode fonts support, OpenType v1 fonts support, CID-0 fonts support, custom page formats, margins and units of measure, methods for page header and footer management, automatic page break, page numbering, line break and text justification, JPEG and PNG images, colors, links, and page compression.
Additionally, the project includes a method to print various barcode formats and various methods that allows users to publish some XHTML code, supporting the h1, h2, h3, h4, h5, h6, b, u, i, a, img, p, br, strong, em, font, blockquote, li, ul, ol, hr, td, th, tr, table, sup, sub, and small elements. Support for Right-To-Left languages is also implemented.
Among other features, we can mention PDF/A-1b support, font subsetting, object and layers visibility, support for XOBject templates, the ability to delete or move pages from a PDF document, automatic page grouping and numbering, no-write page regions, multiple columns mode, automatic footer management and page header, PDF annotations, text rendering modes, as well as support for bookmarks and text hyphenation, spacing and stretching.
Supports a wide range of image file formats