Jump to content

HTML page to PDF with php


c_shelswell

Recommended Posts

Hi,

 

Does anyone know of a decent script to convert HTML to PDF on the fly. I'd be great if it would work on a windows and linux box for the sake of testing. I've tried FPDF but it doesn't really get on well with css also dompdf but can't seem to get it to work at all. Perhaps i'm doing something wrong.

 

If anyone has any suggestions that'd be great. I basically just need to create a tabular invoice for a user to download.

 

Many thanks

Link to comment
Share on other sites

I basically just need to create a tabular invoice for a user to download.

 

I just created a FPDF script to print the invoice the way I like it (or the way the client wants it to be actually). I'm pretty sure this'll give better results than translating HTML layout to PDF

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.