Written originally by Johnp_g
Edited and re-written by Arnieboy
The HP LaserJet 1020 driver is not included with Ubuntu Breezy by default. This is how to install it:
Open up terminal and do:
Code:
sudo apt-get install cupsys-bsd foo2zjs make build-essential
wget http://support.ideainformatica.com/hplj1020/foo2zjs-patched.tar.gz
tar zxvf foo2zjs-patched.tar.gz
cd foo2zjs
make
sudo make install
sudo make install-udev
sudo udevstart
Now when u power up the HP 1020 printer you should hear it whirring as it powers, then whirring again as the new firmware is uploaded. now do:
Code:
sudo /etc/init.d/cupsys restart
Do the following to make plain (lpr) text print nicely:
Code:
sudo lpoptions -o cpi-12 -o lpi=7 -o page-left=36 -o page-right=36 -o page-top=36 -o page-bottom=36
Hope this helps.
EDIT: For users having problems printing A4 size sheets, Jenda seems to have a solution:
Code:
sudo gedit /etc/cups/ppd/LaserJet-1020.ppd
and change the default page size to A4
Bookmarks