Jump to content

TCPDF

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Quilokos (talk | contribs) at 01:04, 31 May 2011. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

TCPDF
Original author(s)Nicola Asuni
Initial release6 January 2005 (2005-01-06)
Stable release
5.9.084 / 29 May 2011; 13 years ago (2011-05-29)
Repository
Written inPHP
Operating systemCross-platform
TypeSoftware Library
LicenseLGPL
Websitewww.tcpdf.org

TCPDF is a free and open source software PHP class for generating PDF documents. TCPDF is currently the only PHP-based library that includes complete support for UTF-8 Unicode and right-to-left languages, including the bidirectional algorithm.[1]

TCPDF is one of the most active of over 200,000 projects hosted on the SourceForge repository[2] (best ranked 6th on 3 April 2010).

TCPDF is also one of the most used PHP libraries in the world, due to it being already included in the most popular PHP-based CMS and applications, including: Joomla,[3] Drupal,[4] Moodle,[5] phpMyAdmin,[6] TCExam,[7] Xoops,[8] Elxis CMS,[9] ImpressCMS,[10] JELIX Frameweork PHP5,[11] SugarCRM,[12] Symfony,[13] TYPO3,[14] Vtiger CRM,[15] Yii Framework,[16] CMS Made Simple[17] and many others.

The TCPDF class was originally derived in 2002 from the public domain FPDF class by Olivier Plathey but now has been almost entirely rewritten and hundreds of new features added.[18]

Features

  • no external libraries are required for the basic functions;
  • all ISO 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;
  • methods to publish some XHTML code, JavaScript and Forms;
  • images, graphic (geometric figures) and transformation methods;
  • native support for JPEG, PNG and SVG images;
  • 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 Extension, 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, QR-Code;
  • Grayscale, RGB, CMYK, Spot Colors and Transparencies;
  • automatic page header and footer management;
  • document encryption and digital signature certifications;
  • transactions to UNDO commands;
  • PDF annotations, including hyperlinks, text and file attachments;
  • text rendering modes (fill, stroke and clipping);
  • multiple columns mode;
  • bookmarks and table of content;
  • text hyphenation;
  • automatic page break, line break and text alignments including justification;
  • automatic page numbering and page groups;
  • move and delete pages;
  • page compression.

References

External links