Skip to content

Commit

Permalink
ppd-cache.c: Fix IPP tag for pwg-raster-document-resolution-supported
Browse files Browse the repository at this point in the history
resolution-supported has IPP_TAG_RESOLUTION
  • Loading branch information
zdohnal committed Jan 15, 2025
1 parent 8f2bed7 commit ac6276a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cups/ppd-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -3510,7 +3510,7 @@ _ppdCreateFromIPP(char *buffer, /* I - Filename buffer */
is_apple = ippContainsString(attr, "image/urf") && (ippFindAttribute(supported, "urf-supported", IPP_TAG_KEYWORD) != NULL);
is_pdf = ippContainsString(attr, "application/pdf");
is_pwg = ippContainsString(attr, "image/pwg-raster") && !is_apple &&
(ippFindAttribute(supported, "pwg-raster-document-resolution-supported", IPP_TAG_KEYWORD) != NULL) &&
(ippFindAttribute(supported, "pwg-raster-document-resolution-supported", IPP_TAG_RESOLUTION) != NULL) &&
(ippFindAttribute(supported, "pwg-raster-document-type-supported", IPP_TAG_KEYWORD) != NULL);

if (ippContainsString(attr, "image/jpeg"))
Expand Down

0 comments on commit ac6276a

Please sign in to comment.