You are not logged in.
Hi there!
I have a HP Laserjet p1005 [driver: HP LaserJet P1005 Foomatic/foo2xqx (recommended)], and whenever I try to print, CUPS gives a "completed job" sign immediately, but there is no printing at all.
I have followed the permission troubleshooting recommendations on the wiki and tried to modprobe and rmmod usblp too (as it is blacklisted), but that did not help.
Any ideas how to get my printer working?
Last edited by Rudanar (2011-03-25 14:22:14)
Coordinator of the Wesnoth Hungarian Translation Team
http://wesnoth.fsf.hu/
http://www.wesnoth.org
Offline
Hm, interesting…
Could you please provide some additional information? I mean, is there anything meaningful in /var/log/cups? Or anything related in everything.log, or any other log? What about dmesg output? Have you tried to print anything as root too? Furthermore, has it ever worked?
“First principle, Clarice. Simplicity” – Dr. Hannibal Lecter
Offline
Okay, with the personal help of barto, we were able to determine the problem and solve it.
usblp needs to be blacklisted for CUPS to find the printer and send the jobs, but the printer driver cannot be uploaded to the printer without usblp, because a device node is created by usblp. So my error is caused by the not-to-printer-uploaded, missing driver.
So what we had to do is load the usblp kernel module manually, that creates the device node. Than we are able to use this node to upload the printer driver (used from the foo2-zjs AUR package or tarball [foo2xqx driver]). Then we unloaded the usblp module so that CUPS could use the – now driver propelled – printer. And it works.
The following short scripts does this for me (run as root):
#!/bin/bash
# load the usblp kernel module:
modprobe usblp
# wait for 3 s for the device node to be created:
sleep 3
# upload the P1005.dl driver to the created /dev/usb/lp0 device node:
cat /home/username/builds/sihpP1005.dl > /dev/usb/lp0
# wait 3 s for the driver to be uploaded:
sleep 3
# unload the usblp kernel module, so that CUPS can work:
rmmod usblp
# start the CUPS daemon:
/etc/rc.d/cups start
Thanks for the help again, barto!
Last edited by Rudanar (2011-03-25 14:24:09)
Coordinator of the Wesnoth Hungarian Translation Team
http://wesnoth.fsf.hu/
http://www.wesnoth.org
Offline
This worked perfectly for my HP P1006 also.
Offline