TCPDF is a PHP library for generating PDF documents on-the-fly.
TCPDF supports TrueTypeUnicode (UTF-8 Unicode), OpenTypeUnicode, TrueType, OpenType, Type1, CID-0 and Core (standard) fonts.
TCPDF is free and open source software.
Key Features
- No external libraries are required for the basic functions.
- All standard page formats, custom page formats, custom margins and units of measure.
- UTF-8 Unicode and Right-To-Left languages.
- TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts.
- Font subsetting.
- Methods to publish some XHTML + CSS code, Javascript and Forms.
- Images, graphic (geometric figures) and transformation methods.
- Supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick.
- 1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index – Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, Datamatrix ECC200, QR-Code, PDF417.
- ICC Color Profiles, Grayscale, RGB, CMYK, Spot Colors and Transparencies.
- Automatic page header and footer management.
- Document encryption up to 256 bit and digital signature certifications.
- Transactions to UNDO commands.
- PDF annotations, including links, text and file attachments.
- Text rendering modes (fill, stroke and clipping).
- Multiple columns mode.
- No-write page regions.
- Bookmarks and table of content.
- Text hyphenation.
- Text stretching and spacing (tracking/kerning).
- Automatic page break, line break and text alignments including justification.
- Automatic page numbering and page groups.
- Move and delete pages.
- Page compression (requires php-zlib extension).
- XOBject templates.
- PDF/A-1b (ISO 19005-1:2005) support.
Website: tcpdf.org
Support: Documentation, GitHub Code Repository – a new version of this library is under development at this GitHub Code Repository
Developer: Nicola Asuni – Tecnick.com Ltd
License: GNU Lesser General Public License v3.0
TCPDF is written in PHP. Learn PHP with our recommended free books and free tutorials.
Related Software
| PDF Development Libraries | |
|---|---|
| PDFBox | Create, render, print, split, merge, alter, verify and extract text and metadata |
| TCPDF | PHP class for generating PDF documents |
| PyMuPDF | Fast Python toolkit for document extraction and editing |
| Poppler | Library for rendering PDF files, and examining or modifying their structure |
| PDFKit | PDF document generation library for Node and the browser |
| jsPDF | JavaScript toolkit for creating documents in web applications |
| pdfcpu | PDF processing library |
| Apache FOP | Print formatter driven by XSL formatting objects |
| WeasyPrint | Rendering engine that turns HTML and CSS into print-ready documents |
| pypdf | Pure Python toolkit for reading, splitting and merging documents |
| QPDF | Library and programs that inspect and manipulate the structure of PDF files |
| PoDoFo | Parse PDF files and modify their contents into memory |
| OpenPDF | Library for creating and editing PDF files; fork of iText |
| xhtml2pdf | HTML to PDF converter using Python |
| Dompdf | PHP tool that converts HTML and CSS into formatted documents |
| libHaru | Library for generating PDFs |
| pikepdf | Python toolkit for inspecting and modifying document files |
| PdfPig | .NET toolkit for extracting text, words and document content |
| gopdf | Go toolkit for generating documents with text, images and graphics |
| CapyPDF | Fully color managed PDF generation library |
| pdf-lib | Create and modify PDF documents in a JavaScript environment |
| PDFio | PDF read/write library |
| fpdf2 | Python toolkit for creating richly formatted documents |
| PDFsharp | .NET library for processing PDF files |
| JasperReports | Reporting engine written in Java |
| CamlPDF | OCaml library for reading, writing and modifying PDF files |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.