HP LaserJet P1005 unusable in 8.04 and 9.04 & 9.10

Bug #363522 reported by Brett Alton
50
This bug affects 4 people
Affects Status Importance Assigned to Milestone
HPLIP
Invalid
Undecided
Unassigned
system-config-printer (Ubuntu)
Fix Released
High
Till Kamppeter
Jaunty
Fix Released
High
Till Kamppeter

Bug Description

Binary package hint: cups

In Ubuntu Hardy 8.04 I could plug in my HP LaserJet P1005 and Ubuntu would attempt to install a driver. Unfortunately, the driver would install but the printer would not print. I learned that it needed the newest hplip (or at least try it, which Jaunty 9.04 had) so I installed that.

When I plugged the printer in in Ubuntu Jaunty 9.04, Ubuntu stated that the driver could not be installed and needed a proprietary extension. It proceeded to run 'sudo hp-setup -u'. Unfortunately the program failed to run and I was unable to get my printer working at that point.

I ran the program manually in the terminal (sudo hp-setup -u) but it failed saying qt4 was unavailable:

HP Linux Imaging and Printing System (ver. 3.9.2)
Plugin Download and Install Utility ver. 2.1

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-plugin requires GUI support (try running with --qt3). Try using interactive (-i) mode.

So I tried it with --qt3 and that failed, but -i worked. Using -i I was able to install the proper plugins (according to the program). I then tried to print and failed to do so three times. Here is my output of /var/log/cups/error_log:

E [18/Apr/2009:15:04:03 -0400] [CGI] Unable to scan "@LOCAL"!
E [18/Apr/2009:15:06:53 -0400] [CGI] Unable to scan "@LOCAL"!
E [18/Apr/2009:15:08:33 -0400] [CGI] Unable to scan "@LOCAL"!
E [18/Apr/2009:17:43:14 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [18/Apr/2009:17:43:19 -0400] PID 3975 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9!
E [18/Apr/2009:17:43:39 -0400] [Job 1] Job stopped due to filter errors.
E [18/Apr/2009:17:44:35 -0400] cupsdAuthorize: Local authentication certificate not found!
E [18/Apr/2009:17:44:35 -0400] cupsdAuthorize: Local authentication certificate not found!
E [18/Apr/2009:17:44:35 -0400] cupsdAuthorize: Local authentication certificate not found!
E [18/Apr/2009:17:44:36 -0400] PID 4088 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9!
E [18/Apr/2009:17:44:36 -0400] cupsdAuthorize: Local authentication certificate not found!
E [18/Apr/2009:17:44:36 -0400] cupsdAuthorize: Local authentication certificate not found!
E [18/Apr/2009:17:44:56 -0400] [Job 2] Job stopped due to filter errors.
E [18/Apr/2009:17:44:56 -0400] cupsdAuthorize: Local authentication cIertificate not found!
E [18/Apr/2009:17:45:15 -0400] cupsdAuthorize: Local authentication certificate not found!
E [18/Apr/2009:17:45:15 -0400] cupsdAuthorize: Local authentication certificate not found!
E [18/Apr/2009:17:55:07 -0400] PID 3504 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9!
E [18/Apr/2009:17:55:27 -0400] [Job 3] Job stopped due to filter errors.

I also tired installing hplip-3.9.2.run manually but that failed (I'll have to post the error later).

I'm not sure who this bug should be filed under, but I'd really like to get this printer working and any help would be appreciated. I'm willing to go through any sort of debugging process you guys throw at me if it helps hplip/cups :)

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

The fix is simple, debdiff for SRU (or perhaps even direct upload into Jaunty) attached.

The fix is needed to make the automatic firmware download/installation feature of system-config-printer working with HPLIP 3.9.2.

Changed in cups (Ubuntu):
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

How do I apply this patch so I can test it to see if it works? Sorry, I'm not a developer (just starting CS) and only know how to install binaries ATM

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

I still can't get the printer to work, even after apply your debdiff using https://wiki.ubuntu.com/UbuntuPackagingGuide/BuildFromDebdiff.

I get this in /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!

What can I do to debug this printer?

Martin Pitt (pitti)
affects: cups (Ubuntu) → system-config-printer (Ubuntu)
Changed in system-config-printer (Ubuntu Jaunty):
assignee: nobody → Till Kamppeter (till-kamppeter)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Brett Alton, you are probably running into another bug, please follow the instructions on https://wiki.ubuntu.com/DebuggingPrintingProblems.

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

Accepted system-config-printer into jaunty-proposed-proposed; please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote : Re: HP LaserJet P1005 unusable in 8.04 and 9.04

As the owner of this bug, I can confirm that this patch does allow HPLIP to install the proper patch for my printer.

However, I found two problems:

Firstly, HPLIP runs through a terminal and asks me if I would like to download the plugin and if I accept the license, etc. It being in a terminal seems horribly out of place with the look & feel of the desktop. I was able to traverse through the instructions, but it doesn't seem to fit in the GNOME desktop

Secondly, when the plugin is done downloading and installing, the dialogue that says "Describe printer" and asks for the printer's Name, Description and Location has the printer's name as 'printer'. Not sure if you can add a hook to add the proper printer's name after HPLIP runs, but I'm sure it'd help with look & feel.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Brett, the HP tool is run in a terminal because the GUI of it is Qt-based and Qt is not installed on your machine (as on any standard Ubuntu installation).

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

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

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

  * debian/patches/60_hp-plugin-with-hplip-3.9.2.patch: Make call of
    hp-plugin both with and without python-qt4 also work with HPLIP 3.9.2
    (LP: #363522).

 -- Till Kamppeter <email address hidden> Mon, 20 Apr 2009 14:21:59 +0200

Changed in system-config-printer (Ubuntu Jaunty):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

copied to karmic

Changed in system-config-printer (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
wojosockie (redrubberchicken) wrote :

I don't know if this helps, but I have had the same problem as described in many other bugs similar to this person. I have a recently updated Ubuntu 9.04 install with a HP LaserJet P1006 printer (USB). I cannot get this to work. It says that it is installed automatically, and sometimes prints a test page, but doesn't work or says communications don't work when attempting to print a page.

I went to: https://wiki.ubuntu.com/DebuggingPrintingProblems

this is the output of doing what that page asks.

michael@Munin:~$ lsb | grep usb
bash: lsb: command not found
michael@Munin:~$ lsmod | grep usb
usblp 20224 0
usbhid 42336 0
usb_storage 82880 0
michael@Munin:~$ tail -f /var/log/messages
May 3 12:13:48 Munin kernel: [ 31.956835] Bridge firewalling registered
May 3 12:13:52 Munin kernel: [ 35.589709] agpgart-intel 0000:00:00.0: AGP 3.0 bridge
May 3 12:13:52 Munin kernel: [ 35.589728] agpgart-intel 0000:00:00.0: putting AGP V3 device into 8x mode
May 3 12:13:52 Munin kernel: [ 35.589771] nvidia 0000:01:00.0: putting AGP V3 device into 8x mode
May 3 12:13:53 Munin kernel: [ 36.759013] ADDRCONF(NETDEV_UP): eth0: link is not ready
May 3 12:13:53 Munin kernel: [ 36.878117] e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
May 3 12:13:53 Munin kernel: [ 36.878320] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
May 3 12:15:09 Munin pulseaudio[3610]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
May 3 12:15:09 Munin pulseaudio[3610]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
May 3 12:26:49 Munin kernel: [ 813.481483] usb 1-1: USB disconnect, address 2
May 3 12:27:56 Munin kernel: [ 880.356051] usb 1-1: new high speed USB device using ehci_hcd and address 7
May 3 12:27:56 Munin logger: loading hp_laserjet_p1006 firmware 001 007
May 3 12:27:56 Munin kernel: [ 880.508206] usb 1-1: configuration #1 chosen from 1 choice
May 3 12:27:56 Munin kernel: [ 880.510983] usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3E17
May 3 12:27:57 Munin /etc/hotplug/usb/hpljP1006: foo2zjs: loading HP LaserJet P1006 firmware /usr/share/foo2xqx/firmware/sihpP1006.dl to /dev/usb/lp0 ...
May 3 12:28:00 Munin kernel: [ 883.974930] usblp0: nonzero write bulk status received: -108
May 3 12:28:00 Munin kernel: [ 883.975321] usblp0: removed
May 3 12:28:00 Munin /etc/hotplug/usb/hpljP1006: foo2zjs: ... download failed.
^C
michael@Munin:~$ lpinfo -v
network socket
network beh
direct hal
direct hpfax
direct hp:/usb/HP_LaserJet_P1006?serial=AC1TR9V
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct scsi
serial serial:/dev/ttyS0?baud=115200
network smb
michael@Munin:~$

How do I get this working? or what do I do from here?

Thank you for your help.

Revision history for this message
dwelch91 (dwelch91) wrote : Re: [Bug 363522] Re: HP LaserJet P1005 unusable in 8.04 and 9.04
Download full text (3.4 KiB)

It looks like foo2zjs may be trying to download firmware during the print...
try uninstalling it.

On Sun, May 3, 2009 at 10:35 AM, wojosockie <email address hidden>wrote:

> I don't know if this helps, but I have had the same problem as described
> in many other bugs similar to this person. I have a recently updated
> Ubuntu 9.04 install with a HP LaserJet P1006 printer (USB). I cannot
> get this to work. It says that it is installed automatically, and
> sometimes prints a test page, but doesn't work or says communications
> don't work when attempting to print a page.
>
> I went to: https://wiki.ubuntu.com/DebuggingPrintingProblems
>
> this is the output of doing what that page asks.
>
> michael@Munin:~$ lsb | grep usb
> bash: lsb: command not found
> michael@Munin:~$ lsmod | grep usb
> usblp 20224 0
> usbhid 42336 0
> usb_storage 82880 0
> michael@Munin:~$ tail -f /var/log/messages
> May 3 12:13:48 Munin kernel: [ 31.956835] Bridge firewalling registered
> May 3 12:13:52 Munin kernel: [ 35.589709] agpgart-intel 0000:00:00.0:
> AGP 3.0 bridge
> May 3 12:13:52 Munin kernel: [ 35.589728] agpgart-intel 0000:00:00.0:
> putting AGP V3 device into 8x mode
> May 3 12:13:52 Munin kernel: [ 35.589771] nvidia 0000:01:00.0: putting
> AGP V3 device into 8x mode
> May 3 12:13:53 Munin kernel: [ 36.759013] ADDRCONF(NETDEV_UP): eth0:
> link is not ready
> May 3 12:13:53 Munin kernel: [ 36.878117] e1000: eth0: e1000_watchdog:
> NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
> May 3 12:13:53 Munin kernel: [ 36.878320] ADDRCONF(NETDEV_CHANGE): eth0:
> link becomes ready
> May 3 12:15:09 Munin pulseaudio[3610]: alsa-util.c: Cannot find fallback
> mixer control "PCM" or mixer control is no combination of switch/volume.
> May 3 12:15:09 Munin pulseaudio[3610]: alsa-util.c: Cannot find fallback
> mixer control "Mic" or mixer control is no combination of switch/volume.
> May 3 12:26:49 Munin kernel: [ 813.481483] usb 1-1: USB disconnect,
> address 2
> May 3 12:27:56 Munin kernel: [ 880.356051] usb 1-1: new high speed USB
> device using ehci_hcd and address 7
> May 3 12:27:56 Munin logger: loading hp_laserjet_p1006 firmware 001 007
> May 3 12:27:56 Munin kernel: [ 880.508206] usb 1-1: configuration #1
> chosen from 1 choice
> May 3 12:27:56 Munin kernel: [ 880.510983] usblp0: USB Bidirectional
> printer dev 7 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3E17
> May 3 12:27:57 Munin /etc/hotplug/usb/hpljP1006: foo2zjs: loading HP
> LaserJet P1006 firmware /usr/share/foo2xqx/firmware/sihpP1006.dl to
> /dev/usb/lp0 ...
> May 3 12:28:00 Munin kernel: [ 883.974930] usblp0: nonzero write bulk
> status received: -108
> May 3 12:28:00 Munin kernel: [ 883.975321] usblp0: removed
> May 3 12:28:00 Munin /etc/hotplug/usb/hpljP1006: foo2zjs: ... download
> failed.
> ^C
> michael@Munin:~$ lpinfo -v
> network socket
> network beh
> direct hal
> direct hpfax
> direct hp:/usb/HP_LaserJet_P1006?serial=AC1TR9V
> network http
> network ipp
> network lpd
> direct parallel:/dev/lp0
> direct scsi
> serial serial:/dev/ttyS0?baud=115200
> network smb
> michael@Munin:~$
>
> How do I get this workin...

Read more...

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Re: HP LaserJet P1005 unusable in 8.04 and 9.04

On your system there are probably happening two firmware concurrently when you are turning on the printer.

Try

sudo chmod a-r /usr/share/foo2xqx/firmware/sihpP1006.dl

to block the firmware upload done by foo2zjs. Then turn off and turn on your printer. If the printer does not start working correctly by that, run

sudo hp-plugin -i

and follow the instructions on the screen to download the HP plug-in (another source for the printer's firmware, used by HPLIP).

Check also which driver got assigned to your printerand tell it here. Change to the "hpijs" driver if another driver got chosen.

Revision history for this message
DaleC (twodalec) wrote :

this problem related to installing the hp laserjet p1006 in karmic. i tried till's last instructions.. and it created a cups version
of the printer... that works.... this has been a somewhat frustrating problem dealing with printers in karmic. I had to give up on using a lexmark all in one x73 because i'm pretty sure there is no way to get it to print from ubuntu.
so I picked up the laserjet on sale, because it was recommended both on the ubuntu forums and in the recommended hardware list. much banging of head on desk when it didn't work either. fixing took probably about 5 hours of research, looking trying.. I appreciate the community support.. and i'm making a commitment to using ubuntu for my family daily computing system.. if i was a casual non commited user.. i'd probably have given up.. ...

thanks again for the help Till!

summary: - HP LaserJet P1005 unusable in 8.04 and 9.04
+ HP LaserJet P1005 unusable in 8.04 and 9.04 & 9.01
summary: - HP LaserJet P1005 unusable in 8.04 and 9.04 & 9.01
+ HP LaserJet P1005 unusable in 8.04 and 9.04 & 9.10
Revision history for this message
Ahsen Omar Majid (ahsen-omar) wrote :

Till Kamppeter, when I try sudo hp-plugin -i I get this error message:

Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 39, in <module>
    from base import device, utils, tui, module
  File "/usr/share/hplip/base/device.py", line 37, in <module>
    import status
  File "/usr/share/hplip/base/status.py", line 40, in <module>
    import hpmudext
ImportError: /usr/lib/python2.6/dist-packages/hpmudext.so: undefined symbol: hpmud_make_par_uri

Anything I can do about this?

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

Ahsen, are you sure that all componente of HPLIP are installed on your system and that they are of the same version? Please check with "dpkg -l | grep -i hplip". "apt-get install --reinstall" the components.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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