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

Procedural File: TCPDF

Source Location: /tcpdf_php4/tcpdf.php


This is a PHP class for generating PDF files on-the-fly 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 (
<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 HTML code;
  • includes graphic and transformation methods;
  • includes bookmarks;
  • includes Javascript and forms support;
  • includes a method to print various barcode formats (requires GD library);
  • supports TrueTypeUnicode, TrueType, Type1 and encoding;
  • 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;
  • supports automatic line break and text justification;
  • supports JPEG, PNG anf GIF images;
  • supports colors;
  • supports links;
  • support page compression (requires zlib extension).
Tools to encode your unicode fonts are on fonts/ttf2ufm directory.</p>


author:  Nicola Asuni
version:  3.0.010_PHP4
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.
name:  TCPDF
license:  LGPL


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

PDF_PRODUCER [line 126]

define default PDF document producer

[ Top ]

Documentation generated on Wed, 21 May 2008 11:59:06 +0200 by phpDocumentor 1.4.0