You are not logged in.

#1 2011-01-19 17:45:26

Rudanar
Member
From: Nagykovácsi, Hungary
Registered: 2009-11-13
Posts: 7

[SOLVED] HP p1005 finishes with "completed job" sign but no printing

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

#2 2011-01-19 22:45:49

barto
Member
From: Budapest, Hungary
Registered: 2009-10-22
Posts: 88

Re: [SOLVED] HP p1005 finishes with "completed job" sign but no printing

Hm, interesting… smile

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

#3 2011-03-25 14:21:26

Rudanar
Member
From: Nagykovácsi, Hungary
Registered: 2009-11-13
Posts: 7

Re: [SOLVED] HP p1005 finishes with "completed job" sign but no printing

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

#4 2011-04-28 04:12:15

nadman10
Member
From: Erie, PA
Registered: 2005-10-15
Posts: 200

Re: [SOLVED] HP p1005 finishes with "completed job" sign but no printing

This worked perfectly for my HP P1006 also.

Offline

Board footer

Powered by FluxBB