/tcpdf.php

Description

This is a PHP5 class for generating PDF files on-the-fly without requiring external extensions.

TCPDF project (http://tcpdf.sourceforge.net) has been originally derived from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org).
<h3>TCPDF main features are:</h3>

  • supports all ISO page formats;
  • supports UTF-8 Unicode and Right-To-Left languages;
  • supports document encryption;
  • includes methods to publish some xhtml code, supporting the following elements: 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, small;
  • includes a method to print various barcode formats using an improved version of "Generic Barcode Render Class" by Karim Mribti (<a href="http://www.mribti.com/barcode/" target="_blank" title="Generic Barcode Render Class by Karim Mribti">http://www.mribti.com/barcode/</a>) (require GD library: <a href="http://www.boutell.com/gd/" target="_blank" title="GD library">http://www.boutell.com/gd/</a>)
  • 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 (require zlib extension: <a href="http://www.gzip.org/zlib/" target="_blank" title="zlib">http://www.gzip.org/zlib/</a>);
  • the source code is full documented in PhpDocumentor Style (<a href="http://www.phpdoc.org" target="_blank" title="phpDocumentor">http://www.phpdoc.org</a>).
Tools to encode your unicode fonts are on fonts/ttf2ufm directory.</p>

  • author: Nicola Asuni
  • version: 2.2.000
  • copyright: 2004-2008 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
  • link: http://tcpdf.sourceforge.net
  • abstract: Class for generating PDF files on-the-fly without requiring external extensions.
  • name: TCPDF
  • license: LGPL
Classes
Class Description
TCPDF This is a PHP5 class for generating PDF files on-the-fly without requiring external extensions.
Includes
require_once (dirname(__FILE__).'/config/tcpdf_config.php') (line 92)

include configuration file

Constants
PDF_PRODUCER = 'TCPDF 2.2.000 (http://tcpdf.sf.net)' (line 98)

define default PDF document producer

Documentation generated on Tue, 12 Feb 2008 12:36:39 +0100 by phpDocumentor 1.4.0