I have a HP Officejet G85 and I just upgraded my system, which included the whole printer subsystem, and lost my printing. I have tried adding it via KDE's print dialog as well as directly via CUPS (localhost:631), to no avail.
uname -r: 2.6.26 (Debian)
When I attempt to add it via KDE, here is what I do:
1. /etc/init.d/cups stop
2. Unplug printer.
3. /etc/init.d/cups start
4. Plug the printer back in (in the hopes power cycling the printer will help CUPS find it; but I've also done this without power cycling).
5. As root, start "kcmshell printers"
6. I have two choices in adding printers in the "tree view" it gives me
a. Under USB, (and it IS a USB printer) I have "HP Officejet G85 USB #1", and under that I have "HP Officejet G85".
b. Under "Others", I have "HP Officejet G85 USB SGG11E4KXHVL HPLIP", and under that I have "HP Officejet G85". I also have "HP Fax (HPLIP) under "Others".
7. If I select 5a, I get the printer model selection dialog with HP and G85 preselected for me.
8. Next I get my choice of three drivers:
a. HP Officejet G85 (foomatic + cdj550)
b. HP Officejet G85 (foomatic + gutenprint-ijs-simplified.5.0)
c. HP Officejet G85 (foomatic + gutenprint-ijs.5.0)
I select b (selecting "a" then "Driver Information", it tells me a "should work, though not very well").
At this point, kcmshell hangs and quits refreshing it's dialog. This is in the CUPS log:
Quote:
localhost - - [10/Apr/2009:11:34:38 -0400] "POST /printers/ HTTP/1.1" 200 112 CUPS-Get-Printers client-error-not-found
localhost - - [10/Apr/2009:11:34:38 -0400] "POST /printers/ HTTP/1.1" 200 253 CUPS-Get-Printers client-error-not-found
localhost - - [10/Apr/2009:11:34:38 -0400] "POST /classes/ HTTP/1.1" 200 224 CUPS-Get-Classes client-error-not-found
localhost - - [10/Apr/2009:11:34:38 -0400] "POST /printers/ HTTP/1.1" 200 112 CUPS-Get-Default client-error-not-found
localhost - - [10/Apr/2009:11:34:43 -0400] "POST /printers/ HTTP/1.1" 200 253 CUPS-Get-Printers client-error-not-found
localhost - - [10/Apr/2009:11:34:43 -0400] "POST /classes/ HTTP/1.1" 200 224 CUPS-Get-Classes client-error-not-found
localhost - - [10/Apr/2009:11:34:43 -0400] "POST /printers/ HTTP/1.1" 200 112 CUPS-Get-Default client-error-not-found
localhost - - [10/Apr/2009:11:34:48 -0400] "POST /printers/ HTTP/1.1" 200 253 CUPS-Get-Printers client-error-not-found
localhost - - [10/Apr/2009:11:34:48 -0400] "POST /classes/ HTTP/1.1" 200 224 CUPS-Get-Classes client-error-not-found
localhost - - [10/Apr/2009:11:34:48 -0400] "POST /printers/ HTTP/1.1" 200 112 CUPS-Get-Default client-error-not-found
localhost - - [10/Apr/2009:11:34:48 -0400] "POST / HTTP/1.1" 200 1912 CUPS-Get-Devices -
localhost - - [10/Apr/2009:11:34:49 -0400] "POST / HTTP/1.1" 200 1912 CUPS-Get-Devices -
localhost - - [10/Apr/2009:11:34:58 -0400] "POST / HTTP/1.1" 200 1871 CUPS-Get-Devices -
|
I'm not sure any of these "error-not-found" lines are relevant, because they could have occurred before I started adding the printer when kcmshell was trying to find what printers were out there.
Killing kcmshell and restarting it, or checking with localhost:631, shows no printers added
When I choose 'a' in step 8, above, kcmshell doesn't hang, and I get to where it asks me to print a test page, which I tell it to do, it says it sent it OK. Nothing prints, and nothing is in the job queue.
Now, go to add the printer directly with CUPS, (localhost:631), here is the sequence of events:
1. First, remove the printer in kcmshell and reinitialize, as in 1-4, above (verify, at localhost:631, on the "Printers" tab that no printers exist).
2. Now, click on the Administration tab and "Add Printer"; fill in name, location, description.
3. Select "HP Officejet G85 USB #1 (HP Officejet G85)" under the Device pick box.
4. "HP Officejet - CUPS+Gutenprint v5.2.3(en)" is auto-selected for me in "Model/Driver for G85". Click "Add Printer".
5. Next, a screen with a bunck of configuration options is displayed; click on the "Printers" tab.
Voila! There's my printer.
6. Click on "Print Test Page"; the job shows up in the queue.
Nothing happens; the queue empties (i. e., the job disappears), but nothing prints.
Now, if I delete the printer in CUPS and add it again, but this time, in step 3, select "HP Officejet G85 USB SGG11E4KXHVL HPLIP (HP Officejet G85)", same Model/Driver, the "Print Test Page" job goes into the queue and hangs there at 19%. This is in the cups log over and over:
Quote:
D [10/Apr/2009:12:28:48 -0400] cupsdAuthorize: Authorized as root using Basic
D [10/Apr/2009:12:28:48 -0400] cupsdSendError: 11 code=304 (Not Modified)
D [10/Apr/2009:12:28:48 -0400] cupsdReadClient: 11 GET /images/button-cancel-job.gif HTTP/1.1
D [10/Apr/2009:12:28:48 -0400] cupsdAuthorize: Authorized as root using Basic
D [10/Apr/2009:12:28:48 -0400] cupsdSendError: 11 code=304 (Not Modified)
D [10/Apr/2009:12:28:48 -0400] cupsdReadClient: 8 GET /images/button-show-all.gif HTTP/1.1
D [10/Apr/2009:12:28:48 -0400] cupsdAuthorize: Authorized as root using Basic
D [10/Apr/2009:12:28:48 -0400] cupsdSendError: 8 code=304 (Not Modified)
D [10/Apr/2009:12:28:48 -0400] cupsdReadClient: 11 GET /images/bottom-left.gif HTTP/1.1
D [10/Apr/2009:12:28:48 -0400] cupsdAuthorize: Authorized as root using Basic
D [10/Apr/2009:12:28:48 -0400] cupsdSendError: 11 code=304 (Not Modified)
D [10/Apr/2009:12:28:48 -0400] cupsdReadClient: 8 GET /images/button-restart-job.gif H
|
</post>
but I think it has to do with refreshing the browser screen as opposed to printing (but I'm certainly no expert).
There is a program called "gs" that appears to be hung as well:
Quote:
lp 14671 1 0 12:27 ? 00:00:00 /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -I/usr/share/cups/fonts -sMediaType=Plain -r300x300 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 -dcupsRowFeed=3 -scupsPageSizeName=Letter -c -f -_
|
Syslog shows the following, over & over:
Quote:
Apr 10 12:47:35 anw-dev OfficeJet_G85?serial=SGG11E4KXHVL: io/hpmud/mlc.c 238: unable to read MlcReverseReply header: Resource temporarily unavailable bytesRead=0
Apr 10 12:47:35 anw-dev OfficeJet_G85?serial=SGG11E4KXHVL: io/hpmud/mlc.c 347: invalid MLCInitReply retrying command...
Apr 10 12:47:38 anw-dev OfficeJet_G85?serial=SGG11E4KXHVL: io/hpmud/mlc.c 238: unable to read MlcReverseReply header: Resource temporarily unavailable bytesRead=0
Apr 10 12:47:38 anw-dev OfficeJet_G85?serial=SGG11E4KXHVL: io/hpmud/mlc.c 357: invalid MLCInitReply: cmd=0, result=3 , revision=0
Apr 10 12:47:38 anw-dev OfficeJet_G85?serial=SGG11E4KXHVL: prnt/backend/hp.c 712: INFO: open print channel failed stat=12; will retry in 30 seconds...
|
dmesg shows:
Quote:
usb 1-2: new full speed USB device using uhci_hcd and address 7
usb 1-2: configuration #1 chosen from 1 choice
usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 3 vid 0x03F0 pid 0x0211
usblp0: removed
|
I have searched all over the web for a couple of days, and can find similar stuff, but no resolution. I think it may be new (I just upgraded most of my system) in the latest releases of cups/hplip/...etc. Also, after the upgrade my hp-toolbox quit working, telling me I don't have qt4 installed, which I do.
TIA!
anw