From 2106ded0b47654a5aa860894e71434a7e99c1ac2 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Tue, 14 Jan 2020 17:42:05 +0100 Subject: [PATCH] Prioritize print-color-mode-supported during creating Color Models over pwg-raster-document-type-supported --- cupsfilters/ppdgenerator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cupsfilters/ppdgenerator.c b/cupsfilters/ppdgenerator.c index 9b2d20a09..ee1af5eac 100644 --- a/cupsfilters/ppdgenerator.c +++ b/cupsfilters/ppdgenerator.c @@ -2677,9 +2677,9 @@ ppdCreateFromIPP2(char *buffer, /* I - Filename buffer */ if ((attr = ippFindAttribute(response, "urf-supported", IPP_TAG_KEYWORD)) == NULL) - if ((attr = ippFindAttribute(response, "pwg-raster-document-type-supported", + if ((attr = ippFindAttribute(response, "print-color-mode-supported", IPP_TAG_KEYWORD)) == NULL) - if ((attr = ippFindAttribute(response, "print-color-mode-supported", + if ((attr = ippFindAttribute(response, "pwg-raster-document-type-supported", IPP_TAG_KEYWORD)) == NULL) attr = ippFindAttribute(response, "output-mode-supported", IPP_TAG_KEYWORD); -- 2.47.2