Installing HP Laserjet 1020 on Ubuntu



OfficeSpace

Ok this one was a pain in the butt. I just bought a HP LaserJet 1020, and it wont run on my 64bit ubuntu or any other linux distro that I have tried out of the box. I do have windows system where I could have easily installed it with one flip of an installation CD. But I am not oging to give up so easily on this. Ubuntu recognizes the printer but it just wont print. So after searching the web for couple of hours and trying dozen differant methods I found this site that gives a step by step walkthrough of installing this printer.

Two things to note: 1) You will need Ubuntu in a installation CD or atleast mount ISO in the CD drive 2) you will have to do the last part every single time you want to print something.

Check this site out if you have this printer (HP LaserJet 1020). Here

Steps to configuring your LaserJet:

$ sudo apt-get install build-essential
$ wget -O foo2zjs.tar.gz
http://foo2zjs.rkkda.com/foo2zjs.tar.gz
$ tar -zxvf foo2zjs.tar.gz
$ cd foo2zjs
$ sudo make uninstall
$ make
$ ./getweb 1020
$ sudo make install install-hotplug cups

If it doesn’t work yet, try the following command.

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

You have to do the last step every time you want to print something.

2008-01-10-173417_1280x800_scrot.png


  • Bob KingNo Gravatar

    March 24th, 2008 09:12

    Very Many thanks. After weeks of false trails this entry worked, but only after I had gone through the usual Ubuntu New Printer install procedure after following your instructions. (beginning “sudo apt-get install build-essential).

    The HP1020 now prints as it should with no further Terminal entries on my part.

    Thanks again

    Bob

  • RayNo Gravatar

    May 3rd, 2008 11:10

    This also fixed the problem with my Ubuntu 8.04 LTS (release version) installation.
    many thanks
    Ray

  • JonasNo Gravatar

    May 19th, 2008 13:05

    Dude, THANK YOU! I tried this way acording to other webpages numerous times, but nothing worked with my Laserjet1020 (maybe I did some tipos). My eyes filled with tears of joy when I saw and heard the printer working :’-)

  • asdNo Gravatar

    June 16th, 2008 06:17

    in hardy (8.04) just running “hp-setup” as root made the trick

  • hyperqNo Gravatar

    August 6th, 2008 01:38

    I confirm that “sudo hp-setup” did the trick. Now my HP 1020 is printing happily. Super easy to setup. Still I really appreciate the Pavs’s original post on manually installing the printer driver. His blog lead me to this page, where I found the “hp-setup” command that works even better.

    Maybe Ubuntu team should automatically run hp-setup by default on HP printers.

  • giovano iannottiNo Gravatar

    August 17th, 2008 18:01

    For me too: on hardy I had to “sudo hp-setup”. After that, everything was ok. Thanks.

  • jastroNo Gravatar

    August 28th, 2008 16:06

    SWEET! Thanks PAVS and ASD!
    The sudo hp-setup didn’t work at first and I was headed back to google when I remembered it added itself as hp#2 and the non working hp was set to default. Ooooops : ) Bzzzzzzzzz.. paper being pulled through the printer …joy.

  • PavsNo Gravatar

    August 28th, 2008 16:44

    Ok Just a disclaimer. There has been many updates since I wrote this one up. Obviously as others, mentioned there are better (easier) ways to do this now. I am glad that it worked for some people by whichever method you guys used.

    Cheers!


Subscribe without commenting


Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.