Page 1 of 1

HTML to PDF using PHP?

Posted: Tue Mar 17, 2009 3:30 am
by jhack
Hi, is there a php class to get the out put in pdf format without reimplementing the process of a query?. In php classes like FPDF or TCPDF we have to call again sql queries in our pdf conversion pages in addition to the clients output. What i want to do is i need to convert the same client side html out put as a pdf. If you know something about this please be kind enough to reply. thanx.

Re: HTML to PDF using PHP?

Posted: Thu Mar 19, 2009 12:52 am
by jaoudestudios
I remember a while back there being a class/library to convert html to pdf, but sorry I dont remember what it is called. But there definitely is one! Zend has a pdf library but not sure how it works and if it goes from html to pdf.

Actually come to think of it the html to pdf class i was thinking of, I think it was called html2pdf. :?