HTML to PDF using PHP?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jhack
Forum Newbie
Posts: 10
Joined: Wed Mar 11, 2009 9:46 pm

HTML to PDF using PHP?

Post 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.
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: HTML to PDF using PHP?

Post 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. :?
Post Reply