Quote:
Originally Posted by TracyTiger
The HP LJ 1020 is "special". It needs HPLIP proprietary drivers and the firmware isn't retained through power cycles.
|
Quote:
Originally Posted by rng
Can you briefly mention how to install foo2zjs driver? I downloaded the foo2zjs.tar.gz file and extracted its contents. I ran 'make' in that folder but I do not know how to proceed. It did not make any tgz package which I could install. I also used the ppd file in it to modify the printer, but that has also not helped. The data is sent to the printer but nothing gets printed. There is no sign of activity (light changing or blinking or any sound) in the printer after giving the print command.
|
Apparently there's a whole range of "forgetful" HP printers like that. While setting up my printer for OpenBSD I decided to build the needed
foo2zjs software from source, as recommended by its author, so I had a look at the documentation, in particular the
INSTALL file. According to it, HP LaserJet models 1000, 1005, 1018, 1020 and P1005, P1006, P1007, P1008, P1505 need a firmware reload each time the printer is powered up (fortunately this is not the case for my printer). On OpenBSD and FreeBSD the reload has to be done manually by sending the firmware to the related device file:
Code:
- Do one of these lines each time the printer is powered up:
# cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/ugen0.1
# cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/ugen0.1
# cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/ugen0.1
# cat /usr/share/foo2xqx/firmware/sihpP1006.dl > /dev/ugen0.1
# cat /usr/share/foo2xqx/firmware/sihpP1505.dl > /dev/ugen0.1
The above list doesn't seem to be up to date, but it shouldn't be a problem to figure out the lines for the other models according to their firmware file names. There are specific notes for Linux systems as well, in order to have the firmware reloaded automatically to USB printers, and manually to parallel port printers:
Code:
HP LASERJET 1000/1005/1018/1020, P1005/P1006/P1007/P1008/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
Power off then on the printer. Light should flash orange for
~5 seconds as the firmware is getting downloaded.
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
Light should flash orange for ~5 seconds as the firmware is
getting downloaded.
Quote:
Originally Posted by TracyTiger
I mentioned HPLIP "automatically" downloading files. I still had to tell it to download/install the files. I believe HPLIP automatically selected the files based on the printer model I gave it. I remember not being able to select and download/save the files without HPLIP (probably a personal limitation).
|
If you build foo2zjs from the upstream source code it will also make a script named "getweb" that allows you to download the firmware files that you need. Regarding the HP 1020 model mentioned in the OP, I found out the following URL:
http://foo2zjs.rkkda.com/firmware/sihp1020.tar.gz
The unpacked file turns out to be sihp1020.img. This should be handled by "make install" according to the following note:
Code:
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.
Quote:
Originally Posted by rmg
I ran 'make' in that folder but I do not know how to proceed.
|
foo2zjs: a linux printer driver for ZjStream protocol
INSTALL
Philip