Comment 12 for bug 20330

Revision history for this message
Richard Kleeman (kleeman) wrote :

gnome-cups-man gives 0.31-1.1ubuntu
hplip gives 0.9.7-4ubuntu1

When I launch the gnome print tool and add a printer there are two detected printers:

hp photosmart 7550

AND

HP photosmart_7550

The second one is detected by hplip-toolbox but the first is not. I did nothing for these printers to be detected.

hp-info gives

Using device: hp:/usb/photosmart_7550?serial=CN33I4116P7E

and much data about this printer. It does not show the network printer (laserjet 1200 on 192.168.0.150). If I add -ldebug I get the following additional lines of output:

[DEBUG]: Sending data on channel (3)
 [DEBUG]: 'msg=probedevicesfiltered\nfilter=none\nbus=usb,par,cups\nformat=default\ntimeout=5\nttl=4\n'
 [DEBUG]: Reading data on channel (3)
 [DEBUG]: 'msg=probedevicesfilteredresult\nresult-code=0\nnum-devices=1\nencoding=none\nlength=60\ndata:\nhp:/usb/photosmart_7550?serial=CN33I4116P7E,photosmart_7550\n'
 [DEBUG]: ['hp:/usb/photosmart_7550?serial=CN33I4116P7E']
 [DEBUG]: [<cupsext.Printer object at 0xb7a15a98>, <cupsext.Printer object at 0xb7a15b88>, <cupsext.Printer object at 0xb7a15bb0>, <cupsext.Printer object at 0xb7a1b430>]
 Using device: hp:/usb/photosmart_7550?serial=CN33I4116P7E
 [DEBUG]: URI: backend=hp, is_hp=True, bus=usb, model=photosmart_7550, serial=CN33I4116P7E, dev=, host=, port=1
 [DEBUG]: Model/UI model: photosmart_7550/HP Photosmart 7550

 [DEBUG]: Sending data on channel (5)
 [DEBUG]: 'msg=opendevice\ndevice-uri=hp:/usb/photosmart_7550?serial=CN33I4116P7E\n'
 [DEBUG]: Reading data on channel (5)
 [DEBUG]: 'msg=opendeviceresult\nresult-code=0\n'
 [DEBUG]: Sending data on channel (5)
 [DEBUG]: 'msg=querymodel\ndevice-uri=hp:/usb/photosmart_7550?serial=CN33I4116P7E\n'
 [DEBUG]: Reading data on channel (5)
 [DEBUG]: 'msg=querymodelresult\ncopy-type=0\nscan-type=0\nfax-type=0\nr0-agent3-sku=58 (C6658A)\ntech-type=2\nio-support=2\npcard-type=1\nio-mode=1\nio-scan-port=0\nr0-agent1-sku=56 (C6656A)\nr0-agent2-sku=57 (C6657A)\ncolor-cal-type=3\nr0-agent3-kind=3\npanel-check-type=0\ntech-class=DJGenericVIP\nr0-agent2-type=2\npq-diag-type=0\nclean-type=1\nresult-code=0\nalign-type=1\nicon=photosmart_7550.png\nr0-agent1-type=1\nsupport-type=2\nlinefeed-cal-type=0\nstatus-type=2\nmodel-ui=HP Photosmart 7550\nio-mfp-mode=2\nembedded-server-type=0\nr0-agent3-type=3\nr0-agent2-kind=3\nio-control=0\nr0-agent1-kind=3\nmodel=photosmart_7550\n'
 [DEBUG]: Sending data on channel (5)
 [DEBUG]: 'msg=querydevice\ndevice-uri=hp:/usb/photosmart_7550?serial=CN33I4116P7E\n'
 [DEBUG]: Reading data on channel (5)
 [DEBUG]: 'msg=querydeviceresult\ncups-printers=PhotoSmart-7550\nagent1-hp-ink=False\nagent3-hp-ink=False\nagent2-hp-ink=False\nis-hp=True\n3bit-status-name=NoFault\ntop-door=1\nin-tray1=True\nagent3-sku=58 (C6658A)\ndevice-uri=hp:/usb/photosmart_7550?serial=CN33I4116P7E\nphoto-tray=1\npanel-line1=\npanel-line2=\nagent2-sku=57 (C6657A)\nagent2-desc=Tri-color cartridge\ndevice-state=0\nagent1-health=0\n3bit-status-code=24\nagent3-type=3\npanel=0\nagent3-desc=Photo cartridge\ndev-file=\nstatus-desc=The printer is idle.\nagent3-id=11\nagent3-known=False\nagent2-id=10\nagent2-kind=3\nagent2-type=2\nagent2-level=82\nagent3-kind=3\nin-tray2=False\nagent1-virgin=False\nagent1-level-trigger=0\nagent1-type=1\nagent2-dvc=0\nagent1-health-desc=OK\ncups-uri=hp:/usb/photosmart_7550?serial=CN33I4116P7E\nduplexer=0\nresult-code=0\nagent2-ack=False\nmedia-path=3\nagent1-kind=3\ndeviceid=MFG:hp;MDL:photosmart 7550;CID:hpdeskjet_5550A851;CMD:MLC,PCL,PML,DW-PCL,DYN,DESKJET;CLS:PRINTER;DES:hp photosmart 7550;SN:CN33I4116P7E;S:0380088084001000003c148000fc2500052c3580057;P:08C0,FL,B0;J: ;\nagent1-sku=56 (C6656A)\nagent1-level=15\nserial=CN33I4116P7E\nback-end=hp\nagent2-health-desc=OK\nagent1-dvc=0\nrr=000000\nrs=000000000\nport=1\nrg=000\nrevision=3\nagent3-level-trigger=0\nagent2-virgin=False\nagent3-level=87\nagent3-ack=False\nagent3-dvc=0\nagent2-known=False\nagent1-id=9\nr=0\nagent3-health=0\nerror-state=0\nagent1-known=False\nstatus-code=1000\nagent3-virgin=False\nagent1-ack=False\nagent2-health=0\nhost=\nagent2-level-trigger=0\nsupply-door=0\nagent3-health-desc=OK\nagent1-desc=Black cartridge\n'

AND later
[DEBUG]: Sending data on channel (5)
 [DEBUG]: 'msg=queryhistory\ndevice-uri=hp:/usb/photosmart_7550?serial=CN33I4116P7E\n'
 [DEBUG]: Reading data on channel (5)
 [DEBUG]: 'msg=queryhistoryresult\nresult-code=0\nencoding=none\nlength=122\ndata:\n\n2006,5,9,21,54,51,1,129,1,0,hplip,1000,The printer is idle.,\n2006,5,9,21,56,41,1,129,1,0,hplip,1000,The printer is idle.,'
   05/09/2006 21:56:41 The printer is idle. (1000)
   05/09/2006 21:54:51 The printer is idle. (1000)

 [DEBUG]: Sending data on channel (5)
 [DEBUG]: 'msg=closedevice\ndevice-uri=hp:/usb/photosmart_7550?serial=CN33I4116P7E\n'
 [DEBUG]: Reading data on channel (5)
 [DEBUG]: 'msg=closedeviceresult\nresult-code=0\n'

hp-probe -ldebug gives:

 HP Linux Imaging and Printing System (ver. 0.9.7)
 Device Detection (Probe) Utility ver. 1.3

 Copyright (c) 2003-5 Hewlett-Packard Development Company, LP
 This software comes with ABSOLUTELY NO WARRANTY.
 This is free software, and you are welcome to distribute it
 under certain conditions. See COPYING file for more details.

 [DEBUG]: Sending data on channel (3)
 [DEBUG]: 'msg=probedevicesfiltered\nfilter=none\nbus=usb,par,cups\nformat=cups\ntimeout=5\nttl=4\n'
 [DEBUG]: Reading data on channel (3)
 [DEBUG]: 'msg=probedevicesfilteredresult\nresult-code=0\nnum-devices=1\nencoding=none\nlength=118\ndata:\ndirect hp:/usb/photosmart_7550?serial=CN33I4116P7E "HP photosmart_7550" "hp:/usb/photosmart_7550?serial=CN33I4116P7E"\n'
   Device URI Model
   ------------------------------------------- ------------------
   hp:/usb/photosmart_7550?serial=CN33I4116P7E HP photosmart_7550

I am able to print well with both printers. The only problem being I cannot use hplip-toolbox to see the network printer and the workaround

hp-makeuri IP

does not appear to be implementable on the gnome print tool. Also the cups admin seems unreachable as well....