Helpful Information
 
 
Category: Scripts
Html to Pdf converter

Is there any free utility for linux to convert html pages into pdf.

Moved to Scripts forum from PHP

I believe html2pdf is the utility you need to google for. However, you will need to install ghostscript afaicr

christo

php based pdf convertor.
http://www.ros.co.nz/pdf

I've gotten great results out of a free (GPL) app called HTMLDoc, available at:

http://www.easysw.com/htmldoc/

It has both a GUI version, as well as command-line access, which we use to make a "Save as PDF" link on each page of our site. Check it out if you want an example of what HTMLDoc can do:

http://www.simian.ca/

Cheers,

Lux

I've gotten great results out of a free (GPL) app called HTMLDoc, available at:

http://www.easysw.com/htmldoc/

It has both a GUI version, as well as command-line access, which we use to make a "Save as PDF" link on each page of our site. Check it out if you want an example of what HTMLDoc can do:

http://www.simian.ca/

Cheers,

Lux

Hello. I've tried the site above, www.easysw.com, but I can't open the site.

I am creating a site that displays a dynamic table of books (name, prices, quantity) a user placed in his shopping cart. Now I want to create a link that let's users download the PDF version of his shopping cart. What I have now is just a list of books, like so:

Item No. : 1
Item Name: The Name of the Book
Item Price: $23
....
so and so, until the final item.

But I want the items to be displayed in a table format. I have no idea how to create tables in PDF, but in HTML it's easy, so that's why I need a PHP script that can parse HTML and transform it to PDF. I also want the script to parse an HTML string, not a file, and also do a "force download" on the PDF when the link is clicked (The one I have now is a "forced download", no PDF file is created on the server).

So, is there anyone out there who has downloaded the file HTMLdoc? Or can someone point me to a site where I can download the tar.gz version of htmldoc? Please? I still would have to edit HTMLdoc so that it wouldn't look for a file but instead use HTML strings.

Thanks!!!

JP

Hi JP,

It looks like the site is up and running again. It was probably just a temporary outage.

Cheers,

Lux

Hi JP,

It looks like the site is up and running again. It was probably just a temporary outage.

Cheers,

Lux

Holy s***! It does work! Grrr.... I think the Fates are playing with me again. Thanks for pointing that out!
:D










privacy (GDPR)