HostOnNet Blog

How to install HP LaserJet 1020 plus printer drivers in Ubuntu 16.04

Looking for Linux Server Admin or WordPress Expert? We can help.

For the first time, I’ve installed Ubuntu 16.04 on my PC. Previously I was using Windows 7. The printer was connected when I was using Windows and now when OS changed, I had to do following things to make it work on Ubunutu.

I run below commands on my terminal to enable Printer:

sudo apt-get update
sudo apt-get remove hplip cups-filters cups hplip-data system-config-printer-udev
sudo apt-get install build-essential tix groff dc axel cups
sudo apt-get install cups-filters unp system-config-printer-gnome
sudo rm -rf /usr/share/hplip
cd /tmp
rm foo*
axel http://foo2zjs.rkkda.com/foo2zjs.tar.gz
unp foo2zjs.tar.gz
cd foo2zjs/
make
./getweb 1020
sudo make install
sudo make install-hotplug

After running the last command above, we need to Unplug and re-plug the USB printer into the PC.

And then add new ‘HP Laserjet 1020’ printer via system-config-printer tool. To get the tool, you may simply type below command on terminal

system-config-printer

And choose to use foo2zjs foomatic printer driver.

You may check /var/log/syslog for any errors related to foo2zjs driver:

tail /var/log/syslog

About ramesh xavier

Hi I am Ramesh Xavier I have a passion for designing detailed, creative and modern websites, I have been working as web-designer for over 4 years, and have done lots of work over that time, I'm always keeping an eye on the latest trends over typography, shapes, colours, etc..

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.