HP LaserJet P1006 / P1008 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
Recognized but not working [Did not read the instructions]
Posted by: asierra ()
Date: May 10, 2008 12:26PM

Hello:

I did this:

# cd foo2zjs
# make
# ./getweb P1006
# make install

Then

# usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet P1006;CMD:ACL;CLS:PRINTER;DES:HP LaserJet P1006;

# foo2xqx-wrapper testpage.ps > xxx
# cp xxx /dev/usb/lp0

NOTHING HAPPENS!

What I missed or doing wrong?

Thanks inadvance for any help.



Edited 1 time(s). Last edit at 05/10/2008 01:33PM by rickrich.

Options: ReplyQuote
Re: Recognized but not working
Posted by: asierra ()
Date: May 10, 2008 01:28PM

I forget to say that it works fine in windoze, and my system is Debian sid
GNU/Linux 2.6.24-1-686. All usb devices work fine, included a canon usb scanner (with sane).

Options: ReplyQuote
Re: Recognized but not working
Posted by: rickrich ()
Date: May 10, 2008 01:28PM

You should do:
(Optional) Configure hotplug (USB; HP LJ P1005/P1006/P1505):
    # make install-hotplug      OR      $ sudo make install-hotplug
as the DIRECTIONS say.

Options: ReplyQuote
Re: Recognized but not working
Posted by: rickrich ()
Date: May 10, 2008 01:32PM

From the INSTALL file. You did READ it, didn't you?
HP LASERJET 1000/1005/1018/1020, P1005/P1006/P1505 NOTES
--------------------------------------------------------
    These printers need their firmware downloaded to them every time they
    are powered up.

	On Linux with USB connected printer:
	    If you are running Linux and the printer is connected via USB, you
	    can arrange for the firmware to be automatically downloaded to the
	    printer by performing one more installation step:

	    # make install-hotplug

	    Unplug and re-plug the USB printer.

	On another OS or with a parallel port connected printer:

	    You must send a firmware file to the printer each time you power it
	    up.  If you downloaded the extra files for the HP above, a typical
	    command line to load the firmware would be ONE of these:

		cat /usr/share/foo2zjs/firmware/sihp1000.dl > /dev/usb/lp0
		cat /usr/share/foo2zjs/firmware/sihp1005.dl > /dev/usb/lp0
		cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/usb/lp0
		cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0
		cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/usb/lp0
		cat /usr/share/foo2xqx/firmware/sihpP1006.dl > /dev/usb/lp0
		cat /usr/share/foo2xqx/firmware/sihpP1505.dl > /dev/usb/lp0

	On Mac OS X:

	    You must send a firmware file to the printer each time you power it
	    up.  If you downloaded the extra files for the HP above, a typical
	    command line to load the firmware would be:

		lp -oraw /usr/share/foo2zjs/firmware/sihp1018.dl
		lp -oraw /usr/share/foo2zjs/firmware/sihp1020.dl

    NOTE: The original HP files are named '*.img'.  Sometimes HP supplies
    these files ready-to-download to the printer, sometimes they are raw
    ARM executables and need to have a special header added to them before
    they can be downloaded.  The "make install" step will use the supplied
    "arm2hpdl" program to automatically detect which kind of file they are
    and convert them (if needed) to the downloadable '*.dl' format.

    These printers do not have a "button" when you run out of paper.
    But, there is a GNOME gui in:

	Applications -> System Tools -> HPLJ 10xx Replaced Paper

    or, you can simulate this by reloading the paper and doing:

	$ usb_printerid /dev/usb/lp0

    or, you can open the print cartridge door and then close it.

Options: ReplyQuote
Re: Recognized but not working [Did not read the instructions]
Posted by: asierra ()
Date: May 10, 2008 02:04PM

Sorry, I did not reach to that point. I was confused and bored after trying cups, hijs, etc.

Thank you very much for your patience anyway, you earned my donation! :)

I'd like to avoid using cups (this is a single laptop), but I know it's convenient having a print queue.

Any suggestion?

Options: ReplyQuote
Re: Recognized but not working [Did not read the instructions]
Posted by: rickrich ()
Date: May 10, 2008 04:18PM

$ foo2xqx-wrapper [options] ps-file > /dev/usb/lp0

Options: ReplyQuote
Re: Recognized but not working [Did not read the instructions]
Posted by: asierra ()
Date: May 17, 2008 02:09AM

Actually I meant a printcap like:

hpljp1006:\
:lp=/dev/usb/lp0:sd=/var/spool/output/hpljp1006:\
:lf=/var/log/lpd-errs:mx#0:sf:sh:rs:\
:if=/usr/bin/foo2xqx-wrapper:\
:af=/var/spool/output/hpljp1006/acct:

so we can use the basic lpr spooler. I have not tried yet, but something like this must work.

Options: ReplyQuote


Sorry, you can't reply to this topic. It has been closed.
This forum powered by Phorum.