Is there a good HTML/PHP > PDF conversion code?

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
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Is there a good HTML/PHP > PDF conversion code?

Post by simonmlewis »

I need to have a button where it creates a "Save as PDF" or Open as PDF, for a given page.

I guess we need to product the layout, and state what is shown on the PDF document. I've read about various softwares that can be loaded on the Server, but I wonder if there is code that we can use to adjust it ourselves, like you do when you export to CSV?

Thanks.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
pbs
Forum Contributor
Posts: 230
Joined: Fri Nov 07, 2008 5:31 am
Location: Nashik, India
Contact:

Re: Is there a good HTML/PHP > PDF conversion code?

Post by pbs »

Try TCPDF

You can directly convert from HTML to PDF
Post Reply