I spent a couple of hours getting my HP 1020 to work last weekend. It wasn't too hard. Below are the steps, links and notes that I used. I hope they help!
I am using a minimal install of Centos 4.4.
configure hp 1020 printer on rhel/centos
----------------------------------------
http://foo2zjs.rkkda.com/
http://openprinting.org/show_printer...-LaserJet_1020
Edited Notes
This printer is supported by the foo2zjs free software printer driver.
The printer is faster than the LaserJet 1000 and has a USB connection. It has only 2 MB of RAM and 32 kB of ROM.
The firmware of the printer must be uploaded after turning it on. You can use a hotplug/udev script which comes with foo2zjs, or do it manually: "cat /usr/sha
re/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0
------------------------------------
FedoraCore3(or later)/CentOS4(RHEL4)
------------------------------------
* up2date -i foomatic
* up2date -i ghostscript
You need to use foo2zjs as mentioned above, however the
firmware that foo2zjs current provides is old and has
problems printing more than a few pages, and also with
certain complex pages. The site mentioned above (
support.ideainformatica.com) no longer seems to offer
the firmware, so what I did was to "borrow" it from
windows:
1) Using a Windows system, download the driver from
www.hp.com.
2) Install the driver.
3) In "C:\Program Files\Hewlett-Packard\LaserJet
1020-1022 Drivers\", copy the file hp1020.img.
Now get into Linux as root, and do the following:
1. wget
http://foo2zjs.rkkda.com/foo2zjs.tar.gz
2. tar xzvf foo2zjs.tar.gz
3. cd foo2zjs
4. make
5. (copy the hp1020.img into this folder as sihp1020.img)
6. make install
7. make install-hotplug
Switch off-and-on the printer, you should see something like this
in your /var/log/messages:
kernel: usb 1-1: new high speed USB device using ehci_hcd and address 9
kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 9 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
/etc/hotplug/usb/hplj1020: loading HP LaserJet 1020 firmware /usr/share/foo2zjs/firmware/sihp1020.dl to /dev/usb/lp0 ...
/etc/hotplug/usb/hplj1020: ... download successful.
---------------------------------------------------------
1. install lynx
2. you need to add yourself as a user, in a console type
$ lppasswd -a yourusername
it will ask for a password, enter your password & press enter. then re-enter password to confirm.
next time you want to use cups admin enter your username & the password & you should be good to go.
3. Add CUPS printer:
$ lynx
http://localhost:631
or
Then set up your printer queue by running system-config-printer-gui (system-config-printer (commandline)):
1. click New, and Forward.
2. Enter a name and description.
3. Queue-type: Locally Connected, /dev/usb/lp0
4. Choose HP LaserJet 1020
5. Finish, and print a test page!
------------------------------------------------------------
!ERROR: client-error-document-format-not-supported
FIX: in the /etc/cups dir I had to edit the files mime.convs and mime.types, and had to remove the # before the line application/octet-stream. Than restarting
cups and it worked.
-------------------------------------------------------------
configure samba to share printer. if you want my notes on this, then let me know.