Jump to content

HTML to PDF conversion


Nitroware

Recommended Posts

Hey all, I have seem to have run into a problem with this concept.  What I am trying to do is convert my invoices to PDF's.  The PHP script makes an HTML version of it, and then when I confirm it is ready, I want it to convert it to PDF.  I have tried the PDFlib PECL thing, however im not quite sure how to install it (I cannot find a makefile, rpm, or repo [fedora]) to do this.  I tried another one, however it requires "DOM".  When I looked at that it said in my phpinfo() that there was a "--disable-dom".  The only way ive seen to fix this is with a PHP reinstallation, and I don't want to ga THAT far.  If anybody know a good PDF php script that doesn't use either of these, or knows how to fix either, and help would be VERRY useful.

 

Thanks for any replies!

Link to comment
https://forums.phpfreaks.com/topic/139280-html-to-pdf-conversion/
Share on other sites

ok, but how hard is it to create what I would otherwise create with HTML.  My invoice is not terribly complex, but it isn't easy either.  There is another project based of FPDF that does html conversion, but there is no documentation whatsoever so I don't know how to use it.

Archived

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

×
×
  • 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.