HTML to PDF from PHP Made Easy! May 4, 2009PHPdompdf, FPDF, HTML to PDFGangarasa Finally, found two new Libraries that makes a PHP programmer’s life easy. Tested both and they seem to work pretty fine for simple requirements like PDF receipt generation or news letter download or e-Ticket/e-Cert generation. FPDF (PHP4 and PHP5) dompdf (PHP5 Only) Happy PDFing!!