From: Zdenek Dohnal Date: Thu, 16 Nov 2023 08:10:47 +0000 (+0100) Subject: scheduler/ipp.c: Report warning if the destination can't do \'all,media-col-database... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6638a08a8e3fa969c17d4e6a063cdd9f02d59ce4;p=thirdparty%2Fcups.git scheduler/ipp.c: Report warning if the destination can't do \'all,media-col-database\' together --- diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 52c1fa7c31..a01d30d714 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -5405,6 +5405,10 @@ create_local_bg_thread( if ((attr = ippFindAttribute(response2, "media-col-database", IPP_TAG_ZERO)) != NULL) { + cupsdLogMessage(CUPSD_LOG_WARN, "The printer %s does not support requests" + " with attribute set \"all,media-col-database\", which breaks IPP" + " conformance (RFC 8011, 4.2.5.1 \"requested-attributes\")" + " - report the issue to your printer manufacturer", printer->name); /* * Copy "media-col-database" attribute into the original * IPP response