Bug 192815

Summary: PPD options not available even though real PPD is
Product: [Fedora] Fedora Reporter: David Anderson <david>
Component: foomaticAssignee: Tim Waugh <twaugh>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-30 10:37:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150223    
Attachments:
Description Flags
Screenshot of double entry (plus a third for the manually imported PPD)
none
Screenshot of correct driver chosen
none
Lack of options
none
options a-plenty none

Description David Anderson 2006-05-23 12:03:54 UTC
See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=177799 for context.

system-config-printer displays two entries "Color Laserjet 2550" in its list 
of "HP" printers; whichever I select, I only get the generic Postscript 
options in the relevant tab. If I import the PPD myself using s-c-n's relevant 
option, I then also get a "Color Laserjet 2550 (PPD)" entry which has all the 
options.

[root@shed exim]# rpm -q foomatic system-config-printer cups
foomatic-3.0.2-33.3
system-config-printer-0.6.151.7-1
cups-1.2.0-1.1

This is despite foomatic shipping with the proper vendor PPD 
in /usr/share/foomatic/db/source/PPD/HP/color_laser/HP_Color_LaserJet_2550.ppd.gz

I don't know how long this PPD has shipped with Fedora, but I set up this 
printer when I had Fedora Core 2 and again with 4 and it has never used it.

Comment 1 Tim Waugh 2006-05-24 17:03:44 UTC
Can't reproduce that here.  I get one entry, and it's the correct PPD file.

Two entries?  Can you attach a screenshot of that please?


Comment 2 David Anderson 2006-05-24 20:16:33 UTC
Created attachment 129964 [details]
Screenshot of double entry (plus a third for the manually imported PPD)

Here it is - the "Really, I'm not mad!" screenshot! :-)

Comment 3 David Anderson 2006-05-24 20:22:05 UTC
Created attachment 129965 [details]
Screenshot of correct driver chosen

Argh, I am mad! Oh, I wish I could read. OK, there's only one entry for 2550
there. Here's a new screenshot showing I chose the 2550. Next screenshot will
show that it's not showing the options.

Comment 4 David Anderson 2006-05-24 20:24:00 UTC
Created attachment 129966 [details]
Lack of options

Here's a screenshot showing that the special driver options aren't made
available.

Comment 5 Tim Waugh 2006-05-24 21:24:27 UTC
Oh, I see now.  The issue here is that we build the options screen from the
foomatic XML, which unfortunately is hugely out of step with the actual PPD shipped.

If you peek at the PPD in /etc/cups/ppd/ you'll see that the correct PPD
actually is chosen.  Unfortunately there isn't a way to set the options not in
the XML and have them stick in Fedora Core 5.

The re-written system-config-printer in Fedora Core 6 builds the options screen
from the actual PPD (at last!).

Comment 6 Tim Waugh 2006-05-24 21:25:48 UTC
Created attachment 129970 [details]
options a-plenty

Here's a screenshot from the current Fedora Core development code.

Comment 7 David Anderson 2006-05-25 14:48:47 UTC
Roll on FC6 and keep up the good work!

I've now verified that KDE presents all the real options from the PPD for use, 
even though s-c-p doesn't. That's good enough for me. KDE seems to remember 
all my options too.