]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Report the value of the printer-is-temporary attribute (Issue #5028)
authorMichael Sweet <michael.r.sweet@gmail.com>
Mon, 19 Jun 2017 12:59:55 +0000 (08:59 -0400)
committerMichael Sweet <michael.r.sweet@gmail.com>
Mon, 19 Jun 2017 12:59:55 +0000 (08:59 -0400)
CHANGES.md
cups/dest.c

index 690afde0e267dfe38dc4ddebe25eab3a3ff4425c..587a0b9d1c5da640c3b0d7b45970214bdb42bd03 100644 (file)
@@ -24,6 +24,8 @@ CHANGES IN CUPS V2.2.4
   haven't yet been added (Issue #5006)
 - Fixed a typo in the mime.types file.
 - Fixed a bug in the Spanish web interface template (Issue #5016)
+- The cupsEnumDests* and cupsGetDest* functions now report the value of the
+  "printer-is-temporary" Printer Status attribute (Issue #5028)
 - The cupsCheckDestSupported function did not support NULL values (Issue #5031)
 - Fixed some issues in the RPM spec file (Issue #5032)
 
index 1b62643f9c4ec3bc8d0cf8f0de527246b9a76680..3ff285d8c2e446b54b30c3afc08bca34c0b78705 100644 (file)
@@ -1745,6 +1745,7 @@ _cupsGetDests(http_t       *http, /* I  - Connection to server or
                  "printer-info",
                  "printer-is-accepting-jobs",
                  "printer-is-shared",
+                  "printer-is-temporary",
                  "printer-location",
                  "printer-make-and-model",
                  "printer-mandatory-job-attributes",
@@ -1851,7 +1852,8 @@ _cupsGetDests(http_t       *http, /* I  - Connection to server or
            !strcmp(attr->name, "marker-types") ||
            !strcmp(attr->name, "printer-commands") ||
            !strcmp(attr->name, "printer-info") ||
-           !strcmp(attr->name, "printer-is-shared") ||
+            !strcmp(attr->name, "printer-is-shared") ||
+            !strcmp(attr->name, "printer-is-temporary") ||
            !strcmp(attr->name, "printer-make-and-model") ||
            !strcmp(attr->name, "printer-mandatory-job-attributes") ||
            !strcmp(attr->name, "printer-state") ||