Author Topic: <Solved. Setting up an HP Laserjet P1005  (Read 1668 times)

Offline philld

  • Full Member
  • ***
  • Posts: 132
<Solved. Setting up an HP Laserjet P1005
« on: May 26, 2011, 02:11:13 PM »
 ???
My HP Laserjet 4P final gave out and the shop has provided me with a HP Laserjet P1005.  I deleted the old printer and attempted to install the P1005 - first with the HPLIP driver and when that didn't work removed (through CUPS) and tried to reinstall indicating USB.  When I attempt to print, there is no action from the printer and when I check in CUPS I see the following message "If you have more than one HP LaserJet P1005 printer connected to this machine, please unload (and blacklist) the "usblp" kernel module as otherwise CUPS will not be able to distinguish your printers."  From the forum I noticed that to do the blacklist, that it was available to do the blacklist by installing from SYNAPTIC.  Installed the module, rebooted the machine, and I still get the same message above when I try to print.  Not sure how to proceed with getting the printer setup.
« Last Edit: May 28, 2011, 08:42:28 AM by philld »

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Setting up an HP Laserjet P1005
« Reply #1 on: May 26, 2011, 02:22:17 PM »
Hello,

HP P1005 is a so called "host based printer", it require software to perform the page rendering, definitely you need hplip installed.
About usblp module, as far as you only have one usb printer it's not a problem to use the usblp module.

Then reinstall the hplip package, reconfigure the printer, try the test page. If something go wrong check the log files in /var/log/cups.

AS

Offline philld

  • Full Member
  • ***
  • Posts: 132
Re: Setting up an HP Laserjet P1005
« Reply #2 on: May 28, 2011, 04:51:41 AM »
Thanks AS - removed the blacklist, removed the printer and rebooted the machine and started fresh.  CUPS sees the printer has it was found when adding the printer but when I tried to print the test page, it said it was processing and then after a few seconds, the job disappeared from the queue but no physical output.

Should they provide any clue, here is a lpstat, error_log and printers.conf

LPSTAT
[socrates@LP2 ~]$ lpstat -v
device for CANONPIP4200: ipp://192.168.0.52:631/printers/CANONPIP4200
device for HP-LaserJet-P1005: ipp://192.168.0.52:631/printers/HP-LaserJet-P1005
device for HP_LaserJet_P1005: hp:/usb/HP_LaserJet_P1005?serial=BB03ZGG

The 2nd line is the printer as defined under WinXP which by the way is working.

PRINTERS.CONF
# Printer configuration file for CUPS v1.4.6
# Written by cupsd on 2011-05-28 06:39
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HP_LaserJet_P1005>
Info HP LaserJet P1005LNX
Location LP2
MakeModel HP LaserJet P1005 Foomatic/foo2xqx (recommended)
DeviceURI hp:/usb/HP_LaserJet_P1005?serial=BB03ZGG
State Idle
StateTime 1306579136
Type 8425492
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 0 foomatic-rip
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>


ERROR_LOG
W [28/May/2011:06:33:30 -0400] No limit for Validate-Job defined in policy authenticated - using Print-Job's policy
E [28/May/2011:06:33:31 -0400] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [28/May/2011:06:37:00 -0400] [cups-deviced] PID 3411 (cups2pegg) stopped with status 13!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/epson/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/xerox/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/hp/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/ricoh/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/citoh/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/adobe/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/ti/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/minolta/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/samsung/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/oki/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/nec/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/fujitsu/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/qms/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/mitsubishi/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/canon/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/ibm/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/lexmark/readme.1st"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/lexmark/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/apple/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/panasonic/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/tektronix/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/dec/readme"!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Skipping "/usr/local/share/ppd": loop detected!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Skipping "/usr/share/ppd": loop detected!
E [28/May/2011:06:38:28 -0400] [cups-driverd] Skipping "/opt/share/ppd": loop detected!

Offline mooseman57

  • New Friend
  • *
  • Posts: 9
Re: Setting up an HP Laserjet P1005
« Reply #3 on: May 28, 2011, 05:33:56 AM »
Give this a try, it might work for you.

http://foo2xqx.rkkda.com/

Offline philld

  • Full Member
  • ***
  • Posts: 132
Re: Setting up an HP Laserjet P1005
« Reply #4 on: May 28, 2011, 08:42:00 AM »
Thanks for the suggestion mooseman57 - that did the trick - printer is working like a charm!   ;D

Offline patrokov

  • Full Member
  • ***
  • Posts: 119
    • My Website
Re: <Solved. Setting up an HP Laserjet P1005
« Reply #5 on: May 28, 2011, 09:51:29 AM »
Some tips for dealing with the P1005:
1. Any time you turn the printer off and back on, you need to re-firmware the printer.  Supposedly intall-hotplug should do it, but I find that it doesn't always. This command will force it:
Code: [Select]
# cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/usb/lp0

2. If you run out of paper, don't cycle the power, just lift the housing for the toner and then close it again.  That will reset the status without having to deal with the point above.

3. Periodically, updates to CUPS will break the print driver and you will have to recompile it.  When this happens, sometimes usblp will need to be loaded to work, and sometimes, it will need to be blacklisted.  You just never know.

Offline mooseman57

  • New Friend
  • *
  • Posts: 9
Re: <Solved. Setting up an HP Laserjet P1005
« Reply #6 on: May 28, 2011, 05:30:30 PM »
You're welcome, glad I could help.