Bug 310607

Summary: YaST still finds and selects non-matching PPDs
Product: [openSUSE] openSUSE 10.3 Reporter: Stefan Nordhausen <nordhaus>
Component: PrintingAssignee: Michal Zugec <mzugec>
Status: RESOLVED FIXED QA Contact: Johannes Meixner <jsmeix>
Severity: Major    
Priority: P5 - None CC: msvec
Version: Beta 3   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard: gnome-wrong-out-of-the-box printer
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Yast logs

Description Stefan Nordhausen 2007-09-14 14:42:37 UTC
Created attachment 164112 [details]
Yast logs

I have a Hewlett-Packard printer, model is "DeskJet 5652". It is connected via USB and has a duplex unit. "lsusb" lists the printer as "Bus 001 Device 003: ID 03f0:6104 Hewlett-Packard DeskJet 5650c", but on the printer itself it says "5652" instead of "5650c".

When I plug in the USB cable YaST asks me if I want to configure the printer. However, YaST by default chooses the model "HP DeskJet 560C" instead of the correct driver (which is in the list). With the wrong driver...

- I cannot use duplex printing in OpenOffice
- The graphics of YaST's test page look very bad

Once I manually select the correct driver from the list everything works as expected, but the correct driver should have been selected automatically.
Comment 1 Johannes Meixner 2007-09-18 07:52:09 UTC
"lsusb" shows the model's internal strings.
See "lsusb -v" for the details.
I.e. it is inside the USB interface of the model that it reports itself
a bit different than what is printed as label on the model.
According to
http://hplip.sourceforge.net/supported_devices/inkjet.html
the Deskjet 5650 and the Deskjet 5652 are compatible
because both belong to the same device class DJGenericVIP, see
http://hplip.sourceforge.net/tech_docs/device_classes.html

The real problem is that again YaST selects a really wrong driver,
see bug #210924 and bug #220712.

Which exact driver is the "correct driver" which works for you?
I guess it is "HP DeskJet 5652 Foomatic/hpijs (recommended)".
Am I right?

Please attach your /var/log/YaST2/y2log file so that we
can see what really happened.
Comment 2 Johannes Meixner 2007-09-18 07:56:19 UTC
I overlooked attachment #164112 [details] - it provides all we need.
Comment 3 Johannes Meixner 2007-09-18 08:16:41 UTC
According to y2log in attachment #164112 [details],
your printer is detected as "HP deskjet 5600" which is also compatible
(it also belongs to the device class "DJGenericVIP")
but YaST assigns the PPD "HP DeskJet 560C Foomatic/pcl3 (recommended)"
(/usr/share/cups/model/HP/DeskJet_560C-pcl3.ppd.gz) which is a very basic
generic PCL3 PPD which results poor quality for your model.
Comment 4 Johannes Meixner 2007-12-18 16:04:35 UTC
*** Bug 349248 has been marked as a duplicate of this bug. ***
Comment 5 Michal Zugec 2008-08-14 06:03:42 UTC
There is new yast2-printer module which fixes most of the bugs. If this problem occurs in this version, please reopen bugreport.
http://mzugec.blogspot.com/2008/08/new-yast2-printer-configuration-module.html