[cups.general] lexmark 1000 - no output on ubuntu
Helge Blischke
h.blischke at srz.de
Mon May 14 04:47:58 PDT 2007
Klaus wrote:
> Hello Klaus,
>
> thanks for the information. The problem is that I have ubuntu feisty on
> my client and everything is up to date. Perhaps I should have a look on
> the locals, because I see a lot of messages of CUPS which tell me that
> something not is correct. I never thought that this could be the reason
> for my print problem. Here some output:
> D [14/May/2007:11:13:16 +0200] [Job 54] backendRunLoop(print_fd=0,
> device_fd=4, use_bc=0)
> D [14/May/2007:11:13:16 +0200] [Job 54] perl: warning: Setting locale
> failed.
> D [14/May/2007:11:13:16 +0200] [Job 54] perl: warning: Please check that
> your locale settings:
> D [14/May/2007:11:13:16 +0200] [Job 54] LANGUAGE = (unset),
> D [14/May/2007:11:13:16 +0200] [Job 54] LC_ALL = (unset),
> D [14/May/2007:11:13:16 +0200] [Job 54] LANG = "es_ES"
> D [14/May/2007:11:13:16 +0200] [Job 54] are supported and installed on
> your system.
> D [14/May/2007:11:13:16 +0200] [Job 54] perl: warning: Falling back to
> the standard locale ("C").
>
> I'm unshure how to do that to permanently set the systems settings
> because I have a per user Konfiguration which is or german or spain
> language. Set by gnome from every user.
>
> Could you give me a hint? Thanks in advance.
>
> Klaus
>
> Klaus Singvogel schrieb:
>
>> Klaus wrote:
>> [...]
>>
>>> D [11/May/2007:18:21:11 +0200] [Job 34] envp[18]="LANG=de_DE"
>>
>>
>> Sorry for the late interrupt. But thats the problem.
>>
>> Then any filter on the CUPS server is using periods "," instead of
>> dots "." for separating float numbers: 10,4 instead of 10.4. This
>> causes problem when any such number is read in the PostScript
>> interpreter, eg. on the printer. A more or less helpful feature of
>> localization in the glibc.
>>
>> If you're running SUSE Linux 10.2 on your client, I recommend to
>> install latest update files of cups. The appropriate patch has been
>> removed for quiet some time (several months). Simply use the "Online
>> Update" in the adminstration interface YaST: in "Software" click on
>> "Online Update" (usually first entry).
>>
>> Regards,
>> Klaus.
If the locale is the problem (sorry, I should have thought of this
when looking through the log statements), you could edit
the /etc/init.d/cups (or wherever this startup file resides on ubuntu)
and force
LANG=C; export LANG
there before spawning cupsd. Then all of the CUPS processes
will run under "C" as the standard locale, independent of the
current user's localization.
Helge
--
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
H.Blischke at acm.org
More information about the cups
mailing list