Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I see one solution so far:


Are there any more out there which are suggested?

share|improve this question
HTMLDOC is the standard – any reason for not wanting to use it? –  slhck Sep 21 '11 at 19:30
I just didn't know it was "The" standard - so I asked. But from your answer, I understand that I should not bother with alternatives :) –  Tal Galili Sep 21 '11 at 20:27
I've searched for similar things but – at least on *nix systems, I've always got back to HTMLDOC :) –  slhck Sep 21 '11 at 20:32
@slhck Two reasons - lack of support for unicode and css in the stable 1.8.27 release. However, they are apparently supported in v1.9b1 (the notes mention "basic support"). –  Johnny Baloney Oct 30 '13 at 16:28

2 Answers 2

One alternative to HTMLDOC is Prince.

PROs: Prince can handle most of CSS (which HTMLDOC can't) and use almost all fonts (where HTMLDOC PDFs contain only Helvetica, Times and Courier) and translate HTML/XML input into really well looking pages.

CONs: Unlike HTMLDOC, Prince isn't OpenSource software (though free as in beer for private use, putting a rather unobtrusive logo on PDF pages created with it).

PrinceXML is made by a small Australian company and seems to be also driving Google Docs' PDF output.

HTMLDOC is 'good enough' for most people's needs (and also provides quite a few features which Prince doesn't).

share|improve this answer

by using http://wkhtmltopdf.org/ you can do it like this:

$> wkhtmltopdf http://superuser.com su.pdf
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.