Jump to content


This topic is now archived and is closed to further replies.


PHP function to print / generate PDF file

Recommended Posts

Hi guys:


I was asked to add the "print as PDF" functionality to our website.  The code that generates the website is PHP.  I have used the htmlDOC software package to convert the web pages from HTML to PDF.  It worked but there are limitations because htmlDOC does not support CSS.  As a result, some parts of the webpage(s) got printed and others did not.  I heard that PHP has a PDF library that supports this conversion.  Is there any particular PHP function that enables me to perform this conversion (from HTML to PDF) ?  Thanks.

Share this post

Link to post
Share on other sites

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.