[cups.general] lexmark 1000 - no output on ubuntu

Klaus nospam at gr7.com
Mon May 14 13:25:38 PDT 2007


Hello all,

I had now a look at my error log and it shows that things does not work 
as supposed. It seems as if my line: LANG=C; export LANG has not the 
desired effect?

/etc/init.d/cupsys:
#! /bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/cupsd
NAME=cupsd
PIDFILE=/var/run/cups/$NAME.pid
DESC="Common Unix Printing System"
unset TMPDIR
test -f $DAEMON || exit 0
# force LANG to C
LANG=C; export LANG <-----------------------Is that the right place?
set -e
if [ -r /etc/default/cupsys ]; then
   . /etc/default/cupsys
fi
.. /lib/lsb/init-functions
# Get the timezone set.
if [ -z "$TZ" -a -e /etc/timezone ]; then
     TZ=`cat /etc/timezone`
     export TZ
fi
......

Here some lines of cups error log:

D [14/May/2007:22:02:15 +0200] [CGI] perl: warning: Setting locale failed.
D [14/May/2007:22:02:15 +0200] [CGI] perl: warning: Please check that 
your locale settings:
D [14/May/2007:22:02:15 +0200] [CGI] LANGUAGE = (unset),
D [14/May/2007:22:02:15 +0200] [CGI] LC_ALL = (unset),
D [14/May/2007:22:02:15 +0200] [CGI] LANG = "en.UTF-8"
D [14/May/2007:22:02:15 +0200] [CGI] are supported and installed on your 
system.
D [14/May/2007:22:02:15 +0200] [CGI] perl: warning: Falling back to the 
standard locale ("C").
D [14/May/2007:22:02:15 +0200] [cups-deviced] Added device "beh"...
D [14/May/2007:22:02:15 +0200] [cups-deviced] Added device "http"...
D [14/May/2007:22:02:15 +0200] [cups-deviced] Added device "bluetooth"...
D [14/May/2007:22:02:15 +0200] [cups-deviced] Added device 
"epson:/dev/lp0"...
D [14/May/2007:22:02:15 +0200] [cups-deviced] Added device "smb"...
D [14/May/2007:22:02:15 +0200] [cups-deviced] Added device "ipp"...
D [14/May/2007:22:02:16 +0200] [cups-deviced] Added device 
"serial:/dev/ttyS0?baud=115200"...
D [14/May/2007:22:02:16 +0200] [cups-deviced] Added device 
"serial:/dev/ttyS1?baud=115200"...
D [14/May/2007:22:02:16 +0200] [CGI] error: Unable to set 
locale.
D [14/May/2007:22:02:16 +0200] [cups-deviced] Added device "hpfax"...
D [14/May/2007:22:02:16 +0200] [cups-deviced] Added device 
"parallel:/dev/lp0"...
D [14/May/2007:22:02:16 +0200] [cups-deviced] Added device "scsi"...
D [14/May/2007:22:02:16 +0200] [cups-deviced] Added device "socket"...
D [14/May/2007:22:02:16 +0200] [cups-deviced] Added device 
"canon:/dev/lp0"...
D [14/May/2007:22:02:16 +0200] PID 7008 
(/usr/lib/cups/daemon/cups-deviced) exited with no errors.
D [14/May/2007:22:02:16 +0200] [cups-deviced] Added device "hp"...
D [14/May/2007:22:02:16 +0200] [cups-deviced] Added device "lpd"...
D [14/May/2007:22:02:16 +0200] PID 7007 
(/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors.
D [14/May/2007:22:02:16 +0200] [CGI] 
/usr/share/cups/drivers/pscript5.dll: No such file or directory
D [14/May/2007:22:02:16 +0200] [CGI] cgiCopyTemplateLang(tmpl="header.tmpl")
D [14/May/2007:22:02:16 +0200] [CGI] locale="de_de"...
D [14/May/2007:22:02:16 +0200] [CGI] Template file is 
"/usr/share/cups/templates/de/header.tmpl"...

I notice that in the error log there is sometimes lang=de_de but 
lang=es_es too. Perhaps it comes in another language when I print the 
test-page from cups (user=guest) or another text from my account 
(user=klabog)??

Regards, Klaus




More information about the cups mailing list