[cups.bugs] [HIGH] STR #1573: "lpinfo -l -m" does not show all device IDs

Till Kamppeter till.kamppeter at gmx.net
Tue Apr 18 07:34:40 PDT 2006


[STR New]

I have discovered that CUPS is able to list its PPDs with device IDs (in
contrary to STR #1552), only it does not work correctly.

Running "lpinfo -l -m" on a Mandriva Cooker installation lets only show
the following PPD files (download locations listed here):

All files in http://www.linuxprinting.org/download/PPD/HP/business_inkjet/
http://www.linuxprinting.org/download/PPD/HP/all_in_one/hp_officejet_9100_series.ppd

That is more or less HP's standard-format PostScript inkjet printers.

What these files have in common is that they have a device ID line
beginning with (lower-case D in the end)

*1284DeviceId:

but the Adobe specification shows(UPPER-case D in the end)

*1284DeviceID:

on page 72, near the top (also on page 213 in the list and on page 229).

So the check in scheduler/cups-driverd.c, line 802 should be either for
"*1284DeviceID:" or case-insensitive (to work around PPDs with incorrect
case).

Link: http://www.cups.org/str.php?L1573
Version: 1.2-current





More information about the cups-devel mailing list