tmyonline Posted October 9, 2008 Share Posted October 9, 2008 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. Quote Link to comment Share on other sites More sharing options...
RedMist Posted October 9, 2008 Share Posted October 9, 2008 Check out http://www.fpdf.org/ I used it recently and it's reasonably easy. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.