Linux mint and HP LaserJet P1005

Linux Mint has become my favourite Linux distribution as of lately. It is built on Ubuntu but with the added benefit of native installation of lots of extra drivers, audio/video codecs, and small programs that make life a lot easier. This is particularly important as Linux is not my main platform, and I don’t want to spend a lot of time and effort to make everything work when I install a new system.

I just installed Linux Mint on what I thought to be a super-slow windows box, only to notice that it runs super-fast and smooth with Linux. Particularly impressive was that it managed to find all the drivers for sound/video cards, webcam, etc. The entire install of a clean system with everything took less than 30 minutes. I don’t even want to think of how that compares to installing either OSX or Windows and adding everything else (FireFox, OpenOffice, +++). It also nicely installed drivers for my HP LaserJet P1005 printer. However, the problem was that the printer didn’t print. No error messages, the printer showed up, the OS thought it printed, but nothing came out. After a bit fiddling back and forth I found that this is due to some problem with the built-in drivers.

So as a reference to myself, and for everyone else there with the same issue, here is what I did to solve the problem:

  • Deleted the old printer in the printer setup window
  • Installed the foo2xqx driver using the terminal
$ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
$ tar zxf foo2zjs.tar.gz
$ cd foo2zjs
$ make
$ ./getweb P1005     # Get HP LaserJet P1005 firmware file
$ sudo make install
$ sudo make install-hotplug
$ sudo make cups
  • Installed the printer using the normal printer setup utility. This time it asked whether I wanted to install with the hotplug option. This seems to be important!
  • The printer still didn’t work, but I found a discussion where it was suggested to do the following:
$ sudo rm /etc/cups/ssl/server.*<br />$ sudo /etc/init.d/cups start<br />
  • Finally, the printer prints!

4 thoughts on “Linux mint and HP LaserJet P1005”

  1. Thanks for your post. It helped me a lot.

    Using Mint 11.

    When I ran “sudo make install-hotplug” I was told that “system-config-printer-udev” was installed and that it would have to be removed before I could make the hotplug. So, I removed it using this command:

    sudo apt-get remove system-config-printer-udev

    Then I picked-up from the same step and ran sudo make install-hotplug

    After that I went to printers and clicked the ADD button. My printer was listed on the first screen and selecting it made everything work. I did not have to do the final rm or cups start to get mine working.

    Thanks again for posting this!

  2. many thanks. This is just a simplified version of above (for speed).. I had exactly the same problems as above.

    0. Do not turn printer on
    1. go to menu: Administration/printing and DELETE printers there (won’t work if you don’t do this)
    2. open terminal and copy and paste this into it (as it is). This is designed to stop if there is an error, so if there is an error, see at which point it stopped.

    wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz && tar zxf foo2zjs.tar.gz && cd foo2zjs && make ./getweb P1005 && sudo make install && sudo apt-get remove system-config-printer-udev && sudo make install-hotplug && sudo make cups && sudo rm /etc/cups/ssl/server.key && sudo rm /etc/cups/ssl/server.crt

    3. Go back to Administration/Printing and ‘Add’ printer. Follow steps to add your HP printer.
    4. turn on printer and print test page

  3. Thank you very much!
    Did this today with Linux Mint maya and it works.

    I am not that Linux guru and didn’t understand everything that I did, but someday I will.
    Thanks again!

  4. Thanks for listing out these steps, guy. I have linux mint 14 installed, with same issue for Hp P1005 printer. I first tried the all in one step method posted by Ian but it stopped at the make command, saying no path to p1005. As root I then tried the individual steps as first suggested at the top of the article, and it worked. After running sudo make cups, I turned on the printer, installed it then successfully printed a test page, so didnt need to run the last step ‘sudo rm /etc/cups/ssl/server.*$ sudo /etc/init.d/cups start’
    Thanks!

Comments are closed.