How to install HP LaserJet 1020 under Ubuntu Desktop 7.10

This article comes from my blog @ http://xeugene.wordpress.com

1. To begin with you need to install the build-essential package by typing the command:

$ sudo apt-get install build-essential

2. After build-essential has been installed and configured, download the file ‘foo2zjs.tar.gz’ located at http://foo2zjs.rkkda.com or just follow the command below on your command line:

$ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz

3. Uncompressed the file foo2zjs.tar.gz that has been downloaded by typing the command below:

$ tar -zxvf foo2zjs.tar.gz

4. Change directory to the uncompressed file to ‘foo2zjs’ folder by typing the command below:

$ cd foo2zjs

5. sudo make uninstall

$ make

$ ./getweb 1020

$ sudo make install

$ sudo make install-hotplug

$ sudo make cups

Then, If printing doesn’t work over USB, then try:

$ sudo cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0

After typing the above command the printer HPLaserJet 1020 should activated/react. Then, you can now use the printer.

Reference: http://foo2zjs.rkkda.com