hey i need to convert html to post script using c++ on linux(note:no scripting languages)
A:
I hope you only have a specific subset of HTML you have to deal with. Trying to convert any old HTML you might find anywhere on the web to postscript is a task roughly equivalent to developing your own web browser.
If I were you I'd try to cheat a little by feeding the HTML to an existing web brower and using its automation features to print that page.
T.E.D.
2010-10-26 19:08:48
A:
wkhtmltopdf is the right answer.
It's basically a QT-cmdline program which makes a PDF. Since QT has webkit integrated you'll get top accurate representation of your HTML.
The newest version can be linked as a library (libwkhtmtox). The way from PDF to PS is possible via ghostscript or directly in QT
boecko
2010-10-26 19:20:50