In troubleshooting a problem with HPLIP 2.7.7 in OpenSuSE 10.2 -- I
installed the OpenSuSE OSS factory package -- I discovered 2 problems.
(1) The "/usr/share/hplip/data/models/models.dat" had an incorrect
section name so that "hp-setup" couldn't map the discovered device name
to a section in that file.  Instead, "hp-setup" reported "unsupported
printer" for my DeskJet 1120C, which all the other HPLIP docs said
should be supported.  I corrected this problem by changing the
"[deskjet_1120]" section name to "[deskjet_1120c]" in the
"/usr/share/hplip/data/models/models.dat" file.  (2)  After correcting
this, I used "hp-toolbox" to print a test page, which did go to the
printer queue...and unfortunately sat there with CUPS ("lpstat -t")
reporting "open device failed; will retry in 30 seconds..." for the
printer queue.  The DeskJet 1120C is an old (but dependable)
parallel-port printer.  Finally, after looking at CUPS permissions and
other things, I looked in the system logs ("/var/log/messages") and
discovered the error message "parport0: io/hpmud/pp.c 787: unable to
open hp:/par/DESKJET_1120C?device=/dev/parport0: Permission denied".  I
remembered having seen a discussion elsewhere about having to change
device permissions for "parport" in OpenSuSE 10.2.  I checked and --
sure enough -- the permissions used by "udev" when it created the
"/dev/parport0" device were "660" for owner-group "root:root",
preventing ordinary users from accessing the device.  When I changed the
permissions to "666" -- the correct "number of this beast" -- the
previously-queued test page began printing!

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to