ERROR.

Recursos simbólicos para la Praxis cotidiana.

HP LaserJet Pro P1102w @ Debian Squeeze

At some point, the chain of drivers that ships with Debian Squeeze for the HP LaserJet Pro P1102w printer seems to be broken. HPLIP is installed and the printer is recognized by CUPS, but every time I tried to print anything I got an error saying /usr/lib/cups/filter/foomatic-rip failed

Well, I couldn’t figure that out, but I did find another driver (foo2zjs). I know that downloading the latest version of HPLIP and building from source solves the matter (although I did not test that thoroughly), but this alternate solution is far less troublesome.

This little post is 99.9% redundant, meaning that you won’t find here anything you wouldn’t come across searching the web for this specific bug. But still I thought it a good idea to put a few keywords together and trace a more straight path to a working solution that simplified my life.

All you have to do is download and build the latest version of foo2zjs (by the time I wrote this post v 1.108 2011/06/09), as explained in the project website. But before installing it, I did remove a few packages to avoid overwriting some files:

  • foomatic-db
  • foomatic-db-engine
  • foomatic-filters-ppds
  • foo2zjs (the version that comes with Squeeze isn’t new enough)

Installation of foo2zjs then went without trouble in my system (Debian Squeeze 6.0.1 AMD64). The only little and final step to get the printer running was to find the appropriate PPD to configure it in CUPS, because the driver didn’t appear in the selection box in the ‘Add Printer’ dialog. I found it in /usr/share/ppd/foo2zjs/HP-LaserJet_Pro_P1102w.ppd.gz

That’s it. I know I’ve been specially concise, but I didn’t want to repeat things far better explained in other sites.


5 thoughts on “HP LaserJet Pro P1102w @ Debian Squeeze”

  1. paletuco says:

    Thanks a lot!!!

    Some people(as me) has problem with a Smart Install mode after installing the printer in a win system. I solved it using this post:

    https://bugs.launchpad.net/hplip/+bug/918902

  2. jenter says:

    Thank you very much! It works! :)

  3. sptks says:

    Like a charm! Thank u very much! Debian 6.0.4

  4. bruno says:

    Sorry but i have a question…

    “The only little and final step to get the printer running was to find the appropriate PPD to configure it in CUPS, because the driver didn’t appear in the selection box in the ‘Add Printer’ dialog. I found it in /usr/share/ppd/foo2zjs/HP-LaserJet_Pro_P1102w.ppd.gz”

    And then what? ones I find this file what i must to do?

    i miss that part xD

    1. Yamamoto says:

      Hi Bruno. With that path in mind, do this:

      1. Go to http://localhost:631/admin
      2. Click on the “Add Printer” button. Supply credentials (User: root, Password: your system root’s password).
      3. The printer should appear in “Discovered printers” as “HP LaserJet Professional P1102w (Hewlett-Packard HP LaserJet Professional P1102w)”. For some reason I ignore, my printer appears three times in that listing; if this happens to you too, just pick one and proceed.
      4. Configure “Name”, “Description”, “Location” and “Sharing” as you like and click “Continue”.
      5. Here comes the PPD part. Instead of browsing by Brand/Model, make a click on “Choose File” on the “or Provide a PPD File” section. Browse to the PPD.GZ file (you don’t have to decompress) and finish with the “Add Printer” button, at the bottom.

      That’s all. Good luck, and if you have any other question, write again :)

Leave a Reply

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