Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
"lpinfo -l -m" does not show all device IDs #1573
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):
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)
but the Adobe specification shows(UPPER-case D in the end)
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).
CUPS.org User: mike
First, reassigning the priority - this is a bug in the PPD files, not a CUPS bug per-se.
That said, we'll update cups-driverd and cupstestppd to handle this - cupstestppd will FAIL PPD files with 1284DeviceId and cups-driverd will use a case-insensitive comparison for 1284DeviceID.