html to pdf

For everything that's not in any way related to PureBasic. General chat etc...
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

html to pdf

Post by thefool »

Help :!:

This is not really a programming question because i need a command line tool.

Now; does anyone know of a (preferably) free way to automatically [preferably command line] convert a html file to pdf?
WishMaster
Enthusiast
Enthusiast
Posts: 277
Joined: Fri Jun 17, 2005 7:13 pm
Location: Franconia
Contact:

Post by WishMaster »

Maybe you could try this.
Image Image
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

wouldnt that require a web server?
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

http://www.rustyparts.com/pdf.php wrote:HTML_ToPDF is a PHP class that makes it easy to convert HTML documents to PDF files on the fly.
As stated on the site it's a PHP class and I don't know of any other way to execute PHP code as with a local or remote webserver.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Post by MrMat »

I've never tried it but there is htmldoc and a precompiled binary for Windows can be found here.
Mat
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

My current solution: automation. I use AutoIt to do some moves in openoffice; it works ok but isnt the "optimal" way.

@mrMattY: htmldoc looks interesting!
Post Reply