- Updated IPP Everywhere printer creation error reporting (Issue #347)
- Raised `cups_enum_dests()` timeout for listing available IPP printers
(Issue #751)
+- Fixed mapping of PPD InputSlot, MediaType, and OutputBin values (Issue #238)
- Fixed the web interface not showing an error for a non-existent printer
(Issue #423)
- Fixed printing of jobs with job name longer than 255 chars on older printers
return (NULL);
for (i = 0; i < pc->num_sources; i ++)
- if (!_cups_strcasecmp(keyword, pc->sources[i].pwg))
+ if (!_cups_strcasecmp(keyword, pc->sources[i].pwg) || !_cups_strcasecmp(keyword, pc->sources[i].ppd))
return (pc->sources[i].ppd);
return (NULL);
int i; /* Looping var */
for (i = 0; i < pc->num_types; i ++)
- if (!_cups_strcasecmp(keyword, pc->types[i].pwg))
+ if (!_cups_strcasecmp(keyword, pc->types[i].pwg) || !_cups_strcasecmp(keyword, pc->types[i].ppd))
return (pc->types[i].ppd);
}
for (i = 0; i < pc->num_bins; i ++)
- if (!_cups_strcasecmp(output_bin, pc->bins[i].pwg))
+ if (!_cups_strcasecmp(output_bin, pc->bins[i].pwg) || !_cups_strcasecmp(output_bin, pc->bins[i].ppd))
return (pc->bins[i].ppd);
return (NULL);