[cups.general] unsupported charset

Christoph Litauer litauer at uni-koblenz.de
Thu Apr 3 04:58:43 PDT 2008


Klaus Singvogel schrieb:
> Christoph Litauer wrote:
>> I am running cups-1.3.5 with SuSE SLES 10 (sp1) on the server. Most of 
>> my clients are still using cups-1.1.x
>>
>> Printing to the (new) cups server leads to
>>
>> # lpr -Ppresse /etc/group
>> lpr: Unsupported character set "iso-8859-15"!
> 
> This is a known feature. I think the limitation to UTF-8 was introduced
> wich cups-1.3.x.
> 
>> I tried to follow Helge's tip to change /usr/share/locale/C/cups_C but 
>> this file doesn't exist on my client and my LANG is set to POSIX.
>> Btw: Changing all client configurations is not an option ...
> 
> You might have set a locale ("locale") on the client to non UTF-8
> and this is the cause of the problem.
> 
>> Any way to get the server to accept requests other than utf-8?
> 
> No.
> Exception: you want to introduce this into the source code at your own.
> 
> Work-around: try to convert your (text)files to UTF-8 (e.g. with
> "iconv") and send them as UTF-8 encoded to your server. Note that your
> locale variables should be set to the correct values too.

Thanks for your quick reply Klaus.

I read somwhere that 1.3.5 introduced an automatic charset conversion so 
you are still able to print with other charsets. In fact, I was not 
really honest: In the original posting I overlooked shell variable 
LC_CTYPE, which was set to de_DE at euro (iso-8859-15). I unsetted this 
variable, now just LANG was set to POSIX. The systems locale is set to 
de_DE at euro, too (/etc/sysconfig/language).
Since unsetting LC_CTYPE I at once was able to print. Seems as if 
printing is possible, even if you don't have utf-8 as default character set?

-- 
Regards
Christoph
________________________________________________________________________
Christoph Litauer                  litauer at uni-koblenz.de
Uni Koblenz, Computing Center,     http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz     Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2




More information about the cups mailing list