If a printer supports more than one raster format (Apple Raster, PWG
Raster, PCLm), create only one "*cupsFilter2: ..." line for raster,
for the most desirable/reliable raster format.
Most preferred is Apple Raster, then PWG Raster, and after that PCLm
See
https://github.com/OpenPrinting/cups-filters/issues/498
Here a printer works correctly with Apple Raster but does not print
the page in its original size with PWG Raster.
}
}
#endif
- if (cupsArrayFind(pdl_list, "image/pwg-raster")) {
+ if (!is_apple && cupsArrayFind(pdl_list, "image/pwg-raster")) {
if ((attr = ippFindAttribute(response,
"pwg-raster-document-resolution-supported",
IPP_TAG_RESOLUTION)) != NULL) {
}
}
#ifdef QPDF_HAVE_PCLM
- if (cupsArrayFind(pdl_list, "application/PCLm")) {
+ if (!is_apple && !is_pwg && cupsArrayFind(pdl_list, "application/PCLm")) {
if ((attr = ippFindAttribute(response, "pclm-source-resolution-supported",
IPP_TAG_RESOLUTION)) != NULL) {
if ((defattr = ippFindAttribute(response,