FPDF TCPDF AJAX HTML Javascript jQuery PHP Example MORE

TCPDF Tutorial


TCPDF is a PHP library which is used to generate PDF . FPDF is an open source library. You can use it for any kind of usage and modify it to suit your needs. It started in 2002.

TCPDF is now one of the world's most active Open Source projects, used daily by millions of users and included in thousands of CMS and Web applications.

Features:

  1. No external libraries required
  2. Methods to publish some XHTML + CSS code, Javascript and Forms
  3. images, graphic (geometric figures) and transformation method
  4. supports JPEG, PNG and SVG images natively
  5. Transactions to UNDO commands;
  6. PDF annotations, including links, text and file attachments;
  7. Text rendering modes (fill, stroke and clipping);
  8. Multiple columns mode
  9. Bookmarks and table of content
  10. Text stretching and spacing (tracking/kerning);
  11. Automatic page break, line break and text alignments including justification
  12. Automatic page numbering and page groups;
  13. Move and delete pages

Advantages:

Easy to understand
Can use HTML, CSS code for table, column etc.

Prerequisite:

  1. PHP
  2. HTML
  3. CSS

Download:

Download the PDF library from here.