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:
- 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.