Comment 2 for bug 32085

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote : Re: Installing HP printer with non-HPLIP driver fails

dapper 20060305
gnome-cups-manager 0.31-1.1ubuntu1
foomatic-filters-ppds 20060113-1

Running gnome-cups-add from a terminal gives the following error after selecting Manufacturer "HP" and Model "LaserJet 3P w/ PCL5":

** (gnome-cups-add:18455): WARNING **: IPP request failed with status 1024

If found out that the problem is the "/" used in the model name.
Foomatic 3.0 uses a Foomatic/<driver> indication in the *NickName of a PPD to group different drivers together. For your printer there are 2 slashes in the *NickName because of the one used in the model name. It seems that gnome-cups-add incorrectly handles this.

You can easily work around this:
1) Go to:
$ cd /usr/share/ppd/foomatic-rip/HP
2) Unzip the file:
$ sudo gunzip HP-LaserJet_3P_w_PCL5-ljet4.ppd
3) Edit the file:
$ sudo nano HP-LaserJet_3P_w_PCL5-ljet4.ppd
4) Locate *NickName and remove the "/" in "LaserJet 3P w/ PCL5".
5) Save the file
6) Run gnome-cups-manager again and select your printer model again now using the model without a "/".

Looking at the list of models there are a lot of printer model names that have a slash inside them, they will probably all suffer from this gnome-cups-manager bug.