From 6638a08a8e3fa969c17d4e6a063cdd9f02d59ce4 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Thu, 16 Nov 2023 09:10:47 +0100 Subject: [PATCH] scheduler/ipp.c: Report warning if the destination can't do \'all,media-col-database\' together --- scheduler/ipp.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.2