Page 1 of 1

html -> pdf

Posted: Tue Jun 06, 2006 11:36 am
by thefool
Hi!

I need some kind of command line tool that can convert a html to pdf. The reason is that i have a PB app that parses some data and throws out a HTML file. I need both the pdf and html file, so a command line tool would be the easiest way.

Anything you know of?

Posted: Tue Jun 06, 2006 11:52 am
by lexvictory
the only way i know is using a pdf printer like 'CutePDF' it can print from any program

Posted: Tue Jun 06, 2006 12:22 pm
by thefool
I know of such; but it needs to be 100% automatic. So if there was an command line util; i would be happy :/

Posted: Wed Jun 07, 2006 8:26 am
by LuckyLuke
At http://www.fpdf.org you'll find some extension scripts to write html to pdf.
Maybe you can use the PurePDF lib and implement one of the html extension scripts ?

Posted: Wed Jun 07, 2006 10:51 am
by thefool
I will have a look thanks! I just needed this to be ready before next month. But going to take a look