]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Make sure we log the Create-Job but no Send-Document as a conformance error.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 23 May 2012 01:19:11 +0000 (01:19 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 23 May 2012 01:19:11 +0000 (01:19 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10501 7a7537e8-13f0-0310-91df-b6672ffda945

backend/ipp.c
scheduler/printers.c

index a42b13e5c30810271078c368206170083486e3a5..4f594e19707ad8532e35da070bbd83cb655759e0 100644 (file)
@@ -1085,6 +1085,9 @@ main(int  argc,                           /* I - Number of command-line args */
         fputs("DEBUG: Printer supports Create-Job but not Send-Document.\n",
               stderr);
         create_job = 0;
+
+       update_reasons(NULL, "+cups-ipp-conformance-failure-report,"
+                             "cups-ipp-missing-send-document");
       }
 
       if (!validate_job)
index 22fcd6b62798dc6cc283891d14db1adc951db1b8..aac2c98de8abade7dd34e457a7852409add42804 100644 (file)
@@ -4954,6 +4954,8 @@ log_ipp_conformance(
     message = "Printer does not support REQUIRED Validate-Job operation.";
   else if (!strcmp(reason, "missing-get-printer-attributes"))
     message = "Printer does not support REQUIRED Get-Printer-Attributes operation.";
+  else if (!strcmp(reason, "missing-send-document"))
+    message = "Printer supports Create-Job but not Send-Document operation.";
   else if (!strcmp(reason, "missing-job-history"))
     message = "Printer does not provide REQUIRED job history.";
   else if (!strcmp(reason, "missing-job-id"))