Batch convert all html files in a directory into pdf files in windows?
15,856
by using http://wkhtmltopdf.org/ you can do it like this:
$> wkhtmltopdf http://superuser.com su.pdf
Author by
Tal Galili
Statistics, blogging, and the hope for a happy long life.
Updated on September 18, 2022Comments
-
Tal Galili over 1 year
I see one solution so far:
Are there any more out there which are suggested?
-
slhck over 12 yearsHTMLDOC is the standard – any reason for not wanting to use it?
-
Tal Galili over 12 yearsI just didn't know it was "The" standard - so I asked. But from your answer, I understand that I should not bother with alternatives :)
-
slhck over 12 yearsI've searched for similar things but – at least on *nix systems, I've always got back to HTMLDOC :)
-
Johnny Baloney over 10 years@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").
-