Cannot print from hplip or CUPS with hp backend

Asked by linuxuser63

I have searched but cannot find an answer. I have Mandriva 2008.1 with CUPS 1.3.6. I installed hplip 2.8.5 and used the .run to do it and accepted all defaults. I have a HP Deskjet 9800. I can install it with a URI of usb://HP/Deskjet%209800?serial=MY59M11021046K and it prints. However, if I install it as an hp backend (hp:/usb/Deskjet_9800?serial=MY59M11021046K), it will not print and I get this error on the cups/error_log: D [21/May/2008:15:55:02 -0400] [Job 116] prnt/backend/hp.c 675: INFO: open device failed; will retry in 30 seconds... In addition, hplip, if I use it, will not print and shows a device error.

The device is plugged in and working. Once I use hp-toolbox, neither the usb: queue nor the hp: queue will work afterwards and both give the same error. If I do cups restart, there is no change, but if I reboot, the usb: queue will again print.

The hp.conf file shows this:
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.8.5
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=no
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=yes
internal-tag=2.8.5.23

hp-check -t shows the following errors:
Checking for dependency: ppdev - Parallel port support kernel module....
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed b
efore installing or running HPLIP.
Checking for dependency: SANE - Scanning library development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is instal
led before installing or running HPLIP.
Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properl
y.

and

Checking for permissions of USB attached printers...

HP Device 0x1212 at 002:002:
    Device URI: hp:/usb/Deskjet_9800?serial=MY59M11021046K
    Device node: /dev/bus/usb/002/002
    Mode: 0660
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/002
# owner: leon
# group: usb
user::rw-
group::rw-
other::---

I am at a loss to figure out the problem. Appreciate any help you can give me. Thanks

Question information

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

This is probably a permissions problem.

http://hplip.sourceforge.net/install/manual/distros/mandriva.html

And follow the steps for step7.

Does this resolve your problem?

A

Revision history for this message
linuxuser63 (leon244) said :
#2

YES!!!!!
You have no idea how grateful I am to you.
Thank you.