HP LaserJet P1006 / P1008 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
HP P1006 on Debian(lenny) [solved]
Posted by: asterie ()
Date: November 27, 2009 07:13AM

Hello, could you please help me, I followed your instructions, but fail to print...
Job status is "complete", but nothing printed. The harware is fine, as I checked it on Windows. Here is the syslog:
Nov 27 12:54:42 minideb hal_lpadmin: add
Nov 27 12:54:43 minideb hal_lpadmin: URIs: ['usb://HP/LaserJet%20P1006', 'hal:///org/freedesktop/Hal/devices/usb_device_3f0_3e17_AC1YW99_if0_printer_noserial']
Nov 27 12:54:43 minideb hal_lpadmin: HPLIP Fax URIs: None
Nov 27 12:54:43 minideb hal_lpadmin: Not adding printer: HP_LaserJet_P1006 already exists
Nov 27 13:04:15 minideb foo2zjs-wrapper: foo2zjs-wrapper -P -r600x600 -p9 -s7 -m1 -n1
Nov 27 13:04:17 minideb foo2zjs-wrapper: gs -sPAPERSIZE=a4 -g4960x7016 -r600x600 -sDEVICE=pbmraw -dCOLORSCREEN
Nov 27 13:04:17 minideb foo2zjs-wrapper: foo2zjs -r600x600 -g4960x7016 -p9 -m1 -n1 -d1 -s7 -z0 -u 112x100 -l 112x100 -P

Natalie



Edited 1 time(s). Last edit at 11/27/2009 10:33AM by rickrich.

Options: ReplyQuote
Re: HP P1006 on Debian(lenny)
Posted by: rickrich ()
Date: November 27, 2009 07:20AM

Did you do
$ make
$ ./getweb P1006
$ sudo make install install-hotplug
Then power down and up the printer?

What does this say:
$ sudo usb_printerid /dev/usb/lp0
???

Options: ReplyQuote
Re: HP P1006 on Debian(lenny)
Posted by: asterie ()
Date: November 27, 2009 07:29AM

I've done make install install-hotplug, yes.

Now I try ./getweb P1006,
The reply is :
sihpP1006.img
(c) Copyright Hewlett-Packard 2008

Than off/on printer, red lamp blinks, printer says urrrrrrrrr, than green light on.

Try to print test, the same result - job complete, nothing printed. :(

minideb:~/foo2zjs# usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet P1006;CMD:HBS,PJL,ACL;CLS:PRINTER;DES:HP LaserJet P1006;FWVER:20080415;

...

Options: ReplyQuote
Re: HP P1006 on Debian(lenny)
Posted by: rickrich ()
Date: November 27, 2009 08:00AM

What is the URI???

Options: ReplyQuote
Re: HP P1006 on Debian(lenny)
Posted by: asterie ()
Date: November 27, 2009 08:09AM

as it should be, I guess:

minideb:~/foo2zjs# grep URI /etc/cups/printers.conf
DeviceURI usb://HP/LaserJet%20P1006

Options: ReplyQuote
Re: HP P1006 on Debian(lenny)
Posted by: rickrich ()
Date: November 27, 2009 10:08AM

What does this say:
$ foo2xqx-wrapper testpage.ps > xxx
$ sudo cp xxx /dev/usb/lp0

???

Options: ReplyQuote
Re: HP P1006 on Debian(lenny)
Posted by: rickrich ()
Date: November 27, 2009 10:33AM

Nov 27 13:04:15 minideb foo2zjs-wrapper: foo2zjs-wrapper -P -r600x600 -p9 -s7 -m1 -n1
Nov 27 13:04:17 minideb foo2zjs-wrapper: gs -sPAPERSIZE=a4 -g4960x7016 -r600x600 -sDEVICE=pbmraw -dCOLORSCREEN
Nov 27 13:04:17 minideb foo2zjs-wrapper: foo2zjs -r600x600 -g4960x7016 -p9 -m1 -n1 -d1 -s7 -z0 -u 112x100 -l 112x100 -P

This is WRONG!

You should be using foo2xqx!

See Screenshot

Options: ReplyQuote
Re: HP P1006 on Debian(lenny) [solved]
Posted by: asterie ()
Date: November 30, 2009 04:03AM

I see, thank you... is it possible to print from command line now?

Options: ReplyQuote
Re: HP P1006 on Debian(lenny) [solved]
Posted by: asterie ()
Date: November 30, 2009 05:06AM

Great thanks!
It works, I've find out how to print using your testpage.ps example

Natalie

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.