LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2009, 12:04 PM   #1
anw
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Debian
Posts: 94

Rep: Reputation: 15
No CUPS Printer After Upgrade


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
 
Old 04-10-2009, 12:39 PM   #2
anw
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Debian
Posts: 94

Original Poster
Rep: Reputation: 15
When I put this printer on a paralled port with the "HP OfficeJet G85 - CUPS+Gutenprint v5.2.3" driver, it works.

Is this a bug in all this new printing software I need to report?
 
Old 04-11-2009, 06:21 PM   #3
anw
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Debian
Posts: 94

Original Poster
Rep: Reputation: 15
Well, almost works. Can't print from any Java app, but can print from all other apps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cups to cups printing through network on usb printer checkmate3001 Linux - Server 2 02-16-2009 12:12 PM
CUPS printer will not share to windows client - printer does not have correct drivers Hotchips Linux - Server 2 07-22-2007 02:56 AM
'Printer Models' section of CUPS printer setup blank. hacker supreme Linux - Software 4 07-04-2007 01:58 PM
CUPS Network Printer/ server indicator blinks no printer output wine Linux - Networking 8 03-18-2006 10:20 PM
Virtual Printer / CUPS-PDF Printer Issue in SuSE 10 jlstratton42 SUSE / openSUSE 0 12-21-2005 11:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration