[cups.bugs] [LOW] STR #3195: filter error / Polish characters

Helge Blischke h.blischke at acm.org
Thu May 14 01:49:39 PDT 2009


J Raleigh wrote:

> DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK
> BELOW.
> 
> [STR New]
> 
> The attached file chokes with a filter error.
> If you remove the Polish character in the second word on the top line, it
> will print without a problem.
> 
> In error_log, we see:
> (/usr/lib/cups/filter/texttopaps) stopped with status 1!
> (/usr/lib/cups/filter/pstops) stopped with status 1!
> (/usr/lib/cups/filter/foomatic-rip) exited with no errors.
> Job stopped due to filter errors.
> 
> This only fails on RHEL5 (with CUPS 1.3.7), but works on RHEL4 (with CUPS
> 1.1.22).
> 
> The failure occurs whether LANG and LC_CTYPE are set to en_US.UTF8 or
> pl_PL.UTF8.
> 
> Link: http://www.cups.org/str.php?L3195
> Version: 1.3.7

You could try the texttops wrapper (see the links on the CUPS web site). It 
will convert your text input to UTF-8 and run the original (edit the 
respective line in the script to select the filter of your choice) text to 
ps filter with the UTF-8-encoded text.

Helge






More information about the cups mailing list