SDB:Printing Non-Latin1 Encoded HTML Texts from Mozilla and Netscape

Şuraya atla: kullan, ara


Version: 9.0

Symptom

HTML texts with an encoding other than ISO-8859-1 (Latin1) cannot be printed with CUPS from Mozilla or Netscape.

Cause

The printer output of Mozilla and Netscape has the MIME type application/netscape-ps (see /etc/cups/mime.types and /etc/cups/mime.convs) and is first processed by the filter /usr/lib/cups/filter/ogonki (see the output of "grep 'Started filter' /var/log/cups/error_log"). If the encoding is ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-9, ISO-8859-10, or ISO-8859-15, the filter launches the program /usr/bin/ogonkify. /usr/bin/ogonkify is included in the package a2ps, which is not installed by default with the CUPS printing system.

Solution

Install the package a2ps.

Additional Information

In case the print queue is "disabled" or "stopped" (see the output of "lpstat -p" or http://localhost:631/printers), it can be activated again with "/usr/bin/enable <queue_name>". <keyword>printer,print,mozilla,netscape,coding,iso8859,encoding</keyword>