CUPS-1.4.5 in Solaris 10 AND ISO-8859-1

Matthias Apitz guru at unixarea.de
Wed Jun 8 00:44:39 PDT 2011


Anh Minh -Le Van wrote:

> Hi,
> Can any one tell me how to printing document witch ISO-8859-1 in
> CUPS-1.4.5 ?
> 
> Case : print a document.txt (french characters), can print it out but the
> French accents replace by square
> 
> Thanks anyone's help in advance

Hello,

With CUPS 1.4.5 you must provide UTF-8 text files, only these are unterstood
by the filte texttops; just convert your file like this:

$ iconv -f iso-8859-1 -t utf-8 < file | lpr -P...

Even with this, you might need better fonts with glyphs for your languages.

HIH

    matthias




More information about the cups mailing list