printing with hplip doesn't work: /usr/lib/cups/backend/hp failed
Hi everyone,
I have a strange problem. I have an old HP Laserjet 5L which is connected to the parallel port of my computer. I could hp-setup to configure the printer. It is connected to hp:/par/HP_Laserjet_5L?device=/dev/parport0 Everytime a want to print the printer is stopped with the error message /usr/lib/cups/backend/hp failed (tried to print as root and as a normal user doesn't work) If I try to print directly to the device works with echo "test" > /dev/lp0 but it does not work with echo "test" > /dev/parport0 the permissions are set to crw-rw---- 1 root scanner 6, 0 28. Jan 14:54 /dev/lp0 crw-rw---- 1 root scanner 99, 0 28. Jan 14:54 /dev/parport0 My Distribution is archlinux with all updates installed Does anybody know how to fix this? ToK |
Hi ToK, Are you in the lp group? What does cupsd.conf look like? Which ppd are you using?
Good luck. ;-) |
Hi Peacedoc,
I am just re-installing linux, please wait. As far as I remember I was a member of the group lp... I will report as far as I re-installed linux. ToK |
We'll all be here.
Good luck. ;-) |
Thanks,
it works. Don't know why. If I should guess the modules parport and parport_pc are not loaded. But I cannot say for sure. I followed the Instruction on https://wiki.archlinux.org/index.php/CUPS and it works... ;) Thanks anyway... Tok |
Glad you got it sorted!
Good luck. ;-) |
1 Attachment(s)
Hi,
now it's getting crazy. As I setup my machine (archlinux), i could print. As i continue to setup other applications, i cannot print any further... i've got the message /usr/lib/cups/backend/hp failed... So let's start debugging: First of all: this is my /etc/cups/cups.conf Code:
# If I switch to "HP LaserJet 5L Foomatic/gutenprint-ijs.5.2" I could set "Double-Sided Printing" (which it was before), and I still got the message "(grayscale, 2-sided printing)"...:confused: I should mention: I have another printer (with duplex) which works fine... Third of all: As I switch the LogLevel to debug an start my printer (with a testpage job in the cue) I got the following message (see attachment). There is an error "ERROR: open device failed stat=12" I googled around and found the page https://bbs.archlinux.org/viewtopic.php?id=85454 -> I changed the SystemGroup to lp an resumed and got the same error message -> Installing and running avahi-daemon does'nt solve the problem... PLEEEEEAAAASE Help! ToK |
Just looking into driver issues I've found this:
Quote:
Also are you in the "lp" group? Good luck. ;-) |
I've tried hplip and ljet4 (or lj4dith)
Yes I am a member of the group lp. Did I already mention that I can't see the parport on the cups website when I want to configure a printer? There is only SCSI, Serial (1 and 2), HP Printer and HP Fax... ToK |
Hi,
I've got the reason: The group on the device file /dev/lp0 is set to scanner, not to lp. Everything works find if I set the the group to lp. The group is set to scanner because I wrote a udev rule to set the permisson of my usb scanner. I don't know why it affects my parport. :confused: Since I removed the udev of my scanner the group of lp0 is set to lp and I could print again :D:D:D:D Funnily enough: the permisson of the usb port is not set to scanner (which it was not previous...) So everything is fine now. Thanks for your help ;) ToK |
You're welcome. Glad you got it sorted!
Good luck. ;-) |
All times are GMT -5. The time now is 04:29 AM. |