Bugzilla – Bug 105732
lpstat shows garbage
Last modified: 2005-09-02 14:07:38 UTC
- lp tiger.eps (or some other file) - type lpstat -t to monitor you job. - On the right hand side of the jobsize some garbage is displayed: device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-2. enabled since Jan 01 00:00 hp2200-2 tttestus 78848 � tttestus@pluto:~> lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-2. enabled since Jan 01 00:00 hp2200-2 tttestus 78848 hΣ tttestus@pluto:~> lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-2. enabled since Jan 01 00:00 hp2200-2 tttestus 78848 � tttestus@pluto:~> lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-2. enabled since Jan 01 00:00 hp2200-2 tttestus 78848 ($ tttestus@pluto:~> lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-2. enabled since Jan 01 00:00 hp2200-2 tttestus 78848 �
Sorry for delay, but was ill. Bad news is, that I cannot reproduce this problem. :-( Which architecture are you using? Which locale do you have? Just paste output of /usr/bin/locale Can you attache your cups configuration: /etc/cups/* (incl. subdirs)? Which kind of document are you printing? ASCII? PostScript? etc.
(In reply to comment #1) > Bad news is, that I cannot reproduce this problem. :-( But, I can. So let's see if we can find out the difference. > Which architecture are you using? i386. The machine is a IBM R50p notebook. > Which locale do you have? Just paste output of /usr/bin/locale tttestus@pluto:~> /usr/bin/locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= > Can you attache your cups configuration: /etc/cups/* (incl. subdirs)? Will attach it. > Which kind of document are you printing? ASCII? PostScript? etc. lp /usr/share/ghostscript/8.15/examples/tiger.eps
Created attachment 46830 [details] /etc/cups
Thanks. I think it seems to be the problem of the chosen locale settings. Please, try: env LC_CTYPE="en_GB.utf-8" lpstat -t and tell me, if it is gone (at my side the problem is gone then). If it's gone by you either, I will make reassign this to a locale issue.
Setting LC_CTYPE to "en_GB.utf-8" does not really help. As you can see, the problem still occurs sometimes, but it happens less frequently. tttestus@pluto:~> env LC_CTYPE="en_GB.utf-8" lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-6. enabled since Jan 01 00:00 hp2200-6 tttestus 78848 tttestus@pluto:~> env LC_CTYPE="en_GB.utf-8" lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-6. enabled since Jan 01 00:00 hp2200-6 tttestus 78848 ! tttestus@pluto:~> env LC_CTYPE="en_GB.utf-8" lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-6. enabled since Jan 01 00:00 hp2200-6 tttestus 78848 tttestus@pluto:~> env LC_CTYPE="en_GB.utf-8" lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-6. enabled since Jan 01 00:00 hp2200-6 tttestus 78848 �ʿ tttestus@pluto:~> env LC_CTYPE="en_GB.utf-8" lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-6. enabled since Jan 01 00:00 hp2200-6 tttestus 78848 K tttestus@pluto:~> env LC_CTYPE="en_GB.utf-8" lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-6. enabled since Jan 01 00:00 hp2200-6 tttestus 78848
My fault. Sorry. Meant LC_CTIME, but was thinking on a LC_CTYPE fix. So I wrote LC_CTYPE. :( Try again, please: env LC_CTIME="en_GB.utf-8" lpstat -t
Does not help either. tttestus@pluto:~> env LC_CTIME="en_GB.utf-8" lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-7. enabled since Jan 01 00:00 hp2200-7 tttestus 78848 X> tttestus@pluto:~> env LC_CTIME="en_GB.utf-8" lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-7. enabled since Jan 01 00:00 hp2200-7 tttestus 78848 � tttestus@pluto:~> env LC_CTIME="en_GB.utf-8" lpstat -t scheduler is running system default destination: hp2200 device for hp2200: usb://HP/LaserJet%202200 hp2200 accepting requests since Jan 01 00:00 printer hp2200 now printing hp2200-7. enabled since Jan 01 00:00 hp2200-7 tttestus 78848 8
Andreas, is the problem still present in beta4? I cannot reproduce it, but hopefully it is gone. BTW: I'm reducing it to MINOR, as I'm still unable to reproduce it.
Sorry, but I have to dissapoint you. The problem still exists. If you want, I can create an account on the machine. The you will be able to reproduce it :-) pluto:~ # lpstat -t scheduler is running system default destination: laserjet2200 device for laserjet2200: hp:/usb/HP_LaserJet_2200?device=/dev/usb/lp0 laserjet2200 accepting requests since Jan 01 00:00 printer laserjet2200 now printing laserjet2200-1. enabled since Jan 01 00:00 laserjet2200-1 root 78848 �� pluto:~ # lpstat -t scheduler is running system default destination: laserjet2200 device for laserjet2200: hp:/usb/HP_LaserJet_2200?device=/dev/usb/lp0 laserjet2200 accepting requests since Jan 01 00:00 printer laserjet2200 now printing laserjet2200-1. enabled since Jan 01 00:00 laserjet2200-1 root 78848 �[��
Yes, please create one for me. For account creation data, use private communication please.
I have sent you the account information.
Seems, I can reproduce it. It's somehow related to the locale. Watch this (and note that it's LC_TIME and not LC_CTIME. :) again my mistake) ------------------------------------------------------------------------------ pluto:~ # env LC_TIME=en_US.UTF-8 lpstat -t scheduler is running system default destination: laserjet2200 device for laserjet2200: hp:/usb/HP_LaserJet_2200?device=/dev/usb/lp0 laserjet2200 accepting requests since Jan 01 00:00 printer laserjet2200 disabled since Jan 01 00:00 - Paused laserjet2200-3 kssingvo 1024 ž¿ laserjet2200-4 kssingvo 78848 ž¿ ------------------------------------------------------------------------------ pluto:~ # env LC_TIME=en_GB.UTF-8 lpstat -t scheduler is running system default destination: laserjet2200 device for laserjet2200: hp:/usb/HP_LaserJet_2200?device=/dev/usb/lp0 laserjet2200 accepting requests since Jan 01 00:00 printer laserjet2200 disabled since Jan 01 00:00 - Paused laserjet2200-3 kssingvo 1024 Fri 02 Sep 2005 12:52:06 CEST laserjet2200-4 kssingvo 78848 Fri 02 Sep 2005 13:17:41 CEST ------------------------------------------------------------------------------
Only those locale settings seem to produce a problem, which are listed by: ls -d /usr/X11R6/lib/X11/locale/*.UTF-8 (exception: pt_BR.UTF-8, and th_TH.UTF-8)
fixed in next version.