Bugzilla – Bug 124328
HP-toolbox problem
Last modified: 2005-10-11 09:15:36 UTC
I'm using hp psc multifunction printer on drivers hplip 0.9.4 included in SUSE Linux 10. Printing works great, scanning works too but hp-toolbox, the small utility which shows ink level etc. doesn't see printer and says it has to be configured but it is already configured and because of that i can't see i.e ink level of my printer. This problem doesn't appear if i compile these drivers from source. I had the same problem with hplip package in SUSE Linux 9.3 Professional.
First you must tell us which exact PSC model you use. Second you must tell us how it is connected (I guess via USB but I don't like to rely on guesses). For my LaserJet 1220 connected via USB it works without any problems. Therefore I need the exact error and/or debug messages which you see on the screen when you start hp-toolbox directly from the command line, see "hp-toolbox -help", e.g.: user@host$ hp-toolbox -ldebug &>/tmp/hp-toolbox.debug and then attach /tmp/hp-toolbox.debug as plain/text to this bug. Additionally grep for example the last 100 messages form /var/log/messages like root@host# egrep -i 'hplip|hpaio|hpssd|hpiod|hpijs' /var/log/messages \ | tail -n 100 >/tmp/hp-toolbox.messages and then attach /tmp/hp-toolbox.messages as plain/text to this bug.
Created attachment 53606 [details] hp-toolbox.debug
Created attachment 53607 [details] hp-toolbox.messages
Okk here are two outputs. My printer model is hp psc 1215 connected via usb.
hp-toolbox.debug shows it: Exception: 4 (Unknown/invalid device-uri field) hp-toolbox.messages explains it: usb://Hewlett-Packard/psc%201200 shows that you use the generic "usb" CUPS backend and not the "hp" CUPS backend (together with the "hplip" service) which are both required by the hp-toolbox program. See http://portal.suse.com/sdb/en/2005/02/jsmeix_print-einrichten-93.html To change the CUPS backend you must change the CUPS DeviceURI. Determine the right DeviceURI for the "hp" backend: root@host# rccups stop root@host# rchplip start root@host# insserv hplip root@host# rccups start root@host# /usr/lib/cups/backend/hp should output something like direct hp:/usb/HP_LaserJet_1220?device=/dev/usb/lp0 "HP HP_LaserJet_1220"... the "hp:/usb/HP_LaserJet_1220?device=/dev/usb/lp0" string is the correct DeviceURI (here for my LaserJet 1220). root@host# lpadmin -d QUEUE -v hp:/usb/... replace QUEUE with your queeu name and the "hp:/..." string with what the hp backend has shown to you. See http://portal.suse.com/sdb/en/2002/05/ke_hp-officejet.html why YaST sometimes (or often) fails to autodetect a HP all-in-one device. At the moment there is nothing we can do to detect HP all-in-one devices reliably. Therefore I close it as WONTFIX (which means in fact CANTFIX).