Ubuntu and HP LaserJet 1020 step-by-step
First get necessary tools:
sudo apt-get install build-essential
then download foo2zjs drivers
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
untar
tar -zxvf foo2zjs.tar.gz
cd foo2zjs
uninstall previous isntallations:
sudo make uninstall
build:
make
get HP LJ1020 firmware file:
./getweb 1020
install printers linux support:
sudo make install install-hotplug cups