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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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