Page 1 of 1

html to pdf

Posted: Fri Sep 29, 2006 4:04 pm
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?

Posted: Fri Sep 29, 2006 4:24 pm
by WishMaster
Maybe you could try this.

Posted: Fri Sep 29, 2006 4:30 pm
by thefool
wouldnt that require a web server?

Posted: Fri Sep 29, 2006 5:03 pm
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.

Posted: Fri Sep 29, 2006 5:22 pm
by MrMat
I've never tried it but there is htmldoc and a precompiled binary for Windows can be found here.

Posted: Fri Sep 29, 2006 10:38 pm
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!