Italian Espanol Deutsch English Francais
For any questions, please use ONLY this forum.
I will only answer to your questions on it, so that everyone can enjoy the answers.
HTML2PDF is a HTML to PDF converter written in PHP.
It allows the conversion of valid HTML 4.01 in PDF format, and is distributed under LGPL.
This library has been designed to handle mainly TABLE intertwined to generate invoices delivery,
and other official documents. It does not yet have all the tags.
VERSION 4.03
2011-05-27
download
soutenir

Make a donation to help
develop the next release
donate

Examples

  • Example 0 : PDF
  • Example 1 : PDF
  • Example 2 : PDF
  • Example 3 : PDF
  • Example 4 : PDF
  • Example 5 : PDF
  • Example 6 : PDF
  • Example 7 : PDF
  • Example 8 : PDF
  • Example 9 : Page
  • Example 10 : PDF
  • Example 11 : PDF
  • Example 12 : PDF
  • Example 13 : PDF
  • Example About : PDF
  • Example Bookmark : PDF
  • Example Groups : PDF
  • Example QR-code : PDF
  • Example Radius : PDF
  • Example Regle : PDF
  • Example Ticket : PDF
  • Example JS 1 : PDF
  • Example JS 2 : PDF
  • Example JS 3 : PDF
  • Example SVG : PDF
  • Example SVG_tree : PDF
  • Example SVG_tiger : PDF
  • Example UTF8 : PDF

<?php
    $content 
"
<page>
    <h1>Exemple d'utilisation</h1>
    <br>
    Ceci est un <b>exemple d'utilisation</b>
    de <a href='http://html2pdf.fr/'>HTML2PDF</a>.<br>
</page>"
;

    require_once(
dirname(__FILE__).'/html2pdf/html2pdf.class.php');
    
$html2pdf = new HTML2PDF('P','A4','fr');
    
$html2pdf->WriteHTML($content);
    
$html2pdf->Output('exemple.pdf');
?>

Why donate to HTML2PDF?

This library is fully developed in my free time. By donating i can spend time on this project and not on others.

In addition, I offer to businesses a free solution to easily generate PDFs in Web applications, which saves them hundreds of dollars in development costs ...

Latest donations

  • 2014-05-16 - Michel G.
  • 2014-01-24 - SARL AUSTRALDEV
  • 2014-01-03 - Alan Henrique S.
  • 2013-12-01 - Fernando M.
  • 2013-11-29 - Vincent Q.

Best donation

  • 200€ - S2L

which user are you?

You use HTML2PDF with:
   PHP 4
   PHP 5

You use HTML2PDF for:
   personal use
   work

> results <