Dotan Cohen wrote:
I need to convert an HTML document to PDF from the CLI. Currently, I
am using a Firefox extension to do this:
http://torisugari.googlepages.com/commandlineprint2
However, this has many drawbacks and I would like to remove the
dependency on Firefox. These are other solutions that I have looked
into, and their problems:
1) CUPS
Prints the HTML, not the formatted output. It treats the whole document as text.
2) html2ps
Does not work with UTF-8 text! My native language cannot be
represented in Latin or Japanese characters.
3) Open Office
Requires either a macro or a wrapper script, both which are
problematic and change each new OOo version (which I update often).
4) convert (from imagemagick)
Does not support UTF-8!
5) gnome-web-print
Slight formating problems with HTML tables. However, it is my
runner-up so far as it is the only other solution that works at all.
Any other ideas? Is there a konqueror- or KDE way to do this? Am I
missing something obvious? Thanks!
I don't know if can handle UTF-8, but I see nobody mention htmldoc,
which is in debian etch, I suppose must be in lenny, so another option
to try.
HTH
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org