Forum OpenACS Q&A: creating PDFs from OpenACS
I'm using htmldoc to produce simple documents and trml2pdf (Python based) for quality printing.
I don't know if they run on Windows.
I recently tested the OpenOffice filters (with Java and JODConverter). They provide conversion from any odt, doc, txt, rtf and html to pdf, odt, doc, txt, rtf and html.
Unfortunately the rendering of the documents converted from html is awful, while the other conversions are quite good.
many thanks for the pointers. The OpenOffice filters sounds like the way to go, and I believe with the correct templates it should be possible to clean up the converted HTML.
I wonder is there much of an overhead in having the OpenOffice installation sitting on the server?
Nevertheless it seems to be the most accurate I've seen when it comes to translating the layout in an HTML page with CSS into a high quality pdf document.
After using htmldoc for some time to convert html to pdf, we have recently discovered wkhtmltopdf (http://code.google.com/p/wkhtmltopdf/), which provides css support.