]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
scheduler/ipp.c: Report warning if the destination can't do \'all,media-col-database... 829/head
authorZdenek Dohnal <zdohnal@redhat.com>
Thu, 16 Nov 2023 08:10:47 +0000 (09:10 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Thu, 16 Nov 2023 08:10:47 +0000 (09:10 +0100)
scheduler/ipp.c

index 52c1fa7c31d81aa4adff4515425e5765fda0695d..a01d30d714c07b57397ca493d02ecc942f33e4e3 100644 (file)
@@ -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