How do I install drivers for an HP LaserJet Pro P1102w?

Solution 1:

Your particular printer is supported via the hplip library. Unfortunately, the version by default in lucid is too old for your printer - lucid has version 3.10.2 and you require at a minimum v3.10.4

There is a "untrusted" PPA on launchpad with the latest version which you can install - this is from the hplip development team.

If you install this PPA, it will upgrade your lucid hplip library. Next time you plug in your printer it should then be recognised correctly.

The PPA's name is: ppa:hplip-isv/ppa, you need to add it to your software sources, which you can do by following these instructions:

  • What are PPAs and how do I use them?

Or via the command line:

sudo apt-add-repository ppa:hplip-isv/ppa
sudo apt-get update
sudo apt-get hplip

Related Questions:

  • Stack OverflowAre "PPA's" safe to add to my system, and what are some "red flags" to watch out for?
  • Stack OverflowHow to install ppa packages in an apt-get style

Solution 2:

Thanks for your answers. I had problems with the HP LaserJet P1102w and Ubuntu Lucid (10.04), but I solved it. I use the USB-connection, so I haven't tried it with the WiFi yet.

The P1102w uses the driver foo2zjs, but I needed a version newer than 2010-05-28. The version in Lucid (10.04) is too old, but the one in Maverick (10.10) works fine. Luckily it's possible to install the package from Maverick in Lucid without dependency problems.

Instructions for everyone who needs it:

  • Go to http://packages.ubuntu.com/maverick/foo2zjs

  • Download the right package. Don't know if you need amd64 or i386? Type in a terminal: dpkg --print-architecture

  • Install gdebi if you don't have it already: sudo aptitude install gdebi

  • Install the printer driver: gdebi foo2zjs_*.deb

If you already have an older version of foo2zjs, you can replace the last two steps with (I didn't test this): dpkg -i foo2zjs_*.deb