OJ G85 works with 0.8.8 but not with 2.8.4

Asked by Harald Milz

Hi,

I've been using an OJ G85 with an old SUSE 9.3 installation with hplip-0.8.8 for a while, no problems with printing and scanning. I want to move the printer to a new server running OpenSUSE 11.0 with hplip-2.8.4-28.1. The printer is recognized but it won't print. The related processes (gs, hpijs, ...) hang and nothing else happens:

hm@merlin:~> lpr /usr/share/YaST2/data/printer/testpg.ps
hm@merlin:~> lpq
OfficeJet_G85 ist bereit und druckt
Rang Besitzer Auftrag Datei(en) Gesamtgröße
active hm 23 testpg.ps 26624 Byte
hm@merlin:~> ps ax
...
 2180 ? S 0:00 /usr/bin/perl /usr/lib/cups/filter/foomatic-rip-hplip 23 hm testpg.ps 1 media=A
 2181 ? S 0:00 hp:/usb/OfficeJet_G85?serial=SGG17E0FJQVL 23 hm testpg.ps 1 media=A4 sides=one-
 2187 ? S 0:00 /usr/bin/perl /usr/lib/cups/filter/foomatic-rip-hplip 23 hm testpg.ps 1 media=A
 2188 ? S 0:00 /usr/bin/perl /usr/lib/cups/filter/foomatic-rip-hplip 23 hm testpg.ps 1 media=A
 2189 ? S 0:00 gs -sstdout=%stderr -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIj
 2192 ? S 0:00 hpijs
...

There is a CUPS errorlog entry concerning the hang:

D [18/Jul/2008:08:05:50 +0200] [Job 23] prnt/backend/hp.c 675: INFO: open device failed; will retry in 30 seconds...

It looks as if hpijs can't talk to the printer.

hp-toolbox can't talk to the printer either ("error: Unable to communicate with device (code=12): hp:/usb/OfficeJet_G85?serial=SGG17E0FJQVL") when running as non-root but it can when running as root.

I also tried the 2.8.6 installation file from the website, same result. And - no difference between setting it up with YaST or hp-setup.

What can be wrong here?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Albright
Solved:
Last query:
Last reply:
Revision history for this message
Harald Milz (hm-seneca) said :
#1

The hanging processes in the ps output above are all running as user "lp" not as root. Do I have an OpenSUSE 11 related permissions problem here? Which one? The job 23 files in /var/spool/cups belong to root:

-rw------- 1 root lp 726 18. Jul 08:04 c00023
-rw-r----- 1 root lp 26617 18. Jul 08:04 d00023-001

?

Revision history for this message
Best Aaron Albright (albrigha-deactivatedaccount) said :
#2

The user printing should be part of the lp group.

If that doesn't do it please run hp-check -t and post the output.

Thanks.

Aaron

Revision history for this message
Harald Milz (hm-seneca) said :
#3

Aaron, that did the trick, thank you. Kudos to the SUSE people...

Revision history for this message
Harald Milz (hm-seneca) said :
#4

Thanks Aaron Albright, that solved my question.