[ class tree: com-tecnick-tcpdf ] [ index: com-tecnick-tcpdf ] [ all elements ]

Procedural File: tcpdf.php

Source Location: /tcpdf.php


This is a PHP class for generating PDF documents without requiring external extensions.

Page Details:

This is a PHP class for generating PDF documents without requiring external extensions.

TCPDF project ( was originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (, but now is almost entirely rewritten.
<h3>TCPDF main features are:</h3>

  • no external libraries are required for the basic functions;
  • supports all ISO page formats;
  • supports UTF-8 Unicode and Right-To-Left languages;
  • supports document encryption;
  • includes methods to publish some XHTML code;
  • includes graphic (geometric) and transformation methods;
  • includes bookmarks;
  • includes Javascript and forms support;
  • includes a method to print various barcode formats;
  • supports TrueTypeUnicode, TrueType, Type1 and CID-0 fonts;
  • supports custom page formats, margins and units of measure;
  • includes methods for page header and footer management;
  • supports automatic page break;
  • supports automatic page numbering and page groups;
  • supports automatic line break and text justification;
  • supports JPEG and PNG images whitout GD library and all images supported by GD: GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM;
  • supports stroke and clipping mode for text;
  • supports clipping masks;
  • supports Grayscale, RGB and CMYK colors and transparency;
  • supports links and annotations;
  • supports page compression (requires zlib extension);
  • supports PDF user's rights.
Tools to encode your unicode fonts are on fonts/utils directory.</p>


author:  Nicola Asuni
version:  4.0.028
copyright:  2004-2008 Nicola Asuni - S.r.l ( Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - -
abstract:  Class for generating PDF files on-the-fly without requiring external extensions.
license:  LGPL


require_once(dirname(__FILE__).'/config/tcpdf_config.php') [line 129]
main configuration file

require_once(dirname(__FILE__).'/unicode_data.php') [line 136]
unicode data

require_once(dirname(__FILE__).'/htmlcolors.php') [line 141]
html colors table

require_once(dirname(__FILE__)."/barcodes.php") [line 146]
barcode class

PDF_PRODUCER [line 153]

PDF_PRODUCER = 'TCPDF 4.0.028 ('
define default PDF document producer

[ Top ]

Documentation generated on Fri, 26 Sep 2008 11:52:03 +0200 by phpDocumentor 1.4.0