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

Bug#263269: marked as done (cupsys-client: Can't set default printer)



Your message dated Tue, 3 Aug 2010 16:00:45 +0200
with message-id <AANLkTinM6GZd0NBdZThLMCeXoT6+J2FukgAb5x9tuoNm@mail.gmail.com>
and subject line [Debian QA] please review your old bug reports against CUPS
has caused the Debian Bug report #263269,
regarding cupsys-client: Can't set default printer
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
263269: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=263269
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cupsys-client
Version: 1.1.20final+rc1-4
Severity: normal
Tags: sid

I can't set the default printer on my system.

I use

lpadmin -h localhost -d HP2100

to set the default printer, but lpstat doesn't show it:

lain:~# lpstat -d
no system default destination

~/.lpoptions is not present.

/etc/cups/printers.conf shows it as the default printer:

<DefaultPrinter HP2100>
Info Default Printer
Location Office
DeviceURI socket://192.168.1.16:9100/
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

an "lp" gives the error:

lp: error - scheduler not responding!

an "lp -d HP2100" works correctly.


I sniffed the network traffic from an "lpstat -d" command and saw that
cupsd does give the default printer name. I don't know why lpstat (and
lp/lpr) don't use it.

Network data:

"lpstat -d" -> cupsd:

00000000  50 4f 53 54 20 2f 20 48  54 54 50 2f 31 2e 31 0d  |POST / HTTP/1.1.|
00000010  0a 43 6f 6e 74 65 6e 74  2d 4c 65 6e 67 74 68 3a  |.Content-Length:|
00000020  20 31 33 37 0d 0a 43 6f  6e 74 65 6e 74 2d 54 79  | 137..Content-Ty|
00000030  70 65 3a 20 61 70 70 6c  69 63 61 74 69 6f 6e 2f  |pe: application/|
00000040  69 70 70 0d 0a 48 6f 73  74 3a 20 6c 6f 63 61 6c  |ipp..Host: local|
00000050  68 6f 73 74 0d 0a 0d 0a  01 01 40 02 00 00 00 01  |host......@.....|
00000060  01 47 00 12 61 74 74 72  69 62 75 74 65 73 2d 63  |.G..attributes-c|
00000070  68 61 72 73 65 74 00 0a  69 73 6f 2d 38 38 35 39  |harset..iso-8859|
00000080  2d 31 48 00 1b 61 74 74  72 69 62 75 74 65 73 2d  |-1H..attributes-|
00000090  6e 61 74 75 72 61 6c 2d  6c 61 6e 67 75 61 67 65  |natural-language|
000000a0  00 02 65 6e 44 00 14 72  65 71 75 65 73 74 65 64  |..enD..requested|
000000b0  2d 61 74 74 72 69 62 75  74 65 73 00 0c 70 72 69  |-attributes..pri|
000000c0  6e 74 65 72 2d 6e 61 6d  65 44 00 00 00 12 6a 6f  |nter-nameD....jo|
000000d0  62 2d 73 68 65 65 74 73  2d 64 65 66 61 75 6c 74  |b-sheets-default|
000000e0  03                                                |.|
000000e1

cupsd -> "lpstat -d":

00000000  48 54 54 50 2f 31 2e 31  20 32 30 30 20 4f 4b 0d  |HTTP/1.1 200 OK.|
00000010  0a 44 61 74 65 3a 20 54  75 65 2c 20 30 33 20 41  |.Date: Tue, 03 A|
00000020  75 67 20 32 30 30 34 20  31 35 3a 32 32 3a 30 36  |ug 2004 15:22:06|
00000030  20 47 4d 54 0d 0a 53 65  72 76 65 72 3a 20 43 55  | GMT..Server: CU|
00000040  50 53 2f 31 2e 31 0d 0a  43 6f 6e 6e 65 63 74 69  |PS/1.1..Connecti|
00000050  6f 6e 3a 20 4b 65 65 70  2d 41 6c 69 76 65 0d 0a  |on: Keep-Alive..|
00000060  4b 65 65 70 2d 41 6c 69  76 65 3a 20 74 69 6d 65  |Keep-Alive: time|
00000070  6f 75 74 3d 36 30 0d 0a  43 6f 6e 74 65 6e 74 2d  |out=60..Content-|
00000080  4c 61 6e 67 75 61 67 65  3a 20 65 6e 0d 0a 43 6f  |Language: en..Co|
00000090  6e 74 65 6e 74 2d 54 79  70 65 3a 20 61 70 70 6c  |ntent-Type: appl|
000000a0  69 63 61 74 69 6f 6e 2f  69 70 70 3b 20 63 68 61  |ication/ipp; cha|
000000b0  72 73 65 74 3d 69 73 6f  2d 38 38 35 39 2d 31 35  |rset=iso-8859-15|
000000c0  0d 0a 43 6f 6e 74 65 6e  74 2d 4c 65 6e 67 74 68  |..Content-Length|
000000d0  3a 20 33 35 38 0d 0a 0d  0a 01 01 00 01 00 00 00  |: 358...........|
000000e0  01 01 47 00 12 61 74 74  72 69 62 75 74 65 73 2d  |..G..attributes-|
000000f0  63 68 61 72 73 65 74 00  0a 69 73 6f 2d 38 38 35  |charset..iso-885|
00000100  39 2d 31 48 00 1b 61 74  74 72 69 62 75 74 65 73  |9-1H..attributes|
00000110  2d 6e 61 74 75 72 61 6c  2d 6c 61 6e 67 75 61 67  |-natural-languag|
00000120  65 00 02 65 6e 04 23 00  0d 70 72 69 6e 74 65 72  |e..en.#..printer|
00000130  2d 73 74 61 74 65 00 04  00 00 00 03 44 00 15 70  |-state......D..p|
00000140  72 69 6e 74 65 72 2d 73  74 61 74 65 2d 72 65 61  |rinter-state-rea|
00000150  73 6f 6e 73 00 04 6e 6f  6e 65 41 00 15 70 72 69  |sons..noneA..pri|
00000160  6e 74 65 72 2d 73 74 61  74 65 2d 6d 65 73 73 61  |nter-state-messa|
00000170  67 65 00 00 22 00 19 70  72 69 6e 74 65 72 2d 69  |ge.."..printer-i|
00000180  73 2d 61 63 63 65 70 74  69 6e 67 2d 6a 6f 62 73  |s-accepting-jobs|
00000190  00 01 01 21 00 0f 70 72  69 6e 74 65 72 2d 75 70  |...!..printer-up|
000001a0  2d 74 69 6d 65 00 04 41  0f ad 9e 21 00 12 70 72  |-time..A.­.!..pr|
000001b0  69 6e 74 65 72 2d 73 74  61 74 65 2d 74 69 6d 65  |inter-state-time|
000001c0  00 04 41 0f a5 d7 31 00  14 70 72 69 6e 74 65 72  |..A.¥×1..printer|
000001d0  2d 63 75 72 72 65 6e 74  2d 74 69 6d 65 00 0b 07  |-current-time...|
000001e0  d4 08 03 0f 16 06 00 2b  00 00 21 00 10 71 75 65  |Ô......+..!..que|
000001f0  75 65 64 2d 6a 6f 62 2d  63 6f 75 6e 74 00 04 00  |ued-job-count...|
00000200  00 00 00 42 00 0c 70 72  69 6e 74 65 72 2d 6e 61  |...B..printer-na|
00000210  6d 65 00 06 48 50 32 31  30 30 42 00 12 6a 6f 62  |me..HP2100B..job|
00000220  2d 73 68 65 65 74 73 2d  64 65 66 61 75 6c 74 00  |-sheets-default.|
00000230  04 6e 6f 6e 65 42 00 00  00 04 6e 6f 6e 65 03     |.noneB....none.|
0000023f

There is the "HP2100" in the answer from cupsd.

Regards,

Sebastian

-- System Information:
Debian Release: 3.0
Architecture: i386
Kernel: Linux lain 2.6.7 #1 Thu Jul 29 16:04:37 CEST 2004 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages cupsys-client depends on:
ii  libc6                  2.3.2.ds1-10      GNU C Library: Shared libraries an
ii  libcupsys2-gnutls10    1.1.20final+rc1-4 Common UNIX Printing System(tm) - 
ii  zlib1g                 1:1.2.1-3         compression library - runtime

-- no debconf information



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

This bug is quite old and I didn't get any answer from my previous mail.
So, I'm closing this bug report.
If the problem still occurs, please, feel free to reopen it.

Thanks,

Jean

--- End Message ---

Reply to: