HP LaserJet P1005 (using hplip) fails to print in 8.04 and 9.04

Bug #365329 reported by Brett Alton
58
This bug affects 3 people
Affects Status Importance Assigned to Milestone
HPLIP
Invalid
Undecided
Unassigned
foo2zjs (Ubuntu)
Invalid
Undecided
Unassigned
Jaunty
Won't Fix
Undecided
Unassigned
hplip (Ubuntu)
Invalid
Medium
Unassigned
Jaunty
Won't Fix
Undecided
Unassigned
system-config-printer (Ubuntu)
Fix Released
Medium
Unassigned
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: cups

Till Kampetter helped me get HPLIP to run properly when Ubuntu automatically installed my HP LaserJet P1005[1], unfortunately, the printer still does not print any documents.

Here is the /var/log/cups/error_log:

E [20/Apr/2009:16:54:37 -0400] Resume-Printer: Unauthorized
E [20/Apr/2009:17:10:29 -0400] PID 6662 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9!
E [20/Apr/2009:17:10:49 -0400] [Job 9] Job stopped due to filter errors.
E [20/Apr/2009:17:22:44 -0400] CUPS-Delete-Printer: Unauthorized
E [20/Apr/2009:17:30:04 -0400] PID 14705 (/usr/lib/cups/daemon/cups-driverd) crashed on signal 9!
E [20/Apr/2009:18:00:54 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [20/Apr/2009:18:01:00 -0400] PID 4949 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9!
E [20/Apr/2009:18:04:07 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [20/Apr/2009:18:04:13 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [20/Apr/2009:18:04:26 -0400] PID 5179 (/usr/lib/cups/cgi-bin/printers.cgi) crashed on signal 9!

Ubuntu 9.04 successfully detected this USB printer and even launched system-config-printer to install my hplip driver, so the problem must lie in the driver (I assume that as /usr/lib/cups/cgi-bin/printers.cgi crashes).

Please let me know what further information you need!

[1] https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/363522

ProblemType: Bug
Architecture: i386
CupsErrorLog:

CurrentDmesg:
 [ 17.246059] r8169: eth0: link up
 [ 17.246074] r8169: eth0: link up
 [ 22.736058] eth1: no IPv6 routers present
 [ 27.324037] eth0: no IPv6 routers present
DistroRelease: Ubuntu 9.04
Lpstat: device for hp-laserjet-p1005: hp:/usb/HP_LaserJet_P1005?serial=BC174RP
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Dell Inc. Inspiron 910
Package: cups 1.3.9-17ubuntu1
Papersize: letter
PpdFiles: hp-laserjet-p1005: HP LaserJet P1005 Foomatic/foo2xqx (recommended)
ProcCmdLine: root=UUID=8228d648-3972-422c-92b7-7b9a6c9d16f1 ro quiet splash
ProcEnviron:
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-11.42-generic
SourcePackage: cups

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you please follow the instructions of the error_log section on

https://wiki.ubuntu.com/DebuggingPrintingProblems

This generates are more verbose error_log.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

I hope this helps!

The printer is now sort of half working, except that it jams every time it pulls paper... before it wasn't even printing. I'm going to fresh install using the Jaunty Netbook image for this Dell Inspiron Mini 9 and see if that helps anything.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you start system-config-printer and change your printer driver to HPIJS (which is also available for your printer)? Does the printer work better then?

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

The printer fails to print (no error messages) when using the HPIJS driver.

"Document Print Status" sits there with my document on 'pending' and the printer makes no action (does not grab paper or anything).

Attaching the new error_log

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

To clear all rests of old failed jobs, please do

cancel -a

and then turn off the printer and turnb it on again. Then try to print again.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote : Re: [Bug 365329] Re: HP LaserJet P1005 (using hplip) fails to print in8.04 and 9.04

Where do I type 'cancel -a'?
Sent on the TELUS Mobility network with BlackBerry

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

You type 'cancel -a' in a terminal window. You get one by selecting

Applications -> Accessories -> Terminal

in the desktop menus.

Or you open the print job viewer and kill all listed jobs (via right mouse button menu).

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

New error log with all other jobs canceled, showing printer jam at the very bottom.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

I wiped the Dell Inspiron Mini 9 with the Jaunty UNR image and enabled -proposed due to the other bug I opened[1] and after I run 'diagnose' using some sort of printing dialogue that pops up after a failed print, it says '/usr/lib/cups/filter/foomatic-rip failed'.

This means nothing has changed (e.g. enabling -proposed and getting HPLIP to install the HP LaserJet P1005 proper plugin did not help).

I then enabled cups logging to verbose, tried printing again and am attaching another log.

(1) Printed a test page without debugging on
(2) Printed a test page with debugging on
(3) Printed a test page using Firefox (https://wiki.ubuntu.com/DebuggingPrintingProblems)

No action from the printer occurred. No jamming or paper grabbing.

[1] https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/363522

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

For the printer the wrong driver was selected. The driver for the HP 910 was selected and not for the HP LaserJet 1005. Did system-config-printer show the steps for choosing manufacturer and model? If you get shown the manufacturer and model steps, make sure you select "HP", "LaserJet P1005", and finally "hpijs".

Please post the output of

hp-info -i -d hp:/usb/HP_LaserJet_P1005?serial=BC174RP --id

This gives the device ID for me to test the driver assignment of system-config-printer.

The jamming problem seems to be a problem of HPLIP. I add an upstream task for HPLIP therefore.

affects: cups (Ubuntu) → system-config-printer (Ubuntu)
Changed in system-config-printer (Ubuntu):
importance: Undecided → Medium
Changed in hplip (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Hi. Not completely sure if I have the same bug, but I believe there is indeed a bug in the driver selection.

Here's the output for my P1005:
MFG:Hewlett-Packard;MDL:HP LaserJet P1005;CMD:HBS,PJL,ACL;CLS:PRINTER;DES:HP LaserJet P1005;FWVER:20080415;

I've installed the required plugin from command line so bug #363522 does not apply. However, by default foo2xqx seems to be selected for this printer, which claims working but in reality does not print anything.
When going to change the driver, foo2xqx is likewise marked as "recommended" instead of hpijs.

Manually selecting hpijs instead now gets P1005 fully functional in jaunty, so it should probably be the default driver as well.

Changed in system-config-printer (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Fixed wrong assignment of HP 910 to the HP LaserJet P1005 in system-config-printer 1.1.x upstream repository, commit b6a7da4.

Changed in system-config-printer (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The problem that foo2xqx does not work with the P1005 seems to be an upstream bug in foo2zjs. I add the foo2zjs task at least for removing the "recommended" tags.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-printer - 1.1.3+git20090218-0ubuntu20

---------------
system-config-printer (1.1.3+git20090218-0ubuntu20) karmic; urgency=low

  * debian/patches/63_compare-make-model-case-insensitive-fix-queue-name-default.patch:
    Compare make and model names case-insensitively when positioning the cursor in the make/model selection list (LP: #365329).

 -- Till Kamppeter <email address hidden> Wed, 29 Apr 2009 17:35:59 +0200

Changed in system-config-printer (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have prepared and uploaded an SRU for system-config-printer to get the problem also fixed in Jaunty. The package is currently waiting for approval. The debdiff is attached.

Revision history for this message
Martin Pitt (pitti) wrote :

If I'm reading the bug trail correctly, foo2zjs and hplip tasks aren't meant to be fixed in jaunty. If so, please reopen.

Changed in foo2zjs (Ubuntu Jaunty):
status: New → Won't Fix
Changed in hplip (Ubuntu Jaunty):
status: New → Won't Fix
Revision history for this message
Martin Beltov (mbeltov) wrote :

This can be solved by
$ sudo hp-setup
by installing the printer using sudo and the terminal the printer works
I have the exact same model and it works by doing this

Revision history for this message
Martin Pitt (pitti) wrote :

Till, the jaunty update also changes something unrelated:

+- if step > 0 and next_page_nr == 7: # About to show downloadable drivers
++ if step >= 0 and next_page_nr == 7: # About to show downloadable drivers

(twice) This isn't documented in the changelog, is it an intended change? Please either drop the change or document the purpose in the patch header or changelog, and reupload. Thanks!

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

OK, re-uploaded.

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted system-config-printer into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in system-config-printer (Ubuntu Jaunty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Raoul (trash-mails-at) wrote : Re: [Bug 365329] Re: HP LaserJet P1005 (using hplip) fails to print in 8.04 and 9.04

After doing the regular update tomorrow, the self-acting download of the
needed HP driver works correct. BUT the printer still does not print any
document.

Am Montag, den 04.05.2009, 22:58 +0000 schrieb Till Kamppeter:
> OK, re-uploaded.
>

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

perseus: Could you try System -> Administration -> Printing, right-click on the printer and select Properties, and tell what's on the model line.. "HP LaserJet P1005 Foomatic/foo2xqx (recommended)" or "HP LaserJet p1005 hpijs, hpijs 3.9.2"?

If the former, click Change..., select HP, LaserJet p1005 and "HP LaserJet p1005 hpijs [en]". After that try printing again and report back.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

Hi Till, here's my output. The program didn't seem to run:

$ hp-info -i -d hp:/usb/HP_LaserJet_P1005?serial=BC174RP --id

HP Linux Imaging and Printing System (ver. 3.9.2)
System Tray Status Service ver. 2.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
MFG:Hewlett-Packard;MDL:HP LaserJet P1005;CMD:ACL;CLS:PRINTER;DES:HP LaserJet P1005;

I also deleted the printer out of my system on an up-to-date Jaunty install and turned the printer on for it to be automatically installed. No HP driver seems to be downloaded and installed, the printer says it was installed properly through the notify bubble and the test page I sent even said it printed.

No printing occurred.

Using:
hp:/usb/HP_LaserJet_P1005?serial=BC174RP
HP LaserJet P1005 Foomatic/foo2xqx (recommended)

Please tell me what debugging steps you'd like me to go through again!

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

Here's my error_log, trying to print https://wiki.ubuntu.com/DebuggingPrintingProblems in Firefox

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Your "hp-info ..." call was successful, it has returned the needed information, your printer's device ID:

MFG:Hewlett-Packard;MDL:HP LaserJet P1005;CMD:ACL;CLS:PRINTER;DES:HP LaserJet P1005;

Your printer ID looks like that the printer did not get its firmware. Can you post the output of

ls -l /usr/share/hplip/data/plugin/

Can you also turn off and turn on your printer and after some seconds attach /var/log/syslog to this bug?

Do the lights of the printer blink and the printer's mechanics rotate if you disconnect and reconnect the USB cable?

Revision history for this message
Raoul (trash-mails-at) wrote :

Thanks for your tip; with 'HP LaserJet 1018 hpijs, 3.9.2' the printer
works well.

Am Donnerstag, den 07.05.2009, 12:49 +0000 schrieb Timo Jyrinki:
> perseus: Could you try System -> Administration -> Printing, right-click
> on the printer and select Properties, and tell what's on the model
> line.. "HP LaserJet P1005 Foomatic/foo2xqx (recommended)" or "HP
> LaserJet p1005 hpijs, hpijs 3.9.2"?
>
> If the former, click Change..., select HP, LaserJet p1005 and "HP
> LaserJet p1005 hpijs [en]". After that try printing again and report
> back.
>

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

$ ls -l /usr/share/hplip/data/plugin/
total 1096
-rw-rw-rw- 1 root root 1118924 2009-04-25 19:07 hplip-3.9.2-plugin.run

<attached syslog>

The printer blinks when and the spools rotate when I turn on the printer. The same is true when I unplug then re-plug the printer's USB.

On the side, is there any program where users can send you money to purchase certain printers or actually send you printers as a donation? I just figure it'd be easier to do that than play "cat and mouse" and waste your time!

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

perseus, thank you for this hint. I have reported it upstream to the author of the foo2zjs package, so that he can assign the foo2zjs driver (this is for the LJ 1018) instead of the foo2xqx driver to the P1005.

Brett, seems that your printer is loading the firmware, your problem is probably the same as perseus has. Please try the drivers for the LaserJet 1018 (or an hpijs driver for the P1005 if available), as perseus successfully did. See his comment before yours.

I have nothing against donations, please mail me personally. As I already get printers for testing from HP, I need especially non-HP printers.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Rick Richardson, author of the foo2zjs driver suite, tells that foo2xqx supports the P1005, as he has a P1005 by himself.

So perhaps there are differences in firmware versions.

Rick, can you tell which firmware version you are using on your P1005?

perseus, Brett, can you also tell which firmware version you are using with the P1005?

To get the firmware version, have a look into the firmware file, /usr/share/hplip/data/firmware/hp_laserjet_p1005.fw.gz (from HPLIP plugin) or /usr/share/foo2xqx/firmware/sihpP1005.dl (from foo2zjs getweb tool).

zless /usr/share/hplip/data/firmware/hp_laserjet_p1005.fw.gz

or

less /usr/share/foo2xqx/firmware/sihpP1005.dl

Near the beginning, you see an 8-digit date, like "20070517" or "20080415". Please tell it to us. Tell also how you got the firmware file, with the "getweb" tool of foo2zjs or as part of the HPLIP plug-in.

Changed in foo2zjs (Ubuntu):
status: New → Incomplete
Revision history for this message
Rick Richardson (rick-richardson) wrote :

hp:/usb/HP_LaserJet_P1005?serial=BC174RP

This is for hplib (a closed source driver), not foo2xqx!!!

Use:
     usb://HP/LaserJet%201005
for the URI.

See:
http://foo2qpdl.rkkda.com/INSTALL

section "CUPS USB NOTES".

I have an HP P1005, and it works good on Fedora 10 with foo2xqx.

Revision history for this message
Rick Richardson (rick-richardson) wrote :

Firmware version 20080415.

Revision history for this message
Rick Richardson (rick-richardson) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Try also using the CUPS USB backend instead of HPLIP's CUPS backend if you want to print with foo2xqx driver.

At first make the firmware file available so that foo2zjs can upload it into the printer:

getweb p1005
sudo arm2hpdl sihpP1005.img > /usr/share/foo2xqx/firmware/sihpP1005.dl

Then do

sudo chmod -x /usr/lib/cups/backend/hp

Now delete your print queue and set it up again with system-config-printer. Does your P1005 work?

If you have also other HP printers, or if you want to use things like the hp-toolbox, return to HPLIP:

sudo chmod +x /usr/lib/cups/backend/hp

and then remove and set up again your print queue with system-config-printer. Do not print a test page when you are asked. Right-click the printer icon, choose "Properties" and change the driver to "hpijs".

If you have two firmware files (one from HPLIP and one from foo2zjs) and they interfere when getting uploaded and lead the printer to crash. Deactivate one by removing its readable bit:

chmod -x /usr/share/foo2xqx/firmware/sihpP1005.dl

OR

chmod -x /usr/share/hplip/data/firmware/hp_laserjet_p1005.fw.gz

Preferably you use the firmware file corresponding to the printer driver and CUPS backend which you are using.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Sorry, the two "chmod" command lines in the end of my previous comment have to read "sudo chmod -r ..." and not "chmod -x ...".

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can someone please test the system-config-printer package in jaunty-proposed to check whether it selects the correct printer model for the driver and not "HP 910"?

Martin Pitt wrote:

Accepted system-config-printer into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Swarup Dev (dinbandhu) wrote :

I have an HP Laserjet 1018, and after Jaunty's auto-install of the HP driver, my printer would not print. So I tried changing the driver to HP LaserJet 1018 hpijs, 3.9.2 as someone else did below, but my printer is still not printing. And I know the printer works well, as it works fine with my other computer. What should I do?

----------------------------------------------------------------------------------------------------

perseus wrote on 2009-05-09:
Thanks for your tip; with 'HP LaserJet 1018 hpijs, 3.9.2' the printer
works well.

Am Donnerstag, den 07.05.2009, 12:49 +0000 schrieb Timo Jyrinki:
> perseus: Could you try System -> Administration -> Printing, right-click
> on the printer and select Properties, and tell what's on the model
> line.. "HP LaserJet P1005 Foomatic/foo2xqx (recommended)" or "HP
> LaserJet p1005 hpijs, hpijs 3.9.2"?
>
> If the former, click Change..., select HP, LaserJet p1005 and "HP
> LaserJet p1005 hpijs [en]". After that try printing again and report
> back.
>

Revision history for this message
Swarup Dev (dinbandhu) wrote :

Please see the note I wrote just above. My HP Laserjet 1018 is not printing. So after doing what I wrote in the above note, then just now I ran hp-check in a terminal window, with resultant output showing the following missing dependencies:

error: 16 errors and/or warnings.
Summary of needed commands to run to satisfy missing dependencies:
sudo aptitude install --assume-yes libcupsys2-dev cupsys-bsd
sudo aptitude install --assume-yes libdbus-1-dev
sudo aptitude install --assume-yes build-essential
sudo aptitude install --assume-yes openssl
sudo aptitude install --assume-yes libjpeg62-dev
sudo aptitude install --assume-yes libsnmp-dev
sudo aptitude install --assume-yes libtool
sudo aptitude install --assume-yes libusb-dev
sudo aptitude install --assume-yes python-qt4
sudo aptitude install --assume-yes python-qt4-dbus
sudo aptitude install --assume-yes python2.5-dev
sudo aptitude install --assume-yes python-reportlab
sudo aptitude install --assume-yes libsane-dev

So I installed all the above dependencies, and it is still not printing. I then re-ran hp-check, with the following output:

-----------
| SUMMARY |
-----------

error: 1 error or warning.

And here below is the error:

/var/lib/python-support/python2.6/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
error: Required plug-in status: Not installed
Communication status: Good

Quite a lengthy process!! So what now do I need to do to get it working? It looks like there is a missing plug-in. Anyone know where I can get that?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Your printer needs a firmware file which is missing (and contained in the mentioned plug-in). If you have a completely updated Jaunty, system-config-printer should automatically download the plug-in when setting up a queue for your printer.

Anyway, you can install the plug-in also by running

sudo hp-plugin -i

Revision history for this message
Swarup Dev (dinbandhu) wrote :

Yes, my Jaunty was already up-to-date completely, according to the update manager. So I did the install.

It downloaded and installed the plugin, after which the following appeared in the terminal window:

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y

Installing the plug-in...
Installing: [*********************************************************************************************************************************************************************************************************] 100%

Done.

------------------------
| DOWNLOADING FIRMWARE |
------------------------

Downloading firmware to device hp:/usb/HP_LaserJet_1018?serial=KP0SYPQ...
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_1018?serial=KP0SYPQ
error: unable to open channel
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_1018?serial=KP0SYPQ
error: unable to open channel
error: Channel write error
error: An error occured: Device I/O error

Done.

What does it mean.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Was the printer turned on while you were downloading the plug-in? If not, simply turn on the printer. The download of the plug-in including the firmware file for your printer was successful, only the upload of the firmware into the printer has failed. So the firmware file is at least in your computer now. As HPLIP has a facility to automatically upload the firmware everytime the printer is turned on, simply turn on the printer and the firmware gets loaded.

If your printer was already turned on, it perhaps crashed due to receiving a job before receiving its firmware. Turn off the printer and turn it on again in this case.

Revision history for this message
Swarup Dev (dinbandhu) wrote :

You are correct-- my printer was not connected when I did the plug-in download. So now I have connected it and turned it on, and given an order to print. It gives a "device communication error". So it seems that although "HPLIP has a facility to automatically upload the firmware everytime the printer is turned on", perhaps it has not done so? How can I get the computer to upload the firmware into the printer?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Do

hp-firmware -i

and the firmware gets loaded into the printer immediately.

Revision history for this message
Swarup Dev (dinbandhu) wrote :

Here is the terminal window output when I do that command:

:~$ hp-firmware -i

HP Linux Imaging and Printing System (ver. 3.9.2)
Firmware Download Utility ver. 2.4

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Using device: hp:/usb/HP_LaserJet_1018?serial=KP0SYPQ

error: Device busy: hp:/usb/HP_LaserJet_1018?serial=KP0SYPQ
error: Error opening device (Device not found). Exiting.

I should mention that the printer is connected and turned on.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you try

sudo hp-firmware -i

Can you post the output of

lsusb
lsusb -vvv

Revision history for this message
Swarup Dev (dinbandhu) wrote :

As soon as I did "sudo hp-firmware -i", the printer roared into action. Here is the output from that command:

:~$ sudo hp-firmware -i
[sudo] password:

HP Linux Imaging and Printing System (ver. 3.9.2)
Firmware Download Utility ver. 2.4

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Using device: hp:/usb/HP_LaserJet_1018?serial=KP0SYPQ

So, now that I did that, the printer is working just fine, and printing normally. Thank you!!!

But what a big job! I'm going to have to do this again on two or three other Jaunty computers. Will I have to go through the same thing all over again? or is there a better way?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Usually you do nopt have to enter so many command line commands. Usually, during printer setup with system-config-printer the utility to download and install should get called automatically, and once the plug-in is installed, it should automatically get loaded into the printer everytime it is turned on.

If a printer does not take its firmware automatically again , call only

sudo hp-firmware -i

Revision history for this message
Swarup Dev (dinbandhu) wrote :

Yes, but what about the need to switch the printer driver to 'HP LaserJet 1018 hpijs, 3.9.2', and then after that, the need to download all those dependencies which I listed above? Is that the routine?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The switch to 'HP LaserJet 1018 hpijs, 3.9.2' is not needed, ''HP LaserJet 1018 Foomatic/foo2zjs' works as well. So if the latter is chosen automatically, you can stay with it.

The packages which hp-check asked for are mainly for getting the GUI tools of HPLIP to work (hp-toolbox or hp-sendfax for example). Som others are only needed to compile HPLIP. So you do not need to install them on your other machines. If you want to use the GUI tool, simply install "hplip-gui" and all needed packages get installed automatically.

Revision history for this message
north45thguy (firefitr) wrote :

On Mon, 2009-05-18 at 15:57 +0000, Till Kamppeter wrote:
> Your printer needs a firmware file which is missing (and contained in
> the mentioned plug-in). If you have a completely updated Jaunty, system-
> config-printer should automatically download the plug-in when setting up
> a queue for your printer.
>
> Anyway, you can install the plug-in also by running
>
> sudo hp-plugin -i
>

Thank you very very much for both the correspondence and the firmware
update link. It is installed, tested and working wonderfully!

Have a great day!

Jim Beswetherick
Michigan, USA

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

Hi Till,

I have the printer ready to be installed on a different computer as I noticed it is still not printing without any interaction from me (e.g. it's still not "plug and play").

Are there any steps/logs you'd like me to follow/produce or would you just like me to plug it in, turn it on, increase the verbosity of the cups log, try and print a job and then send you the error_log?

The only reason I hesitate is because the printer doesn't even have the spools spinning, as if it's not even receiving the commands from cups, so I'm not sure how much will show in the error_log.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

On Jaunty (with all updates) it should automatically set up, It should also offer yuou to download the formware (plugin) file.

If this does not work, turn the printer off and on again and after a minute attach /var/log/syslog to this bug report. Post also the output of

lsusb
lsusb -vvv
lpinfo -v

here.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

The printer driver installed, but the printer failed to print. It looks like it downloaded the 'HP 910 hpijs, 3.9.2' driver instead of the one for P1005, but I'm not sure, so I'm attaching the requested logs.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :
Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :
Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :
Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Brett,

Can you please test the system-config-printer 1.1.3+git20090218-0ubuntu19.2 package in jaunty-proposed to check whether it selects the correct printer model and not "HP 910"?

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Please test and give feedback here. Thank you!

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

[side note]
I got confused in 'Selective upgrading from -proposed' on how to only upgrade system-config-printer because aptitude is a very confusing program to me. If anyone can simplify those steps in the wiki, that would be much appreciated. I ended up updating my whole system with -proposed.

[real note]
I deleted my HP LaserJet P1005 through -19.1 and then upgraded to -19.2, turned on the printer and it appears it is using 'HP LaserJet P1005 Foomatic/foo2xqx (recommended)' with the URI as 'hp:/usb/HP_LaserJet_P1005?serial=BC174RP'.

Still no printing unfortunately. The printer says that the document is complete, but the printer makes no action (spools don't spin or anything).

Please let me know what further debugging information you need.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

So the model mis-detection bug is actually fixed in the -proposed package of system-config-printer. The remaining problem now is to get the firmware of the printer loaded.

Can you run again

hp-info -i -d hp:/usb/HP_LaserJet_P1005?serial=BC174RP --id

and post the output here?

Can you post the output of

ls -l /usr/share/hplip/data/firmware/
ls -l /usr/share/foo2xqx/firmware/

Can you run

cancel -a
sudo hp-firmware -i

and try to print again? Does it work now?

Please also attach /var/log/syslog, to see the messages caused by the steps mentioned above.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

Requested output:

$ hp-info -i -d hp:/usb/HP_LaserJet_P1005?serial=BC174RP --id

HP Linux Imaging and Printing System (ver. 3.9.2)
System Tray Status Service ver. 2.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.

$ ls -l /usr/share/hplip/data/firmware/
total 1020
-rwxr-xr-- 1 root root 50236 2009-06-15 12:03 hp_laserjet_1000.fw.gz
-rwxr-xr-- 1 root root 52233 2009-06-15 12:03 hp_laserjet_1005_series.fw.gz
-rwxr-xr-- 1 root root 70543 2009-06-15 12:03 hp_laserjet_1018.fw.gz
-rwxr-xr-- 1 root root 70412 2009-06-15 12:03 hp_laserjet_1020.fw.gz
-rwxr-xr-- 1 root root 153404 2009-06-15 12:03 hp_laserjet_p1005.fw.gz
-rwxr-xr-- 1 root root 153487 2009-06-15 12:03 hp_laserjet_p1006.fw.gz
-rwxr-xr-- 1 root root 153404 2009-06-15 12:03 hp_laserjet_p1007.fw.gz
-rwxr-xr-- 1 root root 153487 2009-06-15 12:03 hp_laserjet_p1008.fw.gz
-rwxr-xr-- 1 root root 166020 2009-06-15 12:03 hp_laserjet_p1505.fw.gz

$ ls -l /usr/share/foo2xqx/firmware/
total 0

<I didn't turn the printer on until here, after I ran 'sudo hp-firmware -i' once and it failed to detect the printer>

$ sudo hp-firmware -i

HP Linux Imaging and Printing System (ver. 3.9.2)
Firmware Download Utility ver. 2.4

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Using device: hp:/usb/HP_LaserJet_P1005?serial=BC174RP

Done.

Steve Beattie (sbeattie)
tags: added: hw-specific
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Anyone, please, who has the problem of system-config-printer considering an HP printer as "HP 910", can you please test the system-config-printer on jaunty-proposed?

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed.

Report your results here. Thank you in advance!

Revision history for this message
TemporarilyOffline (temporarilyoffline) wrote :

Installed proposed system-config-printer-gnome package (...19.2) and the system installed the proper driver for the detected printer instead of the first in the list.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-printer - 1.1.3+git20090218-0ubuntu19.2

---------------
system-config-printer (1.1.3+git20090218-0ubuntu19.2) jaunty-proposed; urgency=low

  * debian/patches/63_compare-make-model-case-insensitive-fix-queue-name-default.patch:
    Compare make and model names case-insensitively when positioning the
    cursor in the make/model selection list (LP: #365329).
    Assure that all New Printer wizard steps which are shown get correctly
    prepared, especially for automatic driver download and proposal of a
    print queue name dependent on the printer model (LP: #365329, comment #6,
    part 2).

 -- Till Kamppeter <email address hidden> Wed, 29 Apr 2009 17:35:59 +0200

Changed in system-config-printer (Ubuntu Jaunty):
status: Fix Committed → Fix Released
Revision history for this message
Francisco Marzoa (francisco-marzoa) wrote :

Hello,

I'm having similar problems with my HP 5180C through the Ethernet interface, while through USB I've been able to do it work. Anyway it was working fine also through Ethernet before I upgraded my kubuntu 8.04 to kubuntu 9.04 (fresh install actually), so I think it's not a network problem. I've checked also that the printer answers to a ping command.

Like Brett, I can see the printer and send jobs that are queued, but the printer does nothing and the jobs are never printed.

I attach my error log after setting CUPS debug to verbose, and also my access_log.

Revision history for this message
Francisco Marzoa (francisco-marzoa) wrote :
Revision history for this message
Francisco Marzoa (francisco-marzoa) wrote :

Forget my previous comment or even delete it.

I've found that the problem was my switch. Unfortunatly it gets broken by chance while I upgrade my distribution, so I was thinking the main problem was that upgrade as with 8.04 it was working fine.

I've checked also network level before using ping, but I discard problems with this after just two or three packages, but I've found later that if I sent a bunch of ICMP packages, about 1/4 of them was lost. So I checked connections, wires and the switch (actually an ADSL router with four ethernet ports), and replacing it by an older hub I do not lost ICMP packages anymore and I was able to print the test page without problems.

Hope I didn't you lost too much time with this.

Changed in foo2zjs (Ubuntu):
status: Incomplete → Fix Committed
Changed in hplip (Ubuntu):
status: Incomplete → Confirmed
Changed in foo2zjs (Ubuntu Jaunty):
status: Won't Fix → Confirmed
Changed in system-config-printer (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

Don't change bug statuses without explanation.

Changed in foo2zjs (Ubuntu):
status: Fix Committed → Incomplete
Changed in hplip (Ubuntu):
status: Confirmed → Incomplete
Changed in foo2zjs (Ubuntu Jaunty):
status: Confirmed → Won't Fix
Changed in system-config-printer (Ubuntu):
status: Confirmed → Fix Released
Changed in foo2zjs (Ubuntu):
status: Incomplete → Confirmed
Changed in hplip (Ubuntu):
status: Incomplete → Confirmed
Changed in hplip (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

Don't change bug statuses without explanation!

Changed in foo2zjs (Ubuntu):
status: Confirmed → Incomplete
Changed in hplip (Ubuntu):
status: Fix Committed → Incomplete
Changed in foo2zjs (Ubuntu):
status: Incomplete → Invalid
Changed in hplip (Ubuntu):
status: Incomplete → Invalid
Changed in hplip:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.