[cups.general] iso-8859-1 char not printing

Helge Blischke h.blischke at srz.de
Sat Feb 28 07:26:47 PST 2009


Willi Burmeister wrote:
> Hi,
> 
> we have cups-1.3.9 installed on our Solaris 10 SPARC system and most
> things are working.
> 
> However ...
> 
> Lots of our files contains german ISO umlauts (äöüßÄÖÜ) and these are
> not printed.
> 
> I configured cupsd.conf to use ISO-9959 but without luck:
> 
> DefaultLanguage en
> DefaultCharset  iso-8859-15
> 
> While tracing the problem I found:
> 
> ----------------------------------------------------------------------
> 27556:  execve("/opt/cups-1.3.9/lib/cups/filter/texttops", 0x000F0A90, 0xFFBF3C8C)  argc = 7
> ...
> 27556:   envp: CUPS_CACHEDIR=/var/opt/cups/cache
> ...
> 27556:    CHARSET=utf-8 LANG=en_US.UTF8
> ----------------------------------------------------------------------
> 
> Why are UTF used here?
> 
> While searching more I also found clients sends 'attributes-charset=utf-8',
> but my clients are using iso-8859-15. Digging in the source I found this
> in ipp.c:
> 
> ----------------------------------------------------------------------
>  /*
>   * Use UTF-8 as the character set...
>   */
> 
>   ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_CHARSET,
>                "attributes-charset", NULL, "utf-8");
> ----------------------------------------------------------------------
> 
> UTF-8 hardcoded in the source? Why?
> 
> 
> Is cups not able to print ISO chars?
> 
> Any help is appreciated
> 
> Thanks
> 
> Willi
> 
> 

You may use the "texttops wrapper" (see the links at the CUPS web site) which is a
wrapper around the original texttops filter and uses Perl's Encode::Guess package.
THis will definitely solve your problem.

Helge

-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list