Comment 32 for bug 691766

Revision history for this message
goutam kodu (goutam-hplip) wrote :

Hi Marc,

This is bit surprising. May be you installed hplip-3.11.7 from ubuntu's synaptic package manager.
Printer cannot return the ppd file. Its the drivers job to select the correct ppd for the printer.
Can you install the latest hplip-3.11.10 from hplip-3.11.10.tar.gz. You can download the file from "http://voxel.dl.sourceforge.net/project/hplip/hplip/3.11.10/hplip-3.11.10.tar.gz".

After download follow the below steps:

1. Extract the source
    tar -xvf hplip-3.11.10.tar.gz

2.Run command "cat hplip-3.11.10/data/models/models.dat | grep -nA 50 hp_color_laserjet_cp2025dn | grep tech-class" in terminal.

It will display the string
21945-tech-class=LJColor,Postscript.

Replace this string with "tech-class=LJColor" (Remove the Postscript, the same as you had done in comment#28).
Save the file.

3.Run configure script
   ./configure --prefix=/usr

4.Run make
    make

5.Install
   sudo make install

Check if you find the ppd "hp-color_laserjet_cp2025dn-ps.ppd.gz" file in /usr/share/ppd/HP/ directory. If it is present, delete the ppd and next run "hp-setup" and check if its still picks the PS ppd.

Let me know on the same. If the issue is still the same post me the output of "hp-setup -g" command.

Thanks,
Goutam