LaserJet p1005

Asked by Sabaki

Hello,
I installed hplip on Suse 10.1 for a printer HP LaserJet P1005 and I can't get it work.
I checked hplip system requirements for my system and all seems ok.
When I try to print a test page with bundled device manager, i get the following cups.log output :

[...]
D [26/Feb/2008:12:05:35 +0100] [Job 9] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet" -dDuplex=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
D [26/Feb/2008:12:05:35 +0100] [Job 9] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=HP LaserJet' '-dDuplex=false' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2
D [26/Feb/2008:12:05:35 +0100] [Job 9] unable to open PrintContext object err=16
D [26/Feb/2008:12:05:35 +0100] [Job 9] ESP Ghostscript 8.15.1: Can't start ijs server "hpijs"
D [26/Feb/2008:12:05:35 +0100] [Job 9] **** Unable to open the initial device, quitting.
D [26/Feb/2008:12:05:35 +0100] [Job 9] renderer return value: 1
D [26/Feb/2008:12:05:35 +0100] [Job 9] renderer received signal: 1
D [26/Feb/2008:12:05:35 +0100] [Job 9] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
[...]

Additionaly, when running hp-check, I have 2 errors

1)
Checking for dependency: ppdev - Parallel port support kernel module....
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "modprobe ppdev"

My printer is USB, is ppdev really required ?

2)
HP_LaserJet_P1005
-----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/HP_LaserJet_P1005?serial=BB01WJL
PPD: /etc/cups/ppd/HP_LaserJet_P1005.ppd
PPD Description: HP LaserJet P1505 Foomatic/hpijs/pcl, hpijs 2.8.2.10
Printer status: printer HP_LaserJet_P1005 now printing HP_LaserJet_P1005-11. enabled since Jan 01 00:00
************ error: Required plug-in status: Not installed ***********
Communication status: Good

Thanks,
Louis Meckes <louis.meckes at gmail.com>

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Sabaki
Solved:
Last query:
Last reply:
Revision history for this message
Sabaki (louis-meckes) said :
#1

I just found that the command "hp-firmware" shows an error

HP Linux Imaging and Printing System (ver. 2.8.2)
Firmware Download Utility ver. 1.0

Copyright (c) 2001-7 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=BB01WJL
error: Firmware file '/usr/share/hplip/data/firmware/hp_laserjet_p1005.fw.gz' not found.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#2

You should just need to delete the printer queue and re-add it. During the hp-setup process it will detect and ask to install the plugin.

Additionally you may want to run these commands to make sure the plugin will be detected, it seems you had a partial setup of some sort.

cd /usr/share/hplip/data/firmware
rm *

cd /usr/share/hplip/data/plugins
rm *

cd /usr/share/hplip/prnt/plugins
rm *

Then run

hp-setup

You'll need to be root in all the cases above to run the commands.

Hope this helps.

Aaron

Revision history for this message
Sabaki (louis-meckes) said :
#3

I'm afraid this didn't work :-(
I removed /usr/share/hplip/data/plugins/*, but I have no directory named "/usr/share/hplip/data/firmware" or "/usr/share/hplip/prnt/plugins".
I started hp-setup, choose to download the plugin from an HP authorized server, agree to the licence, and the progress bar goes to about 5% (says : downloading configuration).
Then the download dialog exits without warning. At the end of the setup, the test page doesn't print.
I can see that /usr/share/hplip/data/plugins/plugins.conf is re-generated.
But after this process, hp-firmware command still shows this error message :
Using device: hp:/usb/HP_LaserJet_P1005?serial=BB01WJL
error: Firmware file '/usr/share/hplip/data/firmware/hp_laserjet_p1005.fw.gz' not found.

I tried your instructions 3 or 4 times, even creating my two missing directories by hand.
Strangely, hp-setup crashed one time with the following console output :

Traceback (most recent call last):
  File "/usr/share/hplip/ui/pluginform.py", line 185, in installPushButton_clicked
    self.download_callback)
  File "/usr/share/hplip/installer/core_install.py", line 1487, in get_plugin_info
    filename, headers = urllib.urlretrieve(PLUGIN_CONF_URL, conf, callback)
  File "/usr/lib/python2.4/urllib.py", line 84, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.4/urllib.py", line 217, in retrieve
    fp = self.open(url, data)
  File "/usr/lib/python2.4/urllib.py", line 185, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.4/urllib.py", line 308, in open_http
    h.endheaders()
  File "/usr/lib/python2.4/httplib.py", line 795, in endheaders
    self._send_output()
  File "/usr/lib/python2.4/httplib.py", line 676, in _send_output
    self.send(msg)
  File "/usr/lib/python2.4/httplib.py", line 643, in send
    self.connect()
  File "/usr/lib/python2.4/httplib.py", line 617, in connect
    self.sock.connect(sa)
  File "<string>", line 1, in connect
KeyboardInterrupt
Done.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#4

I'm working on reproducing this right now. I'll let you know what my results are. Shouldn't be too long.

Thanks for your patience.

Aaron

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

Louis,

We think we know what the problem is and we'll have this fixed ASAP. I'll let you know when to try configuring your printer again. It will probably be early this afternoon before everything will be good.

You will not need to download any patch or anything. It appears to be a server consideration with where the plugins are hosted.

Sorry for the inconvenience!

Aaron

Revision history for this message
Sabaki (louis-meckes) said :
#6

Thanks for your support, which is much better than many commercial ones

Louis

Revision history for this message
Sabaki (louis-meckes) said :
#7

Thanks !
The plugin has been downloaded and I just printed my first page !

Louis

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#8

Great!

Sorry about that, shouldn't happen in the future.

Although if you need any other assistance please feel free to post another ticket.

Thanks for your support of HPLIP!

Aaron

Revision history for this message
David Carter (dcarter) said :
#9

I'm having almost identical issues with my LaserJet p1505. Like Louis, my firmware is nowhere to be found. The error in the cups log looks like:

D [12/Aug/2008:18:18:32 -02-30] [Job 3] renderer PID kid4=8717
D [12/Aug/2008:18:18:32 -02-30] [Job 3] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet" -dDuplex=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
D [12/Aug/2008:18:18:33 -02-30] [Job 3] unable to open PrintContext object err=16
D [12/Aug/2008:18:18:33 -02-30] [Job 3] GPL Ghostscript 8.61: Can't start ijs server "hpijs"
D [12/Aug/2008:18:18:33 -02-30] [Job 3] renderer return value: 1
D [12/Aug/2008:18:18:33 -02-30] [Job 3] renderer received signal: 1
D [12/Aug/2008:18:18:33 -02-30] [Job 3] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [12/Aug/2008:18:18:33 -02-30] [Job 3] error: No such file or directory (2)
D [12/Aug/2008:18:18:33 -02-30] [Job 3] Possible error on renderer command line or PostScript error. Check options.
D [12/Aug/2008:18:18:33 -02-30] [Job 3] tail process done writing data to STDOUT
D [12/Aug/2008:18:18:33 -02-30] [Job 3] KID4 finished
D [12/Aug/2008:18:18:33 -02-30] Discarding unused printer-state-changed event...
D [12/Aug/2008:18:18:33 -02-30] [Job 3] Before copy_setup - DEBUG: Before page loop - DEBUG: Wrote 0 pages...
D [12/Aug/2008:18:18:33 -02-30] PID 8707 (/usr/lib/cups/filter/pstops) exited with no errors.
D [12/Aug/2008:18:18:33 -02-30] [Job 3]
D [12/Aug/2008:18:18:33 -02-30] [Job 3] Closing renderer
D [12/Aug/2008:18:18:33 -02-30] [Job 3] KID3 exited with status 3
D [12/Aug/2008:18:18:33 -02-30] [Job 3] Renderer exit stat: 3
D [12/Aug/2008:18:18:33 -02-30] [Job 3] Renderer process finished
D [12/Aug/2008:18:18:33 -02-30] [Job 3] Killing process 8716 (KID3)
D [12/Aug/2008:18:18:33 -02-30] [Job 3] Process dying with "Error closing renderer", exit stat: 3
D [12/Aug/2008:18:18:33 -02-30] [Job 3] error: Illegal seek (29)
D [12/Aug/2008:18:18:33 -02-30] [Job 3] Error closing renderer
E [12/Aug/2008:18:18:33 -02-30] PID 8708 (/usr/lib/cups/filter/foomatic-rip-hplip) stopped with status 3!

And my output when running hp-firmware is:

HP Linux Imaging and Printing System (ver. 2.8.7)
Firmware Download Utility ver. 1.1

Copyright (c) 2001-8 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_P1505?serial=CA5944J
error: Unable to connect to dbus session bus.
error: Firmware file '/usr/share/hplip/data/firmware/hp_laserjet_p1505.fw.gz' not found.
error: Firmware download failed.

Also, as shown above, there seems to be a problem with dbus. The hp-check shows this error:

hp-check[8541]: info: :[01mLaserJet[0m
hp-check[8541]: info: :[01m--------[0m
hp-check[8541]: info: :Type: Printer
hp-check[8541]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[8541]: info: :Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA5944J
hp-check[8541]: info: :PPD: /etc/cups/ppd/LaserJet.ppd
hp-check[8541]: info: :PPD Description: HP LaserJet p1505n Foomatic/hpijs, hpijs 2.8.7
hp-check[8541]: info: :Printer status: printer LaserJet is idle. enabled since Tue 12 Aug 2008 06:04:26 PM NDT^M /usr/lib/cups/filter/foomatic-rip-hplip failed^M
error: Unable to connect to dbus session bus.
error: Required plug-in status: Not installed

Except that dbus is installed and active.

Finally, hp-check also showed this:

hp-check[8541]: info: :[01mChecking SIP version...[0m
error: SIP not installed or version not found.

Suggestions?

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#10

David,

If you don't mind please start a new ticket.

Then post the entire hp-check -t output.

Thanks!

Aaron