Red Hat Bugzilla – Bug 219283
Displays IEEE 1284 IDs instead of foomatic model names
Last modified: 2008-02-27 07:00:25 EST
Description of problem:
Whoever wrote the foomatic XML parsing code in eggcups did so with very little
thought. It just reads nodes and acts on them without any regard to their context.
So for example, whichever 'driver' is listed last in the 'drivers' section (i.e.
printer/drivers/driver) might take precendence over the actual recommended
driver (i.e. printer/driver).
But the most important mistake is that any old 'model' tag will be used as the
for-display model name. Even this:
<description>Hewlett-Packard DeskJet 990C</description>
which should *only* ever be used for matching devices to database entries, and
*never* be shown to the user. These device IDs are really rough-and-ready
things that the manufacturers put in their devices. There is no consistency in
them -- unlike the foomatic names which *are* consistent.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Provoke the eggcups driver prompt dialog
Created attachment 143415 [details]
Here's a minimal fix (tested). Now it can actually create queues based on the