Benaiah\’s Computer Experiences

July 6, 2007

Installing a HP LaserJet 1020 on Ubuntu Feisty

Filed under: HP 1020, Printing, ubuntu — Benaiah @ 12:24 am

I have been trying to get my HP LaserJet 1020 printer working for some time on my Ubuntu machine and I finally succeeded this evening! This is how I did it.

Just type this into the command line:

$ sudo apt-get install build-essential

$ wget -O foo2zjs.tar.gz

$ tar -zxvf foo2zjs.tar.gz

$ cd foo2zjs

$ sudo make uninstall

$ make

$ ./getweb 1020

$ sudo make install install-hotplug cups

I then had to re-install the printer from

System >> Administration >> Printing

and then

Printer >> Add Printer

And go through the set up process with out changing any settings.

Everything worked!

This information was taken from:



  1. It worked for me.

    Thanks for sharing :)

    It’s a shame the a big company like HP can’t provide better support to there Linux based customers though.

    Comment by Eugene — July 12, 2007 @ 9:02 pm

  2. Thanks for the easy instrux – worked like a charm!

    Comment by WordHerder — August 9, 2007 @ 8:54 pm

  3. I was really frustrated. My old printer died, and I got a great deal on an HP1020. But I couldn’t get it to work on Ubuntu. Now it does! Thanks!

    Comment by namckeand — September 8, 2007 @ 2:43 pm

  4. Do i have to restart? i appeared as a printer in my system, but it doesn’t want to print

    Comment by Maher Al-Atawy — September 26, 2007 @ 6:12 pm

  5. Thanks. Now my wife doesn’t have anything to complain about since I installed Ubuntu onto her labtop.

    Comment by JaredRubinAZ — October 6, 2007 @ 10:59 pm

  6. Hi

    I am not able to download sihp1020.tar.gz, when i gave “$ ./getweb 1020”

    Can anybody please get through this problem


    Comment by varun — November 26, 2007 @ 4:41 am

  7. Finally after weeks of searching and trail and error, thanks to you site my HP 1020 is working and printing. This was not an easy task at all. I am rather new to Linux(Unbuntu) but I really like it. I find it challenging and spend hours just researching items. My next challenge if to get my MP4 to work. Again thanks for the info.

    Comment by Gerald Branson — April 20, 2008 @ 8:38 pm

  8. how can share this with other computer?

    best regards

    Comment by angelo — June 17, 2008 @ 10:42 pm

  9. HI all,

    I had a problem at 1st go.. If you’ve added the printer before, make sure you remove the printer from the list before you start these steps..

    I would recommend the following process:

    1) Remove any installed (but not working) instances of the printer in “System >> Administration >> Printing”

    2) Restart Computer

    3) Run the shell commands( “$ sudo apt-get install build-essential” through to “$ sudo make install install-hotplug cups”

    4) Restart Computer

    5) Add printer through “System >> Administration >> Printing”

    It may be excessive, but should work every time..

    PS- sorry I dont know how to share it..

    Comment by MikeG — June 28, 2008 @ 7:41 am

  10. I,m a newbie in Ubuntu.
    I could not like Vista.
    After several times with HP’s description
    i found u site it worked the second time I tried, after having read comment from Angelo

    Comment by Jørn Jeppesen — August 7, 2008 @ 3:32 am

  11. sorry MikeG
    I forgot to thank u. Thanks for helping with a big trouble.
    Now I only have one problem, before Ubuntu Hardy Heron does as I’m satisfied with.
    I can’t get java to function.
    Anybody have a solution?
    I’ll be happy to have one.
    Ubuntu is much better than Vista.
    Regards to all Ubuntu people.
    Forget Bill Gates!!!
    Sorry my English.

    Comment by Jørn Jeppesen — August 7, 2008 @ 1:51 pm

  12. Once more1
    Now I found a solucion at all my troubles.

    Linix Mint have java and found my printers without me doing anything.
    Just drinking my coffee.
    Linux is also an Ubuntu, just a little better.
    Regards to all nice people.

    Comment by Jørn Jeppesen — August 9, 2008 @ 12:18 pm

  13. +1 thanks…

    Why does it have to be so hard?

    I guess it separates out the windows users :) shame though as it also puts the average person off…

    Comment by Ricardo — November 16, 2008 @ 3:38 am

  14. thanks :)

    Works for 1018 too with ./getweb 1018 ofc

    nice and simple fix

    Comment by Morten Rasmussen — January 7, 2009 @ 12:52 pm

  15. Thanks, It’s worked!!!

    Comment by vanoseva — March 22, 2009 @ 10:29 am

  16. hi
    thank bro it works i had got fed up with printing problems now i have a solution thank again

    Comment by naresh the great — May 13, 2009 @ 12:20 am

  17. Hey, this is great! Thank you for this!

    Comment by Gregware — July 4, 2009 @ 4:39 pm

  18. Hi
    Exelent worked for me just perfect, well done my friend…. Thank you!!!

    Comment by Felix Gutierrez — January 11, 2010 @ 8:16 am

  19. Dear all,
    Good afternoon…..!!
    i have hp 1020…….. printer with usb i configured in ubuntu its working fine i want to share this same printer over the network to Linux computer ….i tried with samba….but i didnt get result please any one help me how to get success in this and if through samba please send configuration file or which method i have to follow….
    Thanking all …..

    Comment by chinna — January 20, 2010 @ 3:09 am

  20. Thanks!

    Works, dunno how, but it does.

    I tried HP’s own HPLIP utility, but it failed because my Linux Mint 9 system failed to install the plugin to the driver. I don’t understand why that happened.

    Comment by Hazem — September 11, 2010 @ 5:25 pm

  21. Thank you…. thank u… very much.
    I’ve tried for so many hours, and getting mad about that.
    Finally I found your way, it made my life easier. Once again thank u very much

    Comment by Shankar — October 30, 2010 @ 3:37 am

  22. Good one….Thanks a lot

    Comment by user ;) — September 7, 2012 @ 12:21 pm

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: