html -> pdf

Everything else that doesn't fall into one of the other PB categories.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

html -> pdf

Post 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?
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

the only way i know is using a pdf printer like 'CutePDF' it can print from any program
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post 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 :/
LuckyLuke
Enthusiast
Enthusiast
Posts: 181
Joined: Fri Jun 06, 2003 2:41 pm
Location: Belgium

Post 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 ?
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

I will have a look thanks! I just needed this to be ready before next month. But going to take a look
Post Reply