Johannes-

Thanks for this defect report.

First, on the issue of duplicates, I believe that you are misinterperting the models.dat file format.  Unique device types (that are differentialable by device ID MDL: name) are each have a separate .ini [section]. The model1=, model2=, key/values do not represent unique devices, but rather case part SKUs. For example. with the Deskjet F300:

[deskjet_f300_series]    # <- "normalization" of device ID MDL: field (spaces->_, lowercase, etc)
... snip...
model1=Deskjet F310    # <- List of "case part" names (only viewable on the front of the device)
model10=Deskjet F388
model11=Deskjet F390
model12=Deskjet F394
model13=Deskjet F375
model2=Deskjet F325
model3=Deskjet F335
model4=Deskjet F340
model5=Deskjet F350
model6=Deskjet F370
model7=Deskjet F378
model8=Deskjet F380
model9=Deskjet F385
...snip...

The [deskjet_f300_series] represents a unique firmware device ID MDL: name. The model1-9, only represent various case part numbers that appear on various printer SKUs. They do not represent unique devices from the standpoint of software detection, software features, etc.  If you were to purchase each of these 9 printers, they would all identify as "deskjet_f300_series" (normalized) - you would not be able to differentiate between each of them by reading their device IDs.  In HPLIP, the modelx= key/values are used for documentation ONLY (that is, it allows someone with a "Deskjet F350" to get to the information for the actual device "deskjet_f300_series."). In some cases, the device ID and case part model name are very close, so it will appear that the [device ID MDL:] and model1= are duplicates.

On the subject of the .desc file, there indeed was a bug introduced into the script that creates the file during a re-org of the documentation system in 2.8.4. A fixed version is attached.


Reagrds,

Don



On Tue, Apr 15, 2008 at 3:03 AM, Johannes Meixner <jsmeix@suse.de> wrote:
By the way:
How can I specify the MIME type for attachments?
Currently the "create_hpaio.desc_from_models.dat" attachment
has MIME type "chemical/x-mopac-input" which is nonsense
and must be just "text/plain" like my other attachments.

--
duplicates in models.dat and hpaio.desc
https://bugs.launchpad.net/bugs/217642
You received this bug notification because you are a member of HP Linux
Imaging and Printing, which is subscribed to HPLIP.