Lines Matching +full:- +full:- +full:output +full:- +full:document
4 * Copyright 2007-2017 by Apple Inc.
5 * Copyright 1997-2007 by Easy Software Products, all rights reserved.
13 * This file is subject to the Apple OS-Developed Software exception.
20 #include "cups-private.h"
37 "successful-ok",
38 "successful-ok-ignored-or-substituted-attributes",
39 "successful-ok-conflicting-attributes",
40 "successful-ok-ignored-subscriptions",
41 "(successful-ok-ignored-notifications)",
42 "successful-ok-too-many-events",
43 "(successful-ok-but-cancel-subscription)",
44 "successful-ok-events-complete"
48 "client-error-bad-request",
49 "client-error-forbidden",
50 "client-error-not-authenticated",
51 "client-error-not-authorized",
52 "client-error-not-possible",
53 "client-error-timeout",
54 "client-error-not-found",
55 "client-error-gone",
56 "client-error-request-entity-too-large",
57 "client-error-request-value-too-long",
58 "client-error-document-format-not-supported",
59 "client-error-attributes-or-values-not-supported",
60 "client-error-uri-scheme-not-supported",
61 "client-error-charset-not-supported",
62 "client-error-conflicting-attributes",
63 "client-error-compression-not-supported",
64 "client-error-compression-error",
65 "client-error-document-format-error",
66 "client-error-document-access-error",
67 "client-error-attributes-not-settable",
68 "client-error-ignored-all-subscriptions",
69 "client-error-too-many-subscriptions",
70 "(client-error-ignored-all-notifications)",
71 "(client-error-client-print-support-file-not-found)",
72 "client-error-document-password-error",
73 "client-error-document-permission-error",
74 "client-error-document-security-error",
75 "client-error-document-unprintable-error",
76 "client-error-account-info-needed",
77 "client-error-account-closed",
78 "client-error-account-limit-reached",
79 "client-error-account-authorization-failed",
80 "client-error-not-fetchable"
84 /* 0x0480 - 0x048F */
101 /* 0x0490 - 0x049F */
114 "cups-error-account-info-needed",
115 "cups-error-account-closed",
116 "cups-error-account-limit-reached",
117 "cups-error-account-authorization-failed"
121 "server-error-internal-error",
122 "server-error-operation-not-supported",
123 "server-error-service-unavailable",
124 "server-error-version-not-supported",
125 "server-error-device-error",
126 "server-error-temporary-error",
127 "server-error-not-accepting-jobs",
128 "server-error-busy",
129 "server-error-job-canceled",
130 "server-error-multiple-document-jobs-not-supported",
131 "server-error-printer-is-deactivated",
132 "server-error-too-many-jobs",
133 "server-error-too-many-documents"
137 "cups-authentication-canceled",
138 "cups-pki-error",
139 "cups-upgrade-required"
143 /* 0x0000 - 0x000f */
146 "Print-Job",
147 "Print-URI",
148 "Validate-Job",
149 "Create-Job",
150 "Send-Document",
151 "Send-URI",
152 "Cancel-Job",
153 "Get-Job-Attributes",
154 "Get-Jobs",
155 "Get-Printer-Attributes",
156 "Hold-Job",
157 "Release-Job",
158 "Restart-Job",
161 /* 0x0010 - 0x001f */
162 "Pause-Printer",
163 "Resume-Printer",
164 "Purge-Jobs",
165 "Set-Printer-Attributes",
166 "Set-Job-Attributes",
167 "Get-Printer-Supported-Values",
168 "Create-Printer-Subscriptions",
169 "Create-Job-Subscriptions",
170 "Get-Subscription-Attributes",
171 "Get-Subscriptions",
172 "Renew-Subscription",
173 "Cancel-Subscription",
174 "Get-Notifications",
175 "(Send-Notifications)",
176 "(Get-Resource-Attributes)",
177 "(Get-Resource-Data)",
179 /* 0x0020 - 0x002f */
180 "(Get-Resources)",
181 "(Get-Printer-Support-Files)",
182 "Enable-Printer",
183 "Disable-Printer",
184 "Pause-Printer-After-Current-Job",
185 "Hold-New-Jobs",
186 "Release-Held-New-Jobs",
187 "Deactivate-Printer",
188 "Activate-Printer",
189 "Restart-Printer",
190 "Shutdown-Printer",
191 "Startup-Printer",
192 "Reprocess-Job",
193 "Cancel-Current-Job",
194 "Suspend-Current-Job",
195 "Resume-Job",
197 /* 0x0030 - 0x003f */
198 "Promote-Job",
199 "Schedule-Job-After",
201 "Cancel-Document",
202 "Get-Document-Attributes",
203 "Get-Documents",
204 "Delete-Document",
205 "Set-Document-Attributes",
206 "Cancel-Jobs",
207 "Cancel-My-Jobs",
208 "Resubmit-Job",
209 "Close-Job",
210 "Identify-Printer",
211 "Validate-Document",
212 "Add-Document-Images",
213 "Acknowledge-Document",
215 /* 0x0040 - 0x004a */
216 "Acknowledge-Identify-Printer",
217 "Acknowledge-Job",
218 "Fetch-Document",
219 "Fetch-Job",
220 "Get-Output-Device-Attributes",
221 "Update-Active-Jobs",
222 "Deregister-Output-Device",
223 "Update-Document-Status",
224 "Update-Job-Status",
225 "Update-Output-Device-Attributes",
226 "Get-Next-Document-Data"
230 "CUPS-Get-Default",
231 "CUPS-Get-Printers",
232 "CUPS-Add-Modify-Printer",
233 "CUPS-Delete-Printer",
234 "CUPS-Get-Classes",
235 "CUPS-Add-Modify-Class",
236 "CUPS-Delete-Class",
237 "CUPS-Accept-Jobs",
238 "CUPS-Reject-Jobs",
239 "CUPS-Set-Default",
240 "CUPS-Get-Devices",
241 "CUPS-Get-PPDs",
242 "CUPS-Move-Job",
243 "CUPS-Authenticate-Job",
244 "CUPS-Get-PPD"
248 "CUPS-Get-Document",
249 "CUPS-Create-Local-Printer"
254 "operation-attributes-tag",
256 "job-attributes-tag", /* 0x02 */
257 "end-of-attributes-tag",
259 "printer-attributes-tag",
261 "unsupported-attributes-tag",
263 "subscription-attributes-tag",
265 "event-notification-attributes-tag",
267 "(resource-attributes-tag)",
269 "document-attributes-tag",
280 "no-value", /* 0x13 */
282 "not-settable", /* 0x15 */
283 "delete-attribute", /* 0x16 */
284 "admin-define", /* 0x17 */
338 { /* document-state-enums */
342 "processing-stopped", /* IPPSIX */
354 "saddle-stitch",
355 "edge-stitch",
359 "booklet-maker",
360 "jog-offset",
366 "staple-top-left",
367 "staple-bottom-left",
368 "staple-top-right",
369 "staple-bottom-right",
370 "edge-stitch-left",
371 "edge-stitch-top",
372 "edge-stitch-right",
373 "edge-stitch-bottom",
374 "staple-dual-left",
375 "staple-dual-top",
376 "staple-dual-right",
377 "staple-dual-bottom",
378 "staple-triple-left", /* Finishings 2.0 */
379 "staple-triple-top", /* Finishings 2.0 */
380 "staple-triple-right",/* Finishings 2.0 */
381 "staple-triple-bottom",/* Finishings 2.0 */
396 "bind-left",
397 "bind-top",
398 "bind-right",
399 "bind-bottom",
406 "trim-after-pages",
407 "trim-after-documents",
408 "trim-after-copies",
409 "trim-after-job",
416 "punch-top-left", /* Finishings 2.0 */
417 "punch-bottom-left", /* Finishings 2.0 */
418 "punch-top-right", /* Finishings 2.0 */
419 "punch-bottom-right", /* Finishings 2.0 */
420 "punch-dual-left", /* Finishings 2.0 */
421 "punch-dual-top", /* Finishings 2.0 */
422 "punch-dual-right", /* Finishings 2.0 */
423 "punch-dual-bottom", /* Finishings 2.0 */
424 "punch-triple-left", /* Finishings 2.0 */
425 "punch-triple-top", /* Finishings 2.0 */
426 "punch-triple-right", /* Finishings 2.0 */
427 "punch-triple-bottom",/* Finishings 2.0 */
428 "punch-quad-left", /* Finishings 2.0 */
429 "punch-quad-top", /* Finishings 2.0 */
430 "punch-quad-right", /* Finishings 2.0 */
431 "punch-quad-bottom", /* Finishings 2.0 */
432 "punch-multiple-left",/* Finishings 2.1/Canon */
433 "punch-multiple-top", /* Finishings 2.1/Canon */
434 "punch-multiple-right",/* Finishings 2.1/Canon */
435 "punch-multiple-bottom",/* Finishings 2.1/Canon */
436 "fold-accordian", /* Finishings 2.0 */
437 "fold-double-gate", /* Finishings 2.0 */
438 "fold-gate", /* Finishings 2.0 */
439 "fold-half", /* Finishings 2.0 */
440 "fold-half-z", /* Finishings 2.0 */
441 "fold-left-gate", /* Finishings 2.0 */
442 "fold-letter", /* Finishings 2.0 */
443 "fold-parallel", /* Finishings 2.0 */
444 "fold-poster", /* Finishings 2.0 */
445 "fold-right-gate", /* Finishings 2.0 */
446 "fold-z", /* Finishings 2.0 */
447 "fold-engineering-z" /* Finishings 2.1 */
519 /* 0x40000040 - 0x4000004F */
526 "cups-punch-top-left",
527 "cups-punch-bottom-left",
528 "cups-punch-top-right",
529 "cups-punch-bottom-right",
530 "cups-punch-dual-left",
531 "cups-punch-dual-top",
532 "cups-punch-dual-right",
533 "cups-punch-dual-bottom",
534 "cups-punch-triple-left",
535 "cups-punch-triple-top",
536 /* 0x40000050 - 0x4000005F */
537 "cups-punch-triple-right",
538 "cups-punch-triple-bottom",
539 "cups-punch-quad-left",
540 "cups-punch-quad-top",
541 "cups-punch-quad-right",
542 "cups-punch-quad-bottom",
547 "cups-fold-accordian",
548 "cups-fold-double-gate",
549 "cups-fold-gate",
550 "cups-fold-half",
551 "cups-fold-half-z",
552 "cups-fold-left-gate",
553 /* 0x40000060 - 0x40000064 */
554 "cups-fold-letter",
555 "cups-fold-parallel",
556 "cups-fold-poster",
557 "cups-fold-right-gate",
558 "cups-fold-z"
561 { /* job-collation-type enums */
562 "uncollated-sheets",
563 "collated-documents",
564 "uncollated-documents"
567 { /* job-state enums */
569 "pending-held",
571 "processing-stopped",
577 { /* orientation-requested enums */
580 "reverse-landscape",
581 "reverse-portrait",
585 { /* print-quality enums */
591 { /* printer-state enums */
606 * 'ippAttributeString()' - Convert the attribute's value to a string.
615 size_t /* O - Number of bytes less nul */
617 ipp_attribute_t *attr, /* I - Attribute */ in ippAttributeString()
618 char *buffer, /* I - String buffer or NULL */ in ippAttributeString()
619 size_t bufsize) /* I - Size of string buffer */ in ippAttributeString()
630 if (!attr || !attr->name) in ippAttributeString()
640 bufend = buffer + bufsize - 1; in ippAttributeString()
644 for (i = attr->num_values, val = attr->values; i > 0; i --, val ++) in ippAttributeString()
646 if (val > attr->values) in ippAttributeString()
654 switch (attr->value_tag & ~IPP_TAG_CUPS_CONST) in ippAttributeString()
657 ptr = ippEnumString(attr->name, val->integer); in ippAttributeString()
660 strlcpy(bufptr, ptr, (size_t)(bufend - bufptr + 1)); in ippAttributeString()
667 bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%d", val->integer); in ippAttributeString()
669 bufptr += snprintf(temp, sizeof(temp), "%d", val->integer); in ippAttributeString()
674 strlcpy(bufptr, val->boolean ? "true" : "false", (size_t)(bufend - bufptr + 1)); in ippAttributeString()
676 bufptr += val->boolean ? 4 : 5; in ippAttributeString()
681 …bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%d-%d", val->range.lower, val->range.up… in ippAttributeString()
683 bufptr += snprintf(temp, sizeof(temp), "%d-%d", val->range.lower, val->range.upper); in ippAttributeString()
687 if (val->resolution.xres == val->resolution.yres) in ippAttributeString()
690 …bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%d%s", val->resolution.xres, val->resol… in ippAttributeString()
692 …bufptr += snprintf(temp, sizeof(temp), "%d%s", val->resolution.xres, val->resolution.units == IPP_… in ippAttributeString()
695 …tr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%dx%d%s", val->resolution.xres, val->resolu… in ippAttributeString()
697 …bufptr += snprintf(temp, sizeof(temp), "%dx%d%s", val->resolution.xres, val->resolution.yres, val-… in ippAttributeString()
704 year = ((unsigned)val->date[0] << 8) + (unsigned)val->date[1]; in ippAttributeString()
706 if (val->date[9] == 0 && val->date[10] == 0) in ippAttributeString()
707 snprintf(temp, sizeof(temp), "%04u-%02u-%02uT%02u:%02u:%02uZ", in ippAttributeString()
708 year, val->date[2], val->date[3], val->date[4], in ippAttributeString()
709 val->date[5], val->date[6]); in ippAttributeString()
712 "%04u-%02u-%02uT%02u:%02u:%02u%c%02u%02u", in ippAttributeString()
713 year, val->date[2], val->date[3], val->date[4], in ippAttributeString()
714 val->date[5], val->date[6], val->date[8], val->date[9], in ippAttributeString()
715 val->date[10]); in ippAttributeString()
718 strlcpy(bufptr, temp, (size_t)(bufend - bufptr + 1)); in ippAttributeString()
734 if (!val->string.text) in ippAttributeString()
737 for (ptr = val->string.text; *ptr; ptr ++) in ippAttributeString()
751 if (val->string.language) in ippAttributeString()
762 strlcpy(bufptr, val->string.language, (size_t)(bufend - bufptr)); in ippAttributeString()
763 bufptr += strlen(val->string.language); in ippAttributeString()
773 bufptr += ipp_col_string(val->collection, bufptr, (size_t)(bufend - bufptr + 1)); in ippAttributeString()
775 bufptr += ipp_col_string(val->collection, NULL, 0); in ippAttributeString()
779 for (ptr = val->unknown.data, end = ptr + val->unknown.length; in ippAttributeString()
795 bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "\\%03o", *ptr & 255); in ippAttributeString()
809 ptr = ippTagString(attr->value_tag); in ippAttributeString()
811 strlcpy(bufptr, ptr, (size_t)(bufend - bufptr + 1)); in ippAttributeString()
822 return ((size_t)(bufptr - buffer)); in ippAttributeString()
827 * 'ippCreateRequestedArray()' - Create a CUPS array of attribute names from the
828 * given requested-attributes attribute.
831 * list of "requested-attribute" values supplied in an IPP request. All IANA-
840 * "attribute-name")@ will return a non-NULL pointer. The array must be freed
846 cups_array_t * /* O - CUPS array or @code NULL@ if all */
847 ippCreateRequestedArray(ipp_t *request) /* I - IPP request */ in ippCreateRequestedArray()
852 ipp_attribute_t *requested; /* requested-attributes attribute */ in ippCreateRequestedArray()
857 { /* document-description group */ in ippCreateRequestedArray()
859 "copies-actual", in ippCreateRequestedArray()
860 "cover-back-actual", in ippCreateRequestedArray()
861 "cover-front-actual", in ippCreateRequestedArray()
862 "current-page-order", in ippCreateRequestedArray()
863 "date-time-at-completed", in ippCreateRequestedArray()
864 "date-time-at-creation", in ippCreateRequestedArray()
865 "date-time-at-processing", in ippCreateRequestedArray()
866 "detailed-status-messages", in ippCreateRequestedArray()
867 "document-access-errors", in ippCreateRequestedArray()
868 "document-charset", in ippCreateRequestedArray()
869 "document-digital-signature", in ippCreateRequestedArray()
870 "document-format", in ippCreateRequestedArray()
871 "document-format-details", in ippCreateRequestedArray()
872 "document-format-detected", in ippCreateRequestedArray()
873 "document-format-version", in ippCreateRequestedArray()
874 "document-format-version-detected", in ippCreateRequestedArray()
875 "document-job-id", in ippCreateRequestedArray()
876 "document-job-uri", in ippCreateRequestedArray()
877 "document-message", in ippCreateRequestedArray()
878 "document-metadata", in ippCreateRequestedArray()
879 "document-name", in ippCreateRequestedArray()
880 "document-natural-language", in ippCreateRequestedArray()
881 "document-number", in ippCreateRequestedArray()
882 "document-printer-uri", in ippCreateRequestedArray()
883 "document-state", in ippCreateRequestedArray()
884 "document-state-message", in ippCreateRequestedArray()
885 "document-state-reasons", in ippCreateRequestedArray()
886 "document-uri", in ippCreateRequestedArray()
887 "document-uuid", in ippCreateRequestedArray()
888 "errors-count", in ippCreateRequestedArray()
889 "finishings-actual", in ippCreateRequestedArray()
890 "finishings-col-actual", in ippCreateRequestedArray()
891 "force-front-side-actual", in ippCreateRequestedArray()
892 "imposition-template-actual", in ippCreateRequestedArray()
894 "impressions-completed", in ippCreateRequestedArray()
895 "impressions-completed-current-copy", in ippCreateRequestedArray()
896 "insert-sheet-actual", in ippCreateRequestedArray()
897 "k-octets", in ippCreateRequestedArray()
898 "k-octets-processed", in ippCreateRequestedArray()
899 "last-document", in ippCreateRequestedArray()
900 "materials-col-actual", /* IPP 3D */ in ippCreateRequestedArray()
901 "media-actual", in ippCreateRequestedArray()
902 "media-col-actual", in ippCreateRequestedArray()
903 "media-input-tray-check-actual", in ippCreateRequestedArray()
904 "media-sheets", in ippCreateRequestedArray()
905 "media-sheets-completed", in ippCreateRequestedArray()
906 "more-info", in ippCreateRequestedArray()
907 "multiple-object-handling-actual", /* IPP 3D */ in ippCreateRequestedArray()
908 "number-up-actual", in ippCreateRequestedArray()
909 "orientation-requested-actual", in ippCreateRequestedArray()
910 "output-bin-actual", in ippCreateRequestedArray()
911 "output-device-assigned", in ippCreateRequestedArray()
912 "overrides-actual", in ippCreateRequestedArray()
913 "page-delivery-actual", in ippCreateRequestedArray()
914 "page-order-received-actual", in ippCreateRequestedArray()
915 "page-ranges-actual", in ippCreateRequestedArray()
917 "pages-completed", in ippCreateRequestedArray()
918 "pages-completed-current-copy", in ippCreateRequestedArray()
919 "platform-temperature-actual", /* IPP 3D */ in ippCreateRequestedArray()
920 "presentation-direction-number-up-actual", in ippCreateRequestedArray()
921 "print-accuracy-actual", /* IPP 3D */ in ippCreateRequestedArray()
922 "print-base-actual", /* IPP 3D */ in ippCreateRequestedArray()
923 "print-color-mode-actual", in ippCreateRequestedArray()
924 "print-content-optimize-actual", in ippCreateRequestedArray()
925 "print-objects-actual", /* IPP 3D */ in ippCreateRequestedArray()
926 "print-quality-actual", in ippCreateRequestedArray()
927 "print-rendering-intent-actual", in ippCreateRequestedArray()
928 "print-scaling-actual", /* IPP Paid Printing */ in ippCreateRequestedArray()
929 "print-supports-actual", /* IPP 3D */ in ippCreateRequestedArray()
930 "printer-resolution-actual", in ippCreateRequestedArray()
931 "printer-up-time", in ippCreateRequestedArray()
932 "separator-sheets-actual", in ippCreateRequestedArray()
933 "sheet-completed-copy-number", in ippCreateRequestedArray()
934 "sides-actual", in ippCreateRequestedArray()
935 "time-at-completed", in ippCreateRequestedArray()
936 "time-at-creation", in ippCreateRequestedArray()
937 "time-at-processing", in ippCreateRequestedArray()
938 "x-image-position-actual", in ippCreateRequestedArray()
939 "x-image-shift-actual", in ippCreateRequestedArray()
940 "x-side1-image-shift-actual", in ippCreateRequestedArray()
941 "x-side2-image-shift-actual", in ippCreateRequestedArray()
942 "y-image-position-actual", in ippCreateRequestedArray()
943 "y-image-shift-actual", in ippCreateRequestedArray()
944 "y-side1-image-shift-actual", in ippCreateRequestedArray()
945 "y-side2-image-shift-actual" in ippCreateRequestedArray()
948 { /* document-template group */ in ippCreateRequestedArray()
950 "copies-default", in ippCreateRequestedArray()
951 "copies-supported", in ippCreateRequestedArray()
952 "cover-back", in ippCreateRequestedArray()
953 "cover-back-default", in ippCreateRequestedArray()
954 "cover-back-supported", in ippCreateRequestedArray()
955 "cover-front", in ippCreateRequestedArray()
956 "cover-front-default", in ippCreateRequestedArray()
957 "cover-front-supported", in ippCreateRequestedArray()
958 "feed-orientation", in ippCreateRequestedArray()
959 "feed-orientation-default", in ippCreateRequestedArray()
960 "feed-orientation-supported", in ippCreateRequestedArray()
962 "finishings-col", in ippCreateRequestedArray()
963 "finishings-col-default", in ippCreateRequestedArray()
964 "finishings-col-supported", in ippCreateRequestedArray()
965 "finishings-default", in ippCreateRequestedArray()
966 "finishings-supported", in ippCreateRequestedArray()
967 "font-name-requested", in ippCreateRequestedArray()
968 "font-name-requested-default", in ippCreateRequestedArray()
969 "font-name-requested-supported", in ippCreateRequestedArray()
970 "font-size-requested", in ippCreateRequestedArray()
971 "font-size-requested-default", in ippCreateRequestedArray()
972 "font-size-requested-supported", in ippCreateRequestedArray()
973 "force-front-side", in ippCreateRequestedArray()
974 "force-front-side-default", in ippCreateRequestedArray()
975 "force-front-side-supported", in ippCreateRequestedArray()
976 "imposition-template", in ippCreateRequestedArray()
977 "imposition-template-default", in ippCreateRequestedArray()
978 "imposition-template-supported", in ippCreateRequestedArray()
979 "insert-after-page-number-supported", in ippCreateRequestedArray()
980 "insert-count-supported", in ippCreateRequestedArray()
981 "insert-sheet", in ippCreateRequestedArray()
982 "insert-sheet-default", in ippCreateRequestedArray()
983 "insert-sheet-supported", in ippCreateRequestedArray()
984 "material-amount-units-supported", /* IPP 3D */ in ippCreateRequestedArray()
985 "material-diameter-supported", /* IPP 3D */ in ippCreateRequestedArray()
986 "material-purpose-supported", /* IPP 3D */ in ippCreateRequestedArray()
987 "material-rate-supported", /* IPP 3D */ in ippCreateRequestedArray()
988 "material-rate-units-supported", /* IPP 3D */ in ippCreateRequestedArray()
989 "material-shell-thickness-supported",/* IPP 3D */ in ippCreateRequestedArray()
990 "material-temperature-supported", /* IPP 3D */ in ippCreateRequestedArray()
991 "material-type-supported", /* IPP 3D */ in ippCreateRequestedArray()
992 "materials-col", /* IPP 3D */ in ippCreateRequestedArray()
993 "materials-col-database", /* IPP 3D */ in ippCreateRequestedArray()
994 "materials-col-default", /* IPP 3D */ in ippCreateRequestedArray()
995 "materials-col-ready", /* IPP 3D */ in ippCreateRequestedArray()
996 "materials-col-supported", /* IPP 3D */ in ippCreateRequestedArray()
997 "max-materials-col-supported", /* IPP 3D */ in ippCreateRequestedArray()
998 "max-stitching-locations-supported", in ippCreateRequestedArray()
1000 "media-back-coating-supported", in ippCreateRequestedArray()
1001 "media-bottom-margin-supported", in ippCreateRequestedArray()
1002 "media-col", in ippCreateRequestedArray()
1003 "media-col-default", in ippCreateRequestedArray()
1004 "media-col-supported", in ippCreateRequestedArray()
1005 "media-color-supported", in ippCreateRequestedArray()
1006 "media-default", in ippCreateRequestedArray()
1007 "media-front-coating-supported", in ippCreateRequestedArray()
1008 "media-grain-supported", in ippCreateRequestedArray()
1009 "media-hole-count-supported", in ippCreateRequestedArray()
1010 "media-info-supported", in ippCreateRequestedArray()
1011 "media-input-tray-check", in ippCreateRequestedArray()
1012 "media-input-tray-check-default", in ippCreateRequestedArray()
1013 "media-input-tray-check-supported", in ippCreateRequestedArray()
1014 "media-key-supported", in ippCreateRequestedArray()
1015 "media-left-margin-supported", in ippCreateRequestedArray()
1016 "media-order-count-supported", in ippCreateRequestedArray()
1017 "media-pre-printed-supported", in ippCreateRequestedArray()
1018 "media-recycled-supported", in ippCreateRequestedArray()
1019 "media-right-margin-supported", in ippCreateRequestedArray()
1020 "media-size-supported", in ippCreateRequestedArray()
1021 "media-source-supported", in ippCreateRequestedArray()
1022 "media-supported", in ippCreateRequestedArray()
1023 "media-thickness-supported", in ippCreateRequestedArray()
1024 "media-top-margin-supported", in ippCreateRequestedArray()
1025 "media-type-supported", in ippCreateRequestedArray()
1026 "media-weight-metric-supported", in ippCreateRequestedArray()
1027 "multiple-document-handling", in ippCreateRequestedArray()
1028 "multiple-document-handling-default", in ippCreateRequestedArray()
1029 "multiple-document-handling-supported", in ippCreateRequestedArray()
1030 "multiple-object-handling", /* IPP 3D */ in ippCreateRequestedArray()
1031 "multiple-object-handling-default", /* IPP 3D */ in ippCreateRequestedArray()
1032 "multiple-object-handling-supported",/* IPP 3D */ in ippCreateRequestedArray()
1033 "number-up", in ippCreateRequestedArray()
1034 "number-up-default", in ippCreateRequestedArray()
1035 "number-up-supported", in ippCreateRequestedArray()
1036 "orientation-requested", in ippCreateRequestedArray()
1037 "orientation-requested-default", in ippCreateRequestedArray()
1038 "orientation-requested-supported", in ippCreateRequestedArray()
1039 "output-mode", /* CUPS extension */ in ippCreateRequestedArray()
1040 "output-mode-default", /* CUPS extension */ in ippCreateRequestedArray()
1041 "output-mode-supported", /* CUPS extension */ in ippCreateRequestedArray()
1043 "overrides-supported", in ippCreateRequestedArray()
1044 "page-delivery", in ippCreateRequestedArray()
1045 "page-delivery-default", in ippCreateRequestedArray()
1046 "page-delivery-supported", in ippCreateRequestedArray()
1047 "page-order-received", in ippCreateRequestedArray()
1048 "page-order-received-default", in ippCreateRequestedArray()
1049 "page-order-received-supported", in ippCreateRequestedArray()
1050 "page-ranges", in ippCreateRequestedArray()
1051 "page-ranges-supported", in ippCreateRequestedArray()
1052 "pages-per-subset", in ippCreateRequestedArray()
1053 "pages-per-subset-supported", in ippCreateRequestedArray()
1054 "pdl-init-file", in ippCreateRequestedArray()
1055 "pdl-init-file-default", in ippCreateRequestedArray()
1056 "pdl-init-file-entry-supported", in ippCreateRequestedArray()
1057 "pdl-init-file-location-supported", in ippCreateRequestedArray()
1058 "pdl-init-file-name-subdirectory-supported", in ippCreateRequestedArray()
1059 "pdl-init-file-name-supported", in ippCreateRequestedArray()
1060 "pdl-init-file-supported", in ippCreateRequestedArray()
1061 "platform-temperature", /* IPP 3D */ in ippCreateRequestedArray()
1062 "platform-temperature-default", /* IPP 3D */ in ippCreateRequestedArray()
1063 "platform-temperature-supported", /* IPP 3D */ in ippCreateRequestedArray()
1064 "presentation-direction-number-up", in ippCreateRequestedArray()
1065 "presentation-direction-number-up-default", in ippCreateRequestedArray()
1066 "presentation-direction-number-up-supported", in ippCreateRequestedArray()
1067 "print-accuracy", /* IPP 3D */ in ippCreateRequestedArray()
1068 "print-accuracy-default", /* IPP 3D */ in ippCreateRequestedArray()
1069 "print-accuracy-supported", /* IPP 3D */ in ippCreateRequestedArray()
1070 "print-base", /* IPP 3D */ in ippCreateRequestedArray()
1071 "print-base-default", /* IPP 3D */ in ippCreateRequestedArray()
1072 "print-base-supported", /* IPP 3D */ in ippCreateRequestedArray()
1073 "print-color-mode", in ippCreateRequestedArray()
1074 "print-color-mode-default", in ippCreateRequestedArray()
1075 "print-color-mode-supported", in ippCreateRequestedArray()
1076 "print-content-optimize", in ippCreateRequestedArray()
1077 "print-content-optimize-default", in ippCreateRequestedArray()
1078 "print-content-optimize-supported", in ippCreateRequestedArray()
1079 "print-objects", /* IPP 3D */ in ippCreateRequestedArray()
1080 "print-objects-default", /* IPP 3D */ in ippCreateRequestedArray()
1081 "print-objects-supported", /* IPP 3D */ in ippCreateRequestedArray()
1082 "print-quality", in ippCreateRequestedArray()
1083 "print-quality-default", in ippCreateRequestedArray()
1084 "print-quality-supported", in ippCreateRequestedArray()
1085 "print-rendering-intent", in ippCreateRequestedArray()
1086 "print-rendering-intent-default", in ippCreateRequestedArray()
1087 "print-rendering-intent-supported", in ippCreateRequestedArray()
1088 "print-scaling", /* IPP Paid Printing */ in ippCreateRequestedArray()
1089 "print-scaling-default", /* IPP Paid Printing */ in ippCreateRequestedArray()
1090 "print-scaling-supported", /* IPP Paid Printing */ in ippCreateRequestedArray()
1091 "print-supports", /* IPP 3D */ in ippCreateRequestedArray()
1092 "print-supports-default", /* IPP 3D */ in ippCreateRequestedArray()
1093 "print-supports-supported", /* IPP 3D */ in ippCreateRequestedArray()
1094 "printer-resolution", in ippCreateRequestedArray()
1095 "printer-resolution-default", in ippCreateRequestedArray()
1096 "printer-resolution-supported", in ippCreateRequestedArray()
1097 "separator-sheets", in ippCreateRequestedArray()
1098 "separator-sheets-default", in ippCreateRequestedArray()
1099 "separator-sheets-supported", in ippCreateRequestedArray()
1100 "sheet-collate", in ippCreateRequestedArray()
1101 "sheet-collate-default", in ippCreateRequestedArray()
1102 "sheet-collate-supported", in ippCreateRequestedArray()
1104 "sides-default", in ippCreateRequestedArray()
1105 "sides-supported", in ippCreateRequestedArray()
1106 "stitching-locations-supported", in ippCreateRequestedArray()
1107 "stitching-offset-supported", in ippCreateRequestedArray()
1108 "x-image-position", in ippCreateRequestedArray()
1109 "x-image-position-default", in ippCreateRequestedArray()
1110 "x-image-position-supported", in ippCreateRequestedArray()
1111 "x-image-shift", in ippCreateRequestedArray()
1112 "x-image-shift-default", in ippCreateRequestedArray()
1113 "x-image-shift-supported", in ippCreateRequestedArray()
1114 "x-side1-image-shift", in ippCreateRequestedArray()
1115 "x-side1-image-shift-default", in ippCreateRequestedArray()
1116 "x-side1-image-shift-supported", in ippCreateRequestedArray()
1117 "x-side2-image-shift", in ippCreateRequestedArray()
1118 "x-side2-image-shift-default", in ippCreateRequestedArray()
1119 "x-side2-image-shift-supported", in ippCreateRequestedArray()
1120 "y-image-position", in ippCreateRequestedArray()
1121 "y-image-position-default", in ippCreateRequestedArray()
1122 "y-image-position-supported", in ippCreateRequestedArray()
1123 "y-image-shift", in ippCreateRequestedArray()
1124 "y-image-shift-default", in ippCreateRequestedArray()
1125 "y-image-shift-supported", in ippCreateRequestedArray()
1126 "y-side1-image-shift", in ippCreateRequestedArray()
1127 "y-side1-image-shift-default", in ippCreateRequestedArray()
1128 "y-side1-image-shift-supported", in ippCreateRequestedArray()
1129 "y-side2-image-shift", in ippCreateRequestedArray()
1130 "y-side2-image-shift-default", in ippCreateRequestedArray()
1131 "y-side2-image-shift-supported" in ippCreateRequestedArray()
1134 { /* job-description group */ in ippCreateRequestedArray()
1135 "compression-supplied", in ippCreateRequestedArray()
1136 "copies-actual", in ippCreateRequestedArray()
1137 "cover-back-actual", in ippCreateRequestedArray()
1138 "cover-front-actual", in ippCreateRequestedArray()
1139 "current-page-order", in ippCreateRequestedArray()
1140 "date-time-at-completed", in ippCreateRequestedArray()
1141 "date-time-at-creation", in ippCreateRequestedArray()
1142 "date-time-at-processing", in ippCreateRequestedArray()
1143 "destination-statuses", in ippCreateRequestedArray()
1144 "document-charset-supplied", in ippCreateRequestedArray()
1145 "document-digital-signature-supplied", in ippCreateRequestedArray()
1146 "document-format-details-supplied", in ippCreateRequestedArray()
1147 "document-format-supplied", in ippCreateRequestedArray()
1148 "document-message-supplied", in ippCreateRequestedArray()
1149 "document-metadata", in ippCreateRequestedArray()
1150 "document-name-supplied", in ippCreateRequestedArray()
1151 "document-natural-language-supplied", in ippCreateRequestedArray()
1152 "document-overrides-actual", in ippCreateRequestedArray()
1153 "errors-count", in ippCreateRequestedArray()
1154 "finishings-actual", in ippCreateRequestedArray()
1155 "finishings-col-actual", in ippCreateRequestedArray()
1156 "force-front-side-actual", in ippCreateRequestedArray()
1157 "imposition-template-actual", in ippCreateRequestedArray()
1158 "impressions-completed-current-copy", in ippCreateRequestedArray()
1159 "insert-sheet-actual", in ippCreateRequestedArray()
1160 "job-account-id-actual", in ippCreateRequestedArray()
1161 "job-accounting-sheets-actual", in ippCreateRequestedArray()
1162 "job-accounting-user-id-actual", in ippCreateRequestedArray()
1163 "job-attribute-fidelity", in ippCreateRequestedArray()
1164 "job-charge-info", /* CUPS extension */ in ippCreateRequestedArray()
1165 "job-collation-type", in ippCreateRequestedArray()
1166 "job-collation-type-actual", in ippCreateRequestedArray()
1167 "job-copies-actual", in ippCreateRequestedArray()
1168 "job-cover-back-actual", in ippCreateRequestedArray()
1169 "job-cover-front-actual", in ippCreateRequestedArray()
1170 "job-detailed-status-message", in ippCreateRequestedArray()
1171 "job-document-access-errors", in ippCreateRequestedArray()
1172 "job-error-sheet-actual", in ippCreateRequestedArray()
1173 "job-finishings-actual", in ippCreateRequestedArray()
1174 "job-finishings-col-actual", in ippCreateRequestedArray()
1175 "job-hold-until-actual", in ippCreateRequestedArray()
1176 "job-id", in ippCreateRequestedArray()
1177 "job-impressions", in ippCreateRequestedArray()
1178 "job-impressions-completed", in ippCreateRequestedArray()
1179 "job-k-octets", in ippCreateRequestedArray()
1180 "job-k-octets-processed", in ippCreateRequestedArray()
1181 "job-mandatory-attributes", in ippCreateRequestedArray()
1182 "job-media-progress", /* CUPS extension */ in ippCreateRequestedArray()
1183 "job-media-sheets", in ippCreateRequestedArray()
1184 "job-media-sheets-completed", in ippCreateRequestedArray()
1185 "job-message-from-operator", in ippCreateRequestedArray()
1186 "job-more-info", in ippCreateRequestedArray()
1187 "job-name", in ippCreateRequestedArray()
1188 "job-originating-host-name", /* CUPS extension */ in ippCreateRequestedArray()
1189 "job-originating-user-name", in ippCreateRequestedArray()
1190 "job-originating-user-uri", in ippCreateRequestedArray()
1191 "job-pages", in ippCreateRequestedArray()
1192 "job-pages-completed", in ippCreateRequestedArray()
1193 "job-pages-completed-current-copy", in ippCreateRequestedArray()
1194 "job-printer-state-message", /* CUPS extension */ in ippCreateRequestedArray()
1195 "job-printer-state-reasons", /* CUPS extension */ in ippCreateRequestedArray()
1196 "job-printer-up-time", in ippCreateRequestedArray()
1197 "job-printer-uri", in ippCreateRequestedArray()
1198 "job-priority-actual", in ippCreateRequestedArray()
1199 "job-save-printer-make-and-model", in ippCreateRequestedArray()
1200 "job-sheet-message-actual", in ippCreateRequestedArray()
1201 "job-sheets-actual", in ippCreateRequestedArray()
1202 "job-sheets-col-actual", in ippCreateRequestedArray()
1203 "job-state", in ippCreateRequestedArray()
1204 "job-state-message", in ippCreateRequestedArray()
1205 "job-state-reasons", in ippCreateRequestedArray()
1206 "job-uri", in ippCreateRequestedArray()
1207 "job-uuid", in ippCreateRequestedArray()
1208 "materials-col-actual", /* IPP 3D */ in ippCreateRequestedArray()
1209 "media-actual", in ippCreateRequestedArray()
1210 "media-col-actual", in ippCreateRequestedArray()
1211 "media-check-input-tray-actual", in ippCreateRequestedArray()
1212 "multiple-document-handling-actual", in ippCreateRequestedArray()
1213 "multiple-object-handling-actual", /* IPP 3D */ in ippCreateRequestedArray()
1214 "number-of-documents", in ippCreateRequestedArray()
1215 "number-of-intervening-jobs", in ippCreateRequestedArray()
1216 "number-up-actual", in ippCreateRequestedArray()
1217 "orientation-requested-actual", in ippCreateRequestedArray()
1218 "original-requesting-user-name", in ippCreateRequestedArray()
1219 "output-bin-actual", in ippCreateRequestedArray()
1220 "output-device-assigned", in ippCreateRequestedArray()
1221 "overrides-actual", in ippCreateRequestedArray()
1222 "page-delivery-actual", in ippCreateRequestedArray()
1223 "page-order-received-actual", in ippCreateRequestedArray()
1224 "page-ranges-actual", in ippCreateRequestedArray()
1225 "platform-temperature-actual", /* IPP 3D */ in ippCreateRequestedArray()
1226 "presentation-direction-number-up-actual", in ippCreateRequestedArray()
1227 "print-accuracy-actual", /* IPP 3D */ in ippCreateRequestedArray()
1228 "print-base-actual", /* IPP 3D */ in ippCreateRequestedArray()
1229 "print-color-mode-actual", in ippCreateRequestedArray()
1230 "print-content-optimize-actual", in ippCreateRequestedArray()
1231 "print-objects-actual", /* IPP 3D */ in ippCreateRequestedArray()
1232 "print-quality-actual", in ippCreateRequestedArray()
1233 "print-rendering-intent-actual", in ippCreateRequestedArray()
1234 "print-scaling-actual", /* IPP Paid Printing */ in ippCreateRequestedArray()
1235 "print-supports-actual", /* IPP 3D */ in ippCreateRequestedArray()
1236 "printer-resolution-actual", in ippCreateRequestedArray()
1237 "separator-sheets-actual", in ippCreateRequestedArray()
1238 "sheet-collate-actual", in ippCreateRequestedArray()
1239 "sheet-completed-copy-number", in ippCreateRequestedArray()
1240 "sheet-completed-document-number", in ippCreateRequestedArray()
1241 "sides-actual", in ippCreateRequestedArray()
1242 "time-at-completed", in ippCreateRequestedArray()
1243 "time-at-creation", in ippCreateRequestedArray()
1244 "time-at-processing", in ippCreateRequestedArray()
1245 "warnings-count", in ippCreateRequestedArray()
1246 "x-image-position-actual", in ippCreateRequestedArray()
1247 "x-image-shift-actual", in ippCreateRequestedArray()
1248 "x-side1-image-shift-actual", in ippCreateRequestedArray()
1249 "x-side2-image-shift-actual", in ippCreateRequestedArray()
1250 "y-image-position-actual", in ippCreateRequestedArray()
1251 "y-image-shift-actual", in ippCreateRequestedArray()
1252 "y-side1-image-shift-actual", in ippCreateRequestedArray()
1253 "y-side2-image-shift-actual" in ippCreateRequestedArray()
1256 { /* job-template group */ in ippCreateRequestedArray()
1257 "accuracy-units-supported", /* IPP 3D */ in ippCreateRequestedArray()
1258 "confirmation-sheet-print", /* IPP FaxOut */ in ippCreateRequestedArray()
1259 "confirmation-sheet-print-default", in ippCreateRequestedArray()
1261 "copies-default", in ippCreateRequestedArray()
1262 "copies-supported", in ippCreateRequestedArray()
1263 "cover-back", in ippCreateRequestedArray()
1264 "cover-back-default", in ippCreateRequestedArray()
1265 "cover-back-supported", in ippCreateRequestedArray()
1266 "cover-front", in ippCreateRequestedArray()
1267 "cover-front-default", in ippCreateRequestedArray()
1268 "cover-front-supported", in ippCreateRequestedArray()
1269 "cover-sheet-info", /* IPP FaxOut */ in ippCreateRequestedArray()
1270 "cover-sheet-info-default", in ippCreateRequestedArray()
1271 "cover-sheet-info-supported", in ippCreateRequestedArray()
1272 "destination-uri-schemes-supported",/* IPP FaxOut */ in ippCreateRequestedArray()
1273 "destination-uris", /* IPP FaxOut */ in ippCreateRequestedArray()
1274 "destination-uris-supported", in ippCreateRequestedArray()
1275 "feed-orientation", in ippCreateRequestedArray()
1276 "feed-orientation-default", in ippCreateRequestedArray()
1277 "feed-orientation-supported", in ippCreateRequestedArray()
1279 "finishings-col", in ippCreateRequestedArray()
1280 "finishings-col-default", in ippCreateRequestedArray()
1281 "finishings-col-supported", in ippCreateRequestedArray()
1282 "finishings-default", in ippCreateRequestedArray()
1283 "finishings-supported", in ippCreateRequestedArray()
1284 "font-name-requested", in ippCreateRequestedArray()
1285 "font-name-requested-default", in ippCreateRequestedArray()
1286 "font-name-requested-supported", in ippCreateRequestedArray()
1287 "font-size-requested", in ippCreateRequestedArray()
1288 "font-size-requested-default", in ippCreateRequestedArray()
1289 "font-size-requested-supported", in ippCreateRequestedArray()
1290 "force-front-side", in ippCreateRequestedArray()
1291 "force-front-side-default", in ippCreateRequestedArray()
1292 "force-front-side-supported", in ippCreateRequestedArray()
1293 "imposition-template", in ippCreateRequestedArray()
1294 "imposition-template-default", in ippCreateRequestedArray()
1295 "imposition-template-supported", in ippCreateRequestedArray()
1296 "insert-after-page-number-supported", in ippCreateRequestedArray()
1297 "insert-count-supported", in ippCreateRequestedArray()
1298 "insert-sheet", in ippCreateRequestedArray()
1299 "insert-sheet-default", in ippCreateRequestedArray()
1300 "insert-sheet-supported", in ippCreateRequestedArray()
1301 "job-account-id", in ippCreateRequestedArray()
1302 "job-account-id-default", in ippCreateRequestedArray()
1303 "job-account-id-supported", in ippCreateRequestedArray()
1304 "job-accounting-sheets" in ippCreateRequestedArray()
1305 "job-accounting-sheets-default" in ippCreateRequestedArray()
1306 "job-accounting-sheets-supported" in ippCreateRequestedArray()
1307 "job-accounting-user-id", in ippCreateRequestedArray()
1308 "job-accounting-user-id-default", in ippCreateRequestedArray()
1309 "job-accounting-user-id-supported", in ippCreateRequestedArray()
1310 "job-copies", in ippCreateRequestedArray()
1311 "job-copies-default", in ippCreateRequestedArray()
1312 "job-copies-supported", in ippCreateRequestedArray()
1313 "job-cover-back", in ippCreateRequestedArray()
1314 "job-cover-back-default", in ippCreateRequestedArray()
1315 "job-cover-back-supported", in ippCreateRequestedArray()
1316 "job-cover-front", in ippCreateRequestedArray()
1317 "job-cover-front-default", in ippCreateRequestedArray()
1318 "job-cover-front-supported", in ippCreateRequestedArray()
1319 "job-delay-output-until", in ippCreateRequestedArray()
1320 "job-delay-output-until-default", in ippCreateRequestedArray()
1321 "job-delay-output-until-supported", in ippCreateRequestedArray()
1322 "job-delay-output-until-time", in ippCreateRequestedArray()
1323 "job-delay-output-until-time-default", in ippCreateRequestedArray()
1324 "job-delay-output-until-time-supported", in ippCreateRequestedArray()
1325 "job-error-action", in ippCreateRequestedArray()
1326 "job-error-action-default", in ippCreateRequestedArray()
1327 "job-error-action-supported", in ippCreateRequestedArray()
1328 "job-error-sheet", in ippCreateRequestedArray()
1329 "job-error-sheet-default", in ippCreateRequestedArray()
1330 "job-error-sheet-supported", in ippCreateRequestedArray()
1331 "job-finishings", in ippCreateRequestedArray()
1332 "job-finishings-col", in ippCreateRequestedArray()
1333 "job-finishings-col-default", in ippCreateRequestedArray()
1334 "job-finishings-col-supported", in ippCreateRequestedArray()
1335 "job-finishings-default", in ippCreateRequestedArray()
1336 "job-finishings-supported", in ippCreateRequestedArray()
1337 "job-hold-until", in ippCreateRequestedArray()
1338 "job-hold-until-default", in ippCreateRequestedArray()
1339 "job-hold-until-supported", in ippCreateRequestedArray()
1340 "job-hold-until-time", in ippCreateRequestedArray()
1341 "job-hold-until-time-default", in ippCreateRequestedArray()
1342 "job-hold-until-time-supported", in ippCreateRequestedArray()
1343 "job-message-to-operator", in ippCreateRequestedArray()
1344 "job-message-to-operator-default", in ippCreateRequestedArray()
1345 "job-message-to-operator-supported", in ippCreateRequestedArray()
1346 "job-phone-number", in ippCreateRequestedArray()
1347 "job-phone-number-default", in ippCreateRequestedArray()
1348 "job-phone-number-supported", in ippCreateRequestedArray()
1349 "job-priority", in ippCreateRequestedArray()
1350 "job-priority-default", in ippCreateRequestedArray()
1351 "job-priority-supported", in ippCreateRequestedArray()
1352 "job-recipient-name", in ippCreateRequestedArray()
1353 "job-recipient-name-default", in ippCreateRequestedArray()
1354 "job-recipient-name-supported", in ippCreateRequestedArray()
1355 "job-save-disposition", in ippCreateRequestedArray()
1356 "job-save-disposition-default", in ippCreateRequestedArray()
1357 "job-save-disposition-supported", in ippCreateRequestedArray()
1358 "job-sheets", in ippCreateRequestedArray()
1359 "job-sheets-col", in ippCreateRequestedArray()
1360 "job-sheets-col-default", in ippCreateRequestedArray()
1361 "job-sheets-col-supported", in ippCreateRequestedArray()
1362 "job-sheets-default", in ippCreateRequestedArray()
1363 "job-sheets-supported", in ippCreateRequestedArray()
1364 "logo-uri-schemes-supported", in ippCreateRequestedArray()
1365 "material-amount-units-supported", /* IPP 3D */ in ippCreateRequestedArray()
1366 "material-diameter-supported", /* IPP 3D */ in ippCreateRequestedArray()
1367 "material-purpose-supported", /* IPP 3D */ in ippCreateRequestedArray()
1368 "material-rate-supported", /* IPP 3D */ in ippCreateRequestedArray()
1369 "material-rate-units-supported", /* IPP 3D */ in ippCreateRequestedArray()
1370 "material-shell-thickness-supported",/* IPP 3D */ in ippCreateRequestedArray()
1371 "material-temperature-supported", /* IPP 3D */ in ippCreateRequestedArray()
1372 "material-type-supported", /* IPP 3D */ in ippCreateRequestedArray()
1373 "materials-col", /* IPP 3D */ in ippCreateRequestedArray()
1374 "materials-col-database", /* IPP 3D */ in ippCreateRequestedArray()
1375 "materials-col-default", /* IPP 3D */ in ippCreateRequestedArray()
1376 "materials-col-ready", /* IPP 3D */ in ippCreateRequestedArray()
1377 "materials-col-supported", /* IPP 3D */ in ippCreateRequestedArray()
1378 "max-materials-col-supported", /* IPP 3D */ in ippCreateRequestedArray()
1379 "max-save-info-supported", in ippCreateRequestedArray()
1380 "max-stitching-locations-supported", in ippCreateRequestedArray()
1382 "media-back-coating-supported", in ippCreateRequestedArray()
1383 "media-bottom-margin-supported", in ippCreateRequestedArray()
1384 "media-col", in ippCreateRequestedArray()
1385 "media-col-default", in ippCreateRequestedArray()
1386 "media-col-supported", in ippCreateRequestedArray()
1387 "media-color-supported", in ippCreateRequestedArray()
1388 "media-default", in ippCreateRequestedArray()
1389 "media-front-coating-supported", in ippCreateRequestedArray()
1390 "media-grain-supported", in ippCreateRequestedArray()
1391 "media-hole-count-supported", in ippCreateRequestedArray()
1392 "media-info-supported", in ippCreateRequestedArray()
1393 "media-input-tray-check", in ippCreateRequestedArray()
1394 "media-input-tray-check-default", in ippCreateRequestedArray()
1395 "media-input-tray-check-supported", in ippCreateRequestedArray()
1396 "media-key-supported", in ippCreateRequestedArray()
1397 "media-left-margin-supported", in ippCreateRequestedArray()
1398 "media-order-count-supported", in ippCreateRequestedArray()
1399 "media-pre-printed-supported", in ippCreateRequestedArray()
1400 "media-recycled-supported", in ippCreateRequestedArray()
1401 "media-right-margin-supported", in ippCreateRequestedArray()
1402 "media-size-supported", in ippCreateRequestedArray()
1403 "media-source-supported", in ippCreateRequestedArray()
1404 "media-supported", in ippCreateRequestedArray()
1405 "media-thickness-supported", in ippCreateRequestedArray()
1406 "media-top-margin-supported", in ippCreateRequestedArray()
1407 "media-type-supported", in ippCreateRequestedArray()
1408 "media-weight-metric-supported", in ippCreateRequestedArray()
1409 "multiple-document-handling", in ippCreateRequestedArray()
1410 "multiple-document-handling-default", in ippCreateRequestedArray()
1411 "multiple-document-handling-supported", in ippCreateRequestedArray()
1412 "multiple-object-handling", /* IPP 3D */ in ippCreateRequestedArray()
1413 "multiple-object-handling-default", /* IPP 3D */ in ippCreateRequestedArray()
1414 "multiple-object-handling-supported",/* IPP 3D */ in ippCreateRequestedArray()
1415 "number-of-retries", /* IPP FaxOut */ in ippCreateRequestedArray()
1416 "number-of-retries-default", in ippCreateRequestedArray()
1417 "number-of-retries-supported", in ippCreateRequestedArray()
1418 "number-up", in ippCreateRequestedArray()
1419 "number-up-default", in ippCreateRequestedArray()
1420 "number-up-supported", in ippCreateRequestedArray()
1421 "orientation-requested", in ippCreateRequestedArray()
1422 "orientation-requested-default", in ippCreateRequestedArray()
1423 "orientation-requested-supported", in ippCreateRequestedArray()
1424 "output-bin", in ippCreateRequestedArray()
1425 "output-bin-default", in ippCreateRequestedArray()
1426 "output-bin-supported", in ippCreateRequestedArray()
1427 "output-device", in ippCreateRequestedArray()
1428 "output-device-default", in ippCreateRequestedArray()
1429 "output-device-supported", in ippCreateRequestedArray()
1430 "output-mode", /* CUPS extension */ in ippCreateRequestedArray()
1431 "output-mode-default", /* CUPS extension */ in ippCreateRequestedArray()
1432 "output-mode-supported", /* CUPS extension */ in ippCreateRequestedArray()
1434 "overrides-supported", in ippCreateRequestedArray()
1435 "page-delivery", in ippCreateRequestedArray()
1436 "page-delivery-default", in ippCreateRequestedArray()
1437 "page-delivery-supported", in ippCreateRequestedArray()
1438 "page-order-received", in ippCreateRequestedArray()
1439 "page-order-received-default", in ippCreateRequestedArray()
1440 "page-order-received-supported", in ippCreateRequestedArray()
1441 "page-ranges", in ippCreateRequestedArray()
1442 "page-ranges-supported", in ippCreateRequestedArray()
1443 "pages-per-subset", in ippCreateRequestedArray()
1444 "pages-per-subset-supported", in ippCreateRequestedArray()
1445 "pdl-init-file", in ippCreateRequestedArray()
1446 "pdl-init-file-default", in ippCreateRequestedArray()
1447 "pdl-init-file-entry-supported", in ippCreateRequestedArray()
1448 "pdl-init-file-location-supported", in ippCreateRequestedArray()
1449 "pdl-init-file-name-subdirectory-supported", in ippCreateRequestedArray()
1450 "pdl-init-file-name-supported", in ippCreateRequestedArray()
1451 "pdl-init-file-supported", in ippCreateRequestedArray()
1452 "platform-temperature", /* IPP 3D */ in ippCreateRequestedArray()
1453 "platform-temperature-default", /* IPP 3D */ in ippCreateRequestedArray()
1454 "platform-temperature-supported", /* IPP 3D */ in ippCreateRequestedArray()
1455 "presentation-direction-number-up", in ippCreateRequestedArray()
1456 "presentation-direction-number-up-default", in ippCreateRequestedArray()
1457 "presentation-direction-number-up-supported", in ippCreateRequestedArray()
1458 "print-accuracy", /* IPP 3D */ in ippCreateRequestedArray()
1459 "print-accuracy-default", /* IPP 3D */ in ippCreateRequestedArray()
1460 "print-accuracy-supported", /* IPP 3D */ in ippCreateRequestedArray()
1461 "print-base", /* IPP 3D */ in ippCreateRequestedArray()
1462 "print-base-default", /* IPP 3D */ in ippCreateRequestedArray()
1463 "print-base-supported", /* IPP 3D */ in ippCreateRequestedArray()
1464 "print-color-mode", in ippCreateRequestedArray()
1465 "print-color-mode-default", in ippCreateRequestedArray()
1466 "print-color-mode-supported", in ippCreateRequestedArray()
1467 "print-content-optimize", in ippCreateRequestedArray()
1468 "print-content-optimize-default", in ippCreateRequestedArray()
1469 "print-content-optimize-supported", in ippCreateRequestedArray()
1470 "print-objects", /* IPP 3D */ in ippCreateRequestedArray()
1471 "print-objects-default", /* IPP 3D */ in ippCreateRequestedArray()
1472 "print-objects-supported", /* IPP 3D */ in ippCreateRequestedArray()
1473 "print-quality", in ippCreateRequestedArray()
1474 "print-quality-default", in ippCreateRequestedArray()
1475 "print-quality-supported", in ippCreateRequestedArray()
1476 "print-rendering-intent", in ippCreateRequestedArray()
1477 "print-rendering-intent-default", in ippCreateRequestedArray()
1478 "print-rendering-intent-supported", in ippCreateRequestedArray()
1479 "print-scaling", /* IPP Paid Printing */ in ippCreateRequestedArray()
1480 "print-scaling-default", /* IPP Paid Printing */ in ippCreateRequestedArray()
1481 "print-scaling-supported", /* IPP Paid Printing */ in ippCreateRequestedArray()
1482 "print-supports", /* IPP 3D */ in ippCreateRequestedArray()
1483 "print-supports-default", /* IPP 3D */ in ippCreateRequestedArray()
1484 "print-supports-supported", /* IPP 3D */ in ippCreateRequestedArray()
1485 "printer-resolution", in ippCreateRequestedArray()
1486 "printer-resolution-default", in ippCreateRequestedArray()
1487 "printer-resolution-supported", in ippCreateRequestedArray()
1488 "proof-print", in ippCreateRequestedArray()
1489 "proof-print-default", in ippCreateRequestedArray()
1490 "proof-print-supported", in ippCreateRequestedArray()
1491 "retry-interval", /* IPP FaxOut */ in ippCreateRequestedArray()
1492 "retry-interval-default", in ippCreateRequestedArray()
1493 "retry-interval-supported", in ippCreateRequestedArray()
1494 "retry-timeout", /* IPP FaxOut */ in ippCreateRequestedArray()
1495 "retry-timeout-default", in ippCreateRequestedArray()
1496 "retry-timeout-supported", in ippCreateRequestedArray()
1497 "save-disposition-supported", in ippCreateRequestedArray()
1498 "save-document-format-default", in ippCreateRequestedArray()
1499 "save-document-format-supported", in ippCreateRequestedArray()
1500 "save-location-default", in ippCreateRequestedArray()
1501 "save-location-supported", in ippCreateRequestedArray()
1502 "save-name-subdirectory-supported", in ippCreateRequestedArray()
1503 "save-name-supported", in ippCreateRequestedArray()
1504 "separator-sheets", in ippCreateRequestedArray()
1505 "separator-sheets-default", in ippCreateRequestedArray()
1506 "separator-sheets-supported", in ippCreateRequestedArray()
1507 "sheet-collate", in ippCreateRequestedArray()
1508 "sheet-collate-default", in ippCreateRequestedArray()
1509 "sheet-collate-supported", in ippCreateRequestedArray()
1511 "sides-default", in ippCreateRequestedArray()
1512 "sides-supported", in ippCreateRequestedArray()
1513 "stitching-locations-supported", in ippCreateRequestedArray()
1514 "stitching-offset-supported", in ippCreateRequestedArray()
1515 "x-image-position", in ippCreateRequestedArray()
1516 "x-image-position-default", in ippCreateRequestedArray()
1517 "x-image-position-supported", in ippCreateRequestedArray()
1518 "x-image-shift", in ippCreateRequestedArray()
1519 "x-image-shift-default", in ippCreateRequestedArray()
1520 "x-image-shift-supported", in ippCreateRequestedArray()
1521 "x-side1-image-shift", in ippCreateRequestedArray()
1522 "x-side1-image-shift-default", in ippCreateRequestedArray()
1523 "x-side1-image-shift-supported", in ippCreateRequestedArray()
1524 "x-side2-image-shift", in ippCreateRequestedArray()
1525 "x-side2-image-shift-default", in ippCreateRequestedArray()
1526 "x-side2-image-shift-supported", in ippCreateRequestedArray()
1527 "y-image-position", in ippCreateRequestedArray()
1528 "y-image-position-default", in ippCreateRequestedArray()
1529 "y-image-position-supported", in ippCreateRequestedArray()
1530 "y-image-shift", in ippCreateRequestedArray()
1531 "y-image-shift-default", in ippCreateRequestedArray()
1532 "y-image-shift-supported", in ippCreateRequestedArray()
1533 "y-side1-image-shift", in ippCreateRequestedArray()
1534 "y-side1-image-shift-default", in ippCreateRequestedArray()
1535 "y-side1-image-shift-supported", in ippCreateRequestedArray()
1536 "y-side2-image-shift", in ippCreateRequestedArray()
1537 "y-side2-image-shift-default", in ippCreateRequestedArray()
1538 "y-side2-image-shift-supported" in ippCreateRequestedArray()
1541 { /* printer-description group */ in ippCreateRequestedArray()
1542 "auth-info-required", /* CUPS extension */ in ippCreateRequestedArray()
1543 "charset-configured", in ippCreateRequestedArray()
1544 "charset-supported", in ippCreateRequestedArray()
1545 "color-supported", in ippCreateRequestedArray()
1546 "compression-supported", in ippCreateRequestedArray()
1547 "device-service-count", in ippCreateRequestedArray()
1548 "device-uri", /* CUPS extension */ in ippCreateRequestedArray()
1549 "device-uuid", in ippCreateRequestedArray()
1550 "document-charset-default", in ippCreateRequestedArray()
1551 "document-charset-supported", in ippCreateRequestedArray()
1552 "document-creation-attributes-supported", in ippCreateRequestedArray()
1553 "document-digital-signature-default", in ippCreateRequestedArray()
1554 "document-digital-signature-supported", in ippCreateRequestedArray()
1555 "document-format-default", in ippCreateRequestedArray()
1556 "document-format-details-default", in ippCreateRequestedArray()
1557 "document-format-details-supported", in ippCreateRequestedArray()
1558 "document-format-supported", in ippCreateRequestedArray()
1559 "document-format-varying-attributes", in ippCreateRequestedArray()
1560 "document-format-version-default", in ippCreateRequestedArray()
1561 "document-format-version-supported", in ippCreateRequestedArray()
1562 "document-natural-language-default", in ippCreateRequestedArray()
1563 "document-natural-language-supported", in ippCreateRequestedArray()
1564 "document-password-supported", in ippCreateRequestedArray()
1565 "generated-natural-language-supported", in ippCreateRequestedArray()
1566 "identify-actions-default", in ippCreateRequestedArray()
1567 "identify-actions-supported", in ippCreateRequestedArray()
1568 "input-source-supported", in ippCreateRequestedArray()
1569 "ipp-features-supported", in ippCreateRequestedArray()
1570 "ipp-versions-supported", in ippCreateRequestedArray()
1571 "ippget-event-life", in ippCreateRequestedArray()
1572 "job-authorization-uri-supported", /* CUPS extension */ in ippCreateRequestedArray()
1573 "job-constraints-supported", in ippCreateRequestedArray()
1574 "job-creation-attributes-supported", in ippCreateRequestedArray()
1575 "job-finishings-col-ready", in ippCreateRequestedArray()
1576 "job-finishings-ready", in ippCreateRequestedArray()
1577 "job-ids-supported", in ippCreateRequestedArray()
1578 "job-impressions-supported", in ippCreateRequestedArray()
1579 "job-k-limit", /* CUPS extension */ in ippCreateRequestedArray()
1580 "job-k-octets-supported", in ippCreateRequestedArray()
1581 "job-media-sheets-supported", in ippCreateRequestedArray()
1582 "job-page-limit", /* CUPS extension */ in ippCreateRequestedArray()
1583 "job-password-encryption-supported", in ippCreateRequestedArray()
1584 "job-password-supported", in ippCreateRequestedArray()
1585 "job-quota-period", /* CUPS extension */ in ippCreateRequestedArray()
1586 "job-resolvers-supported", in ippCreateRequestedArray()
1587 "job-settable-attributes-supported", in ippCreateRequestedArray()
1588 "job-spooling-supported", in ippCreateRequestedArray()
1589 "jpeg-k-octets-supported", /* CUPS extension */ in ippCreateRequestedArray()
1590 "jpeg-x-dimension-supported", /* CUPS extension */ in ippCreateRequestedArray()
1591 "jpeg-y-dimension-supported", /* CUPS extension */ in ippCreateRequestedArray()
1592 "landscape-orientation-requested-preferred", in ippCreateRequestedArray()
1594 "marker-change-time", /* CUPS extension */ in ippCreateRequestedArray()
1595 "marker-colors", /* CUPS extension */ in ippCreateRequestedArray()
1596 "marker-high-levels", /* CUPS extension */ in ippCreateRequestedArray()
1597 "marker-levels", /* CUPS extension */ in ippCreateRequestedArray()
1598 "marker-low-levels", /* CUPS extension */ in ippCreateRequestedArray()
1599 "marker-message", /* CUPS extension */ in ippCreateRequestedArray()
1600 "marker-names", /* CUPS extension */ in ippCreateRequestedArray()
1601 "marker-types", /* CUPS extension */ in ippCreateRequestedArray()
1602 "media-col-ready", in ippCreateRequestedArray()
1603 "media-ready", in ippCreateRequestedArray()
1604 "member-names", /* CUPS extension */ in ippCreateRequestedArray()
1605 "member-uris", /* CUPS extension */ in ippCreateRequestedArray()
1606 "multiple-destination-uris-supported",/* IPP FaxOut */ in ippCreateRequestedArray()
1607 "multiple-document-jobs-supported", in ippCreateRequestedArray()
1608 "multiple-operation-time-out", in ippCreateRequestedArray()
1609 "multiple-operation-time-out-action", in ippCreateRequestedArray()
1610 "natural-language-configured", in ippCreateRequestedArray()
1611 "operations-supported", in ippCreateRequestedArray()
1612 "pages-per-minute", in ippCreateRequestedArray()
1613 "pages-per-minute-color", in ippCreateRequestedArray()
1614 "pdf-k-octets-supported", /* CUPS extension */ in ippCreateRequestedArray()
1615 "pdf-features-supported", /* IPP 3D */ in ippCreateRequestedArray()
1616 "pdf-versions-supported", /* CUPS extension */ in ippCreateRequestedArray()
1617 "pdl-override-supported", in ippCreateRequestedArray()
1618 "port-monitor", /* CUPS extension */ in ippCreateRequestedArray()
1619 "port-monitor-supported", /* CUPS extension */ in ippCreateRequestedArray()
1620 "preferred-attributes-supported", in ippCreateRequestedArray()
1621 "printer-alert", in ippCreateRequestedArray()
1622 "printer-alert-description", in ippCreateRequestedArray()
1623 "printer-charge-info", in ippCreateRequestedArray()
1624 "printer-charge-info-uri", in ippCreateRequestedArray()
1625 "printer-commands", /* CUPS extension */ in ippCreateRequestedArray()
1626 "printer-current-time", in ippCreateRequestedArray()
1627 "printer-detailed-status-messages", in ippCreateRequestedArray()
1628 "printer-device-id", in ippCreateRequestedArray()
1629 "printer-dns-sd-name", /* CUPS extension */ in ippCreateRequestedArray()
1630 "printer-driver-installer", in ippCreateRequestedArray()
1631 "printer-fax-log-uri", /* IPP FaxOut */ in ippCreateRequestedArray()
1632 "printer-fax-modem-info", /* IPP FaxOut */ in ippCreateRequestedArray()
1633 "printer-fax-modem-name", /* IPP FaxOut */ in ippCreateRequestedArray()
1634 "printer-fax-modem-number", /* IPP FaxOut */ in ippCreateRequestedArray()
1635 "printer-firmware-name", /* PWG 5110.1 */ in ippCreateRequestedArray()
1636 "printer-firmware-patches", /* PWG 5110.1 */ in ippCreateRequestedArray()
1637 "printer-firmware-string-version", /* PWG 5110.1 */ in ippCreateRequestedArray()
1638 "printer-firmware-version", /* PWG 5110.1 */ in ippCreateRequestedArray()
1639 "printer-geo-location", in ippCreateRequestedArray()
1640 "printer-get-attributes-supported", in ippCreateRequestedArray()
1641 "printer-icc-profiles", in ippCreateRequestedArray()
1642 "printer-icons", in ippCreateRequestedArray()
1643 "printer-id", /* CUPS extension */ in ippCreateRequestedArray()
1644 "printer-info", in ippCreateRequestedArray()
1645 "printer-input-tray", /* IPP JPS3 */ in ippCreateRequestedArray()
1646 "printer-is-accepting-jobs", in ippCreateRequestedArray()
1647 "printer-is-shared", /* CUPS extension */ in ippCreateRequestedArray()
1648 "printer-is-temporary", /* CUPS extension */ in ippCreateRequestedArray()
1649 "printer-kind", /* IPP Paid Printing */ in ippCreateRequestedArray()
1650 "printer-location", in ippCreateRequestedArray()
1651 "printer-make-and-model", in ippCreateRequestedArray()
1652 "printer-mandatory-job-attributes", in ippCreateRequestedArray()
1653 "printer-message-date-time", in ippCreateRequestedArray()
1654 "printer-message-from-operator", in ippCreateRequestedArray()
1655 "printer-message-time", in ippCreateRequestedArray()
1656 "printer-more-info", in ippCreateRequestedArray()
1657 "printer-more-info-manufacturer", in ippCreateRequestedArray()
1658 "printer-name", in ippCreateRequestedArray()
1659 "printer-native-formats", in ippCreateRequestedArray()
1660 "printer-organization", in ippCreateRequestedArray()
1661 "printer-organizational-unit", in ippCreateRequestedArray()
1662 "printer-output-tray", /* IPP JPS3 */ in ippCreateRequestedArray()
1663 "printer-queue-id", /* CUPS extension */ in ippCreateRequestedArray()
1664 "printer-settable-attributes-supported", in ippCreateRequestedArray()
1665 "printer-state", in ippCreateRequestedArray()
1666 "printer-state-change-date-time", in ippCreateRequestedArray()
1667 "printer-state-change-time", in ippCreateRequestedArray()
1668 "printer-state-message", in ippCreateRequestedArray()
1669 "printer-state-reasons", in ippCreateRequestedArray()
1670 "printer-supply", in ippCreateRequestedArray()
1671 "printer-supply-description", in ippCreateRequestedArray()
1672 "printer-supply-info-uri", in ippCreateRequestedArray()
1673 "printer-type", /* CUPS extension */ in ippCreateRequestedArray()
1674 "printer-up-time", in ippCreateRequestedArray()
1675 "printer-uri-supported", in ippCreateRequestedArray()
1676 "printer-uuid", in ippCreateRequestedArray()
1677 "printer-xri-supported", in ippCreateRequestedArray()
1678 "pwg-raster-document-resolution-supported", in ippCreateRequestedArray()
1679 "pwg-raster-document-sheet-back", in ippCreateRequestedArray()
1680 "pwg-raster-document-type-supported", in ippCreateRequestedArray()
1681 "queued-job-count", in ippCreateRequestedArray()
1682 "reference-uri-schemes-supported", in ippCreateRequestedArray()
1683 "repertoire-supported", in ippCreateRequestedArray()
1684 "requesting-user-name-allowed", /* CUPS extension */ in ippCreateRequestedArray()
1685 "requesting-user-name-denied", /* CUPS extension */ in ippCreateRequestedArray()
1686 "requesting-user-uri-supported", in ippCreateRequestedArray()
1687 "subordinate-printers-supported", in ippCreateRequestedArray()
1688 "urf-supported", /* CUPS extension */ in ippCreateRequestedArray()
1689 "uri-authentication-supported", in ippCreateRequestedArray()
1690 "uri-security-supported", in ippCreateRequestedArray()
1691 "user-defined-value-supported", in ippCreateRequestedArray()
1692 "which-jobs-supported", in ippCreateRequestedArray()
1693 "xri-authentication-supported", in ippCreateRequestedArray()
1694 "xri-security-supported", in ippCreateRequestedArray()
1695 "xri-uri-scheme-supported" in ippCreateRequestedArray()
1698 { /* subscription-description group */ in ippCreateRequestedArray()
1699 "notify-job-id", in ippCreateRequestedArray()
1700 "notify-lease-expiration-time", in ippCreateRequestedArray()
1701 "notify-printer-up-time", in ippCreateRequestedArray()
1702 "notify-printer-uri", in ippCreateRequestedArray()
1703 "notify-sequence-number", in ippCreateRequestedArray()
1704 "notify-subscriber-user-name", in ippCreateRequestedArray()
1705 "notify-subscriber-user-uri", in ippCreateRequestedArray()
1706 "notify-subscription-id", in ippCreateRequestedArray()
1707 "subscriptions-uuid" in ippCreateRequestedArray()
1710 { /* subscription-template group */ in ippCreateRequestedArray()
1711 "notify-attributes", in ippCreateRequestedArray()
1712 "notify-attributes-supported", in ippCreateRequestedArray()
1713 "notify-charset", in ippCreateRequestedArray()
1714 "notify-events", in ippCreateRequestedArray()
1715 "notify-events-default", in ippCreateRequestedArray()
1716 "notify-events-supported", in ippCreateRequestedArray()
1717 "notify-lease-duration", in ippCreateRequestedArray()
1718 "notify-lease-duration-default", in ippCreateRequestedArray()
1719 "notify-lease-duration-supported", in ippCreateRequestedArray()
1720 "notify-max-events-supported", in ippCreateRequestedArray()
1721 "notify-natural-language", in ippCreateRequestedArray()
1722 "notify-pull-method", in ippCreateRequestedArray()
1723 "notify-pull-method-supported", in ippCreateRequestedArray()
1724 "notify-recipient-uri", in ippCreateRequestedArray()
1725 "notify-schemes-supported", in ippCreateRequestedArray()
1726 "notify-time-interval", in ippCreateRequestedArray()
1727 "notify-user-data" in ippCreateRequestedArray()
1732 * Get the requested-attributes attribute... in ippCreateRequestedArray()
1735 if ((requested = ippFindAttribute(request, "requested-attributes", in ippCreateRequestedArray()
1739 * The Get-Jobs operation defaults to "job-id" and "job-uri", all others in ippCreateRequestedArray()
1746 cupsArrayAdd(ra, "job-id"); in ippCreateRequestedArray()
1747 cupsArrayAdd(ra, "job-uri"); in ippCreateRequestedArray()
1774 if (!strcmp(value, "document-description") || !strcmp(value, "all")) in ippCreateRequestedArray()
1785 if (!strcmp(value, "document-template") || !strcmp(value, "all")) in ippCreateRequestedArray()
1795 if (!strcmp(value, "job-description") || !strcmp(value, "all")) in ippCreateRequestedArray()
1805 if (!strcmp(value, "job-template") || !strcmp(value, "all")) in ippCreateRequestedArray()
1815 if (!strcmp(value, "printer-description") || !strcmp(value, "all")) in ippCreateRequestedArray()
1826 if (!strcmp(value, "subscription-description") || !strcmp(value, "all")) in ippCreateRequestedArray()
1837 if (!strcmp(value, "subscription-template") || !strcmp(value, "all")) in ippCreateRequestedArray()
1857 * 'ippEnumString()' - Return a string corresponding to the enum value.
1860 const char * /* O - Enum string */
1861 ippEnumString(const char *attrname, /* I - Attribute name */ in ippEnumString()
1862 int enumvalue) /* I - Enum value */ in ippEnumString()
1871 if (!strcmp(attrname, "document-state") && in ippEnumString()
1875 return (ipp_document_states[enumvalue - 3]); in ippEnumString()
1877 !strcmp(attrname, "finishings-actual") || in ippEnumString()
1878 !strcmp(attrname, "finishings-default") || in ippEnumString()
1879 !strcmp(attrname, "finishings-ready") || in ippEnumString()
1880 !strcmp(attrname, "finishings-supported") || in ippEnumString()
1881 !strcmp(attrname, "job-finishings") || in ippEnumString()
1882 !strcmp(attrname, "job-finishings-default") || in ippEnumString()
1883 !strcmp(attrname, "job-finishings-supported")) in ippEnumString()
1888 return (ipp_finishings[enumvalue - 3]); in ippEnumString()
1892 return (ipp_finishings_vendor[enumvalue - 0x40000000]); in ippEnumString()
1894 else if ((!strcmp(attrname, "job-collation-type") || in ippEnumString()
1895 !strcmp(attrname, "job-collation-type-actual")) && in ippEnumString()
1899 return (ipp_job_collation_types[enumvalue - 3]); in ippEnumString()
1900 else if (!strcmp(attrname, "job-state") && in ippEnumString()
1902 return (ipp_job_states[enumvalue - IPP_JSTATE_PENDING]); in ippEnumString()
1903 else if (!strcmp(attrname, "operations-supported")) in ippEnumString()
1905 else if ((!strcmp(attrname, "orientation-requested") || in ippEnumString()
1906 !strcmp(attrname, "orientation-requested-actual") || in ippEnumString()
1907 !strcmp(attrname, "orientation-requested-default") || in ippEnumString()
1908 !strcmp(attrname, "orientation-requested-supported")) && in ippEnumString()
1912 return (ipp_orientation_requesteds[enumvalue - 3]); in ippEnumString()
1913 else if ((!strcmp(attrname, "print-quality") || in ippEnumString()
1914 !strcmp(attrname, "print-quality-actual") || in ippEnumString()
1915 !strcmp(attrname, "print-quality-default") || in ippEnumString()
1916 !strcmp(attrname, "print-quality-supported")) && in ippEnumString()
1920 return (ipp_print_qualities[enumvalue - 3]); in ippEnumString()
1921 else if (!strcmp(attrname, "printer-state") && in ippEnumString()
1923 return (ipp_printer_states[enumvalue - IPP_PSTATE_IDLE]); in ippEnumString()
1929 snprintf(cg->ipp_unknown, sizeof(cg->ipp_unknown), "%d", enumvalue); in ippEnumString()
1930 return (cg->ipp_unknown); in ippEnumString()
1935 * 'ippEnumValue()' - Return the value associated with a given enum string.
1938 int /* O - Enum value or -1 if unknown */
1939 ippEnumValue(const char *attrname, /* I - Attribute name */ in ippEnumValue()
1940 const char *enumstring) /* I - Enum string */ in ippEnumValue()
1958 if (!strcmp(attrname, "document-state")) in ippEnumValue()
1964 !strcmp(attrname, "finishings-actual") || in ippEnumValue()
1965 !strcmp(attrname, "finishings-default") || in ippEnumValue()
1966 !strcmp(attrname, "finishings-ready") || in ippEnumValue()
1967 !strcmp(attrname, "finishings-supported")) in ippEnumValue()
1979 else if (!strcmp(attrname, "job-collation-type") || in ippEnumValue()
1980 !strcmp(attrname, "job-collation-type-actual")) in ippEnumValue()
1986 else if (!strcmp(attrname, "job-state")) in ippEnumValue()
1991 else if (!strcmp(attrname, "operations-supported")) in ippEnumValue()
1993 else if (!strcmp(attrname, "orientation-requested") || in ippEnumValue()
1994 !strcmp(attrname, "orientation-requested-actual") || in ippEnumValue()
1995 !strcmp(attrname, "orientation-requested-default") || in ippEnumValue()
1996 !strcmp(attrname, "orientation-requested-supported")) in ippEnumValue()
2002 else if (!strcmp(attrname, "print-quality") || in ippEnumValue()
2003 !strcmp(attrname, "print-quality-actual") || in ippEnumValue()
2004 !strcmp(attrname, "print-quality-default") || in ippEnumValue()
2005 !strcmp(attrname, "print-quality-supported")) in ippEnumValue()
2010 else if (!strcmp(attrname, "printer-state")) in ippEnumValue()
2016 return (-1); in ippEnumValue()
2022 return (-1); in ippEnumValue()
2027 * 'ippErrorString()' - Return a name for the given status code.
2030 const char * /* O - Text string */
2031 ippErrorString(ipp_status_t error) /* I - Error status */ in ippErrorString()
2043 return ("redirection-other-site"); in ippErrorString()
2045 return ("cups-see-other"); in ippErrorString()
2048 return (ipp_status_400s[error - IPP_STATUS_ERROR_BAD_REQUEST]); in ippErrorString()
2051 return (ipp_status_480s[error - 0x0480]); in ippErrorString()
2054 return (ipp_status_500s[error - IPP_STATUS_ERROR_INTERNAL]); in ippErrorString()
2057 return (ipp_status_1000s[error - in ippErrorString()
2064 sprintf(cg->ipp_unknown, "0x%04x", error); in ippErrorString()
2066 return (cg->ipp_unknown); in ippErrorString()
2071 * 'ippErrorValue()' - Return a status code for the given name.
2076 ipp_status_t /* O - IPP status code */
2077 ippErrorValue(const char *name) /* I - Name */ in ippErrorValue()
2086 if (!_cups_strcasecmp(name, "redirection-other-site")) in ippErrorValue()
2089 if (!_cups_strcasecmp(name, "cups-see-other")) in ippErrorValue()
2108 return ((ipp_status_t)-1); in ippErrorValue()
2113 * 'ippOpString()' - Return a name for the given operation id.
2118 const char * /* O - Name */
2119 ippOpString(ipp_op_t op) /* I - Operation ID */ in ippOpString()
2131 return ("windows-ext"); in ippOpString()
2133 return (ipp_cups_ops[op - IPP_OP_CUPS_GET_DEFAULT]); in ippOpString()
2135 return (ipp_cups_ops2[op - IPP_OP_CUPS_GET_DOCUMENT]); in ippOpString()
2141 sprintf(cg->ipp_unknown, "0x%04x", op); in ippOpString()
2143 return (cg->ipp_unknown); in ippOpString()
2148 * 'ippOpValue()' - Return an operation id for the given name.
2153 ipp_op_t /* O - Operation ID */
2154 ippOpValue(const char *name) /* I - Textual name */ in ippOpValue()
2166 if (!_cups_strcasecmp(name, "windows-ext")) in ippOpValue()
2177 if (!_cups_strcasecmp(name, "Create-Job-Subscription")) in ippOpValue()
2180 if (!_cups_strcasecmp(name, "Create-Printer-Subscription")) in ippOpValue()
2183 if (!_cups_strcasecmp(name, "CUPS-Add-Class")) in ippOpValue()
2186 if (!_cups_strcasecmp(name, "CUPS-Add-Printer")) in ippOpValue()
2194 * 'ippPort()' - Return the default IPP port number.
2197 int /* O - Port number */
2205 if (!cg->ipp_port) in ippPort()
2208 DEBUG_printf(("1ippPort: Returning %d...", cg->ipp_port)); in ippPort()
2210 return (cg->ipp_port); in ippPort()
2215 * 'ippSetPort()' - Set the default port number.
2219 ippSetPort(int p) /* I - Port number to use */ in ippSetPort()
2223 _cupsGlobals()->ipp_port = p; in ippSetPort()
2228 * 'ippStateString()' - Return the name corresponding to a state value.
2233 const char * /* O - State name */
2234 ippStateString(ipp_state_t state) /* I - State value */ in ippStateString()
2237 return (ipp_states[state - IPP_STATE_ERROR]); in ippStateString()
2244 * 'ippTagString()' - Return the tag name corresponding to a tag value.
2251 const char * /* O - Tag name */
2252 ippTagString(ipp_tag_t tag) /* I - Tag value */ in ippTagString()
2264 * 'ippTagValue()' - Return the tag value corresponding to a tag name.
2271 ipp_tag_t /* O - Tag value */
2272 ippTagValue(const char *name) /* I - Tag name */ in ippTagValue()
2309 * 'ipp_col_string()' - Convert a collection to a string.
2312 static size_t /* O - Number of bytes */
2313 ipp_col_string(ipp_t *col, /* I - Collection attribute */ in ipp_col_string()
2314 char *buffer, /* I - Buffer or NULL */ in ipp_col_string()
2315 size_t bufsize) /* I - Size of buffer */ in ipp_col_string()
2333 bufend = buffer + bufsize - 1; in ipp_col_string()
2335 for (attr = col->attrs; attr; attr = attr->next) in ipp_col_string()
2337 if (!attr->name) in ipp_col_string()
2346 bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%s=", attr->name); in ipp_col_string()
2348 bufptr += strlen(attr->name) + 1; in ipp_col_string()
2351 bufptr += ippAttributeString(attr, bufptr, (size_t)(bufend - bufptr + 1)); in ipp_col_string()
2367 return ((size_t)(bufptr - buffer)); in ipp_col_string()