[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#365268: marked as done (cupsys-client: Invalid output from lpstat (stack problem?))



Your message dated Sun, 30 Dec 2007 20:44:11 +0100
with message-id <20071230194411.GB7036@piware.de>
and subject line Bug#365268: Close this bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cupsys-client
Version: 1.1.23-10sarge1
Severity: normal


Hallo,

I have a HP DeskJet 670C connected to the parallel port and using it
with cupsys/foomatic/hpijs. I can use my printer from various sources so
it is configuered ok.

However, showing the queue with "lpstat -o" or "lpstat -t" gives invalid
output. This is locale dependent. The output is the locale en_US is
wrong. The output is correct in the locale C nl_NL de_DE.

I think it is some kind of stack problem because the output different
for different calls of the command.

Here are the commands I used:

PC-Vincent:535$ locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
PC-Vincent:536$ echo "Just some text." | /usr/bin/lp
request id is HP-DeskJet-670C-42 (1 file(s))
PC-Vincent:537$ LC_ALL=C /usr/bin/lpstat -o
HP-DeskJet-670C-42      vincent           1024   Fri Apr 28 23:24:30 2006
PC-Vincent:538$ LC_ALL=en_US /usr/bin/lpstat -o
HP-DeskJet-670C-42      vincent           1024   ÄKe
àøÿ¿hz@ùÿ¿Øøÿ¿@x@t
PC-Vincent:539$ /usr/bin/lpstat -o
HP-DeskJet-670C-42      vincent           1024   ÄKe
ðøÿ¿hz@ ùÿ¿èøÿ¿@x@t
PC-Vincent:540$ LC_ALL=nl_NL /usr/bin/lpstat -o
HP-DeskJet-670C-42 vincent 1024 vr 28 apr 2006 23:24:30 CEST
PC-Vincent:541$


Regards,
Vincent Smeets


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages cupsys-client depends on:
ii  adduser               3.63               Add and remove users and groups
ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an ii libcupsys2-gnutls10 1.1.23-10sarge1 Common UNIX Printing System(tm) -
ii  zlib1g                1:1.2.2-4.sarge.2  compression library - runtime

-- no debconf information


--- End Message ---
--- Begin Message ---
Hi Vincent,

Vincent Smeets [2007-11-25 22:41 +0100]:
> As far as I am concerned, you can close this bug. I am now using the 
> current version of lenny (testing) and have no problems anymore.

Thanks for reporting back. Closing.

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org


--- End Message ---

Reply to: