HP LaserJet 1020 Ubuntu 10.04 Lucid Lynx

Same story as always; updating system breaks printing with CUPS. Not sure why, but seems like when using foomatic, no firmware is uploaded to printer.

Remove printer from cups.
Install hplip:

sudo apt-get install hplip hplip-data hplip-gui
sudo hp-setup
sudo hp-plugin

If “sudo hp-plugin” fails, look for hplip-3.10.9.run in /root, and run it with “sudo /root/hplip-3.10.9.run”. After it completes, check that you’ve got firmware files in /usr/share/hplip/data/firmware. Then run hp-firmware:

sudo hp-firmware

If successful, you should now here the printer fires up.

5 thoughts on “HP LaserJet 1020 Ubuntu 10.04 Lucid Lynx”

  1. This works for me each time, but I have to do it each time I turn on my printer – the settings don’t seem to change. As soon as I push the firmware manually it works, but ever since upgrading to 11.04 it won’t do it automatically. Any suggestions?

    1. Actually, I’m not sure if I tested a power cycle after I got it working. So, I might have the same problem as you are describing(printer is always powered on).

      Anyhow, a dirty/quick fix, might be using udev to run the firmware-upload-command when it detects the printer. You should look in dmesg for printer vendorid(simply power cycle the printer and run “dmesg | tail”). Create a rule for the printer in /etc/udev/rules.d/ and include the RUN+=”printer-firmware-upload-command”.

  2. I’ve extracted the file that I had to download manually (because for some reason I cannot get the files; it fails) and put them into the Downloads folder…

    cd ~/Downloads/hplip-3.11.7-plugin/
    sudo hplip-3.11.7-plugin.run
    sudo: hplip-3.11.7-plugin.run: command not found


    1. You’ve probably figured it out(?), it should be “sudo ./hplip-3.11.7-plugin.run”. When you type it without ./ it searches for the command in system path(/bin, /usr/bin, etc). The dot means current directory. You may also submit the whole path, like this: “sudo /home/lars/Downloads/hplip-3.11.7-plugin.run”.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>