1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
|
Network Working Group T. Hastings
Request for Comments: 3380 Xerox Corporation
Updates: 2910, 2911 R. Herriot
Category: Standards Track Consultant
C. Kugler
H. Lewis
IBM Corporation
September 2002
Internet Printing Protocol (IPP):
Job and Printer Set Operations
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2002). All Rights Reserved.
Abstract
This document is an OPTIONAL extension to the Internet Printing
Protocol (IPP/1.0 and IPP/1.1). This document specifies 3 additional
OPTIONAL operations for use with the Internet Printing Protocol/1.0
(IPP) and IPP/1.1. The end user, operator, and administrator Set-
Job-Attributes and Set-Printer-Attributes operations are used to
modify IPP Job objects and Printer objects, respectively. The Get-
Printer-Supported-Values administrative operation returns values that
the IPP Printer will accept for setting its "xxx-supported"
attributes.
Hastings, et. al. Standards Track [Page 1]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Table of Contents
1 Introduction......................................................4
2 Terminology.......................................................5
2.1 Conformance Terminology.........................................5
2.2 Other terminology...............................................5
3 Requirements and Use Cases........................................5
4 Definition of the Set operations..................................6
4.1 Set-Printer-Attributes Operation................................7
4.1.1 Settable and READ-ONLY Printer Description attributes.........9
4.1.2 Set-Printer-Attributes Request...............................10
4.1.3 Set-Printer-Attributes Response..............................12
4.2 Set-Job-Attributes Operation...................................13
4.2.1 Settable and READ-ONLY Job Description attributes............16
4.2.2 Set-Job-Attributes Request...................................17
4.2.3 Set-Job-Attributes Response..................................18
4.3 Get-Printer-Supported-Values Operation.........................19
4.3.1 Definition of the usage of the 'admin-define' out-of-band
attribute value..............................................20
5 New Operation attributes.........................................22
5.1 printer-message-from-operator (text(127))......................22
5.2 job-message-from-operator (text(127))..........................23
6 New Printer Description Attributes...............................24
6.1 printer-settable-attributes-supported (1setOf type2 keyword)...24
6.2 job-settable-attributes-supported (1setOf type2 keyword).......25
6.3 document-format-varying-attributes (1setOf type2 keyword)......25
6.4 printer-message-time (integer(MIN:MAX))........................25
6.5 printer-message-date-time (dateTime)...........................26
6.6 printer-xri-supported (1setOf collection)......................26
6.7 xri-uri-scheme-supported (1setOf uriScheme)....................28
6.8 xri-authentication-supported (1setOf type2 keyword)............29
6.9 xri-security-supported (1setOf type2 keyword)..................29
7 Additional status codes..........................................29
7.1 client-error-attributes-not-settable (0x0413)..................29
8 Additional out-of-band values....................................30
8.1 'not-settable' out-of-band value...............................30
8.1.1 Encoding of the 'not-settable' out-of-band attribute value...30
8.2 'delete-attribute' out-of-band value...........................30
8.2.1 Encoding of the 'delete-attribute' out-of-band value.........31
8.3 'admin-define' out-of-band attribute value.....................31
8.3.1 Encoding of the 'admin-define' out-of-band attribute value...32
9 New Values for Existing Printer Description Attributes...........33
9.1 operations-supported (1setOf type2 enum).......................33
10 Conformance Requirements........................................33
11 IANA Considerations.............................................34
11.1 Operation Registrations.......................................35
11.2 Additional Enum Attribute Value Registrations for the
"operations-supported" Printer Attribute......................35
Hastings, et. al. Standards Track [Page 2]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
11.3 Attribute Registrations.......................................35
11.4 Status code Registrations.....................................36
11.5 Out-of-band Attribute Value Registrations.....................36
12 Internationalization Considerations.............................37
13 Security Considerations.........................................37
14 References......................................................38
14.1 Normative References..........................................38
14.2 Informative References........................................38
Appendix A: Allowed Values for Set-Printer-Attributes and Set-Job-
Attributes requests (Normative)........................39
Appendix B: Attributes returned from Get-Printer-Supported-Values
(Normative)............................................50
Appendix C: Description of the Base IPP Documents (Informative)....55
Authors' Addresses.................................................56
Full Copyright Statement...........................................58
Table of Tables
Table 1 - Operation-Id assignments.................................7
Table 2 - Job State Transition Table for the Set-Job-Attributes
operation ..............................................15
Table 3 - Member attributes of "printer-xri-supported" (1setOf
collection) ............................................27
Table 4 - Operation-id assignments................................33
Table 5 - Validation rules for 'Any of "xxx-supported" '..........40
Table 6 - Validation rules for 'From Get-Printer-Supported-Values'41
Table 7 - Values allowed for Job Template Attributes in the Set-Job-
Attributes Operation ...................................42
Table 8 - Values allowed for Job Description Attributes in the Set-
Job-Attributes Operation ...............................43
Table 9 - Values allowed for Printer Job Template Attributes in the
Set-Printer-Attributes Operation .......................44
Table 10 - Values allowed for Printer Description Attributes in the
Set-Printer-Attributes Operation .......................47
Table 11 - Printer Job Template Attributes returned from Get-Printer-
Supported-Values .......................................51
Table 12 - Printer Job Template Attributes returned from Get-Printer-
Supported-Values .......................................51
Table 13 - Printer Description Attributes returned from Get-Printer-
Supported-Values .......................................51
Table 14 - Printer Job Template Attributes returned from Get-Printer-
Supported-Values .......................................52
Table 15 - Printer Job Template Attributes returned from Get-Printer-
Supported-Values .......................................52
Table 16 - Printer Description Attributes returned from Get-Printer-
Supported-Values .......................................53
Hastings, et. al. Standards Track [Page 3]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
1 Introduction
This document is an OPTIONAL extension to IPP/1.0 [RFC2565, RFC2566]
and IPP/1.1 [RFC2911, RFC2910]. For a description of the base IPP
documents see Appendix C.
The Internet Printing Protocol (IPP) is an application level protocol
that can be used for distributed printing using Internet tools and
technologies. IPP version 1.1 [RFC2911, RFC2910] focuses on end user
functionality with a few administrative operations included. This
document defines additional OPTIONAL end user, operator, and
administrator Set-Job-Attributes and Set-Printer-Attributes
operations used to modify IPP Job objects and Printer objects,
respectively. It also defines a third Get-Printer-Supported-Values
administrator operation that returns values that the IPP Printer will
accept for setting its "xxx-supported" attributes. The Get-Printer-
Supported-Values operation MUST be supported, if the implementation
supports setting any "xxx-supported" Printer attributes using the
Set-Printer-Attributes operation.
Nine Printer Description attributes are defined:
printer-settable-attributes-supported (1setOf type2 keyword)
job-settable-attributes-supported (1setOf type2 keyword)
document-format-varying-attributes (1setOf type2 keyword)
printer-message-time (integer(MIN:MAX))
printer-message-date-time (dateTime)
printer-xri-supported (1setOf collection)
xri-uri-scheme-supported (1setOf uriScheme)
xri-authentication-supported (1setOf type2 keyword)
xri-security-supported (1setOf type2 keyword)
Three out-of-band values are defined for use with these three
operations: 'delete-attribute' for deleting Job attributes with the
Set-Job-Attributes request, 'not-settable' for use in either the
Set-Job-Attributes or Set-Printer-Attributes responses, and 'admin-
define' for use in the Get-Printer-Supported-Values response.
Two operation attributes: "printer-message-from-operator" (text) and
"job-message-from-operator" (text) are defined to set the
corresponding IPP/1.1 Printer and Job Description attributes with the
same names. These operation attributes may be used with any
operation that affect the Printer or Job object for which an
operation might want to indicate a message. For the Set-Job-
Attributes and Set-Printer-Attributes operations, the client MUST
explicitly set them, rather than using these operation attributes.
Hastings, et. al. Standards Track [Page 4]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
A Printer implementation can make the value of some attributes
dependent on the document-format, e.g., "resolution-supported".
2 Terminology
This section defines terminology used throughout this document.
2.1 Conformance Terminology
Capitalized terms, such as MUST, MUST NOT, REQUIRED, SHOULD, SHOULD
NOT, MAY, NEED NOT, and OPTIONAL, have special meaning relating to
conformance as defined in BCP 14, RFC 2119 [RFC2119] and [RFC2911]
section 12.1. If an implementation supports the extension defined in
this document, then these terms apply; otherwise, they do not. These
terms define conformance to this document only; they do not affect
conformance to other documents, unless explicitly stated otherwise.
2.2 Other terminology
This document uses terms such as Job object (or Job), IPP Printer
object (or Printer), "operation", "request", response", "attributes",
"keywords", and "support". These terms have special meaning and are
defined in the model terminology [RFC2911], section 12.2. The
following additional terms are introduced in this document:
READ-ONLY: used in an attribute definition document to indicate that
the attribute MUST NOT be settable using an IPP protocol Set
operation. In other words, the attribute is not settable by
definition.
not-settable: an implementation does not support setting an attribute
(whether or not the attribute's definition is READ-ONLY).
3 Requirements and Use Cases
The following requirements and usage are intended to be met by the
specification in this document.
1. The end-user and the operator need a way to modify a Job that is
in the 'pending' or 'pending-held' state.
Usage: The end-user discovers that he/she forgot to include a
print instruction, such as "finishings" = 'staple' after
submitting a job. Rather than canceling the job and resubmitting
it to the same IPP Printer, the end-user is able to modify the job
on the IPP Printer.
Hastings, et. al. Standards Track [Page 5]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
The operator needs to modify a job because it is requesting a
particular kind of media for which there is no more, but the
policy is to print the job on a comparable medium.
2. The system administrator needs a way to re-configure or change the
policy of the IPP Printer remotely.
Usage: The system administrator is adding additional named media
to the supported media list (setting 'name' values to the "media-
supported" Printer attribute).
The system administrator is reducing the capability of the IPP
Printer by removing one of the operations from the supported
operations list, such as Cancel-Job, because the policy is to run
the IPP Printer like a public facsimile machine. After having
removed Cancel-Job from the list of supported operations, an
administrative client needs to be able to display to an
administrator that the implementation is capable of being
reconfigured to support Cancel-Job once again.
The system administrator is remotely configuring the IPP Printer
after installing it, and so is replacing the Printer Description
attributes that have the out-of-band 'no-value' value (see
[RFC2911], section 4.1) with the proper values.
The operator is changing the media loaded in the input tray, and
so is replacing the "media-ready" Job Template Printer attribute
value with the proper values.
4 Definition of the Set operations
The Set-Printer-Attributes operations (as are all Printer operations)
are directed at Printer objects. A client MUST always supply the
"printer-uri" operation attribute in order to identify the correct
target of the operation. These descriptions assume all of the common
semantics of the IPP/1.1 Model and Semantics document [RFC2911],
section 3.1.
The Set-Job-Attributes operations (as are all Job operations) are
directed at Job objects. A client MUST always supply some means of
identifying the Job object in order to identify the correct target of
the operation. That job identification MAY either be a single Job
URI or a combination of a Printer URI with a Job ID, as defined in
[RFC2911]. The IPP object implementation MUST support both forms of
identification for every job. If possible, a client SHOULD use the
Printer URI with a Job ID rather than a Job URI, since the 32-bit
Hastings, et. al. Standards Track [Page 6]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
"job-id" is more readily translated to and from other print protocols
that MAY be serving as gateways into or out of the IPP
implementation.
The Set Printer operations are summarized in Table 1:
Table 1 - Operation-Id assignments
Operation Name Operation Brief description
-Id
Set-Printer- 0x0013 Sets attribute values of the target
Attributes Printer object
Set-Job-Attributes 0x0014 Sets attribute values of the target
Job object
Get-Printer- 0x0015 Gets values that are valid for
Supported-Values setting "xxx-supported" attributes
using the Set-Printer-Attributes
operation
4.1 Set-Printer-Attributes Operation
This OPTIONAL operation allows a client to set the values of the
attributes of a Printer object. In the request, the client supplies
the set of Printer keyword attribute names and values that are to be
set. In the response, the Printer object returns success or rejects
the entire request with indications of which attribute or attributes
could not be set.
The Printer object validates the client-supplied attributes in the
Set-Printer-Attributes request. For an attribute to validate, it
MUST meet all of the following rules:
1. The number of attributes supplied by the client MUST NOT exceed
the maximum number that the Printer supports in a Set-Printer-
Attributes request. A Printer MUST accept at least one attribute,
but SHOULD accept a reasonable number in a single Set-Printer-
Attributes request.
Note: There is no way for the client to determine the maximum
number of attributes that the Printer supports in a Set-Printer-
Attributes request, except to try a reasonable number.
2. The Printer MUST support the attribute.
Hastings, et. al. Standards Track [Page 7]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
3. The attribute MUST NOT be READ-ONLY, i.e., the definition of the
attribute MUST NOT indicate that the attribute is READ-ONLY (see
Appendix A for an indication of which IPP/1.1 attributes are
READ-ONLY).
4. The attribute MUST be settable in this implementation.
5. The Printer MUST support the value, according to the rules defined
in Appendix A, i.e., each value of each supplied "xxx" attribute
MUST be validated against the value of a corresponding "xxx-
supported" Printer attribute. One of those rules permits an
administrator to set arbitrary 'name' values to those "xxx-
supported" Printer attributes that include the 'name' attribute
syntax if the implementation supports the 'admin-define' out-of-
band value for that "xxx-supported" attribute (see section 8.3 and
Appendix A).
6. The attribute's values MUST NOT conflict with the values of other
Printer attributes, including ones being set in this same
operation.
If any of the supplied attributes are not validate, the Printer
object MUST reject the entire operation; the Printer object MUST NOT
partially set some of the supplied attributes. In other words, after
the operation, all the supplied attributes MUST be set or none of
them MUST be set, thus making the Set-Printer-Attributes an atomic
operation.
The Printer MUST accept this operation when its READ-ONLY "printer-
state" attribute (see [RFC2911], section 4.4.11) is 'idle' or
'stopped', and SHOULD accept it when the value is 'processing'. The
Printer MUST accept this operation for any of the values of the
Printer object's READ-ONLY "printer-state-reasons" and "printer-is-
accepting-jobs" attributes, unless explicitly defined otherwise in
the definition of these attributes' values.
This operation MUST NOT change the value of attributes not specified
in the operation unless the definition of the attribute explicitly
specifies such side-effects. For example, this document explicitly
specifies that when this operation sets "printer-message-from-
operator", the Printer also MUST set the READ-ONLY "printer-message-
time" and READ-ONLY "printer-message-date-time" attributes to the
time of the operation as a side effect. In particular, if this
operation changes an "xxx-default" attribute, the new value MUST be
in the "xxx-supported" attributes or the request MUST contain a new
value for "xxx-supported", which contains the new value for the
"xxx-default". Otherwise, the Printer MUST reject the operation. In
general, Printer attribute definitions that are settable will not
Hastings, et. al. Standards Track [Page 8]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
define side-effects on other attributes that are settable, only side
effects on READ-ONLY attributes, if any.
4.1.1 Settable and READ-ONLY Printer Description attributes
If the Printer supports the Set-Printer-Attributes operation, then it
SHOULD support the setting of:
all Job Template Default ("xxx-default") attributes
all Job Template Supported ("xxx-supported") attributes
all Job Template Ready ("xxx-ready") attributes
that the implementation supports (see [RFC2911] section 4.2 and
extensions).
Some Printer Description attributes (see [RFC2911] section 4.4) MUST
NOT be settable, i.e., they are defined to be READ-ONLY. An
attribute marked as "READ-ONLY" in the Printer Description attribute
table in Appendix A is such an attribute. The Printer attributes
that are not marked as "READ-ONLY" MAY be settable using the Set-
Printer-Attributes operation, depending on implementation.
Note: From now on, all extensions that define new object attributes
will indicate whether or not the attributes are READ-ONLY, by
including the "READ-ONLY" adjective in their descriptions and/or
explicitly stating whether they MAY be settable.
The current values of each "xxx-supported" Printer attribute MUST
reflect the current policy for support of the corresponding "xxx"
attribute. If an "xxx-supported" Printer attribute is settable in an
implementation, then its value(s) MUST affect the behavior of the
implementation. If an "xxx-supported" Printer attribute is defined
to be READ-ONLY or is not-settable in an implementation, then its
values MUST NOT be settable using the Set-Printer-Attributes
operation. Consider the following examples:
For example, if the "operations-supported" Printer Description
attribute (see [RFC2911] section 4.4.15) is settable in a
particular implementation, then changing its value with a Set-
Printer-Attributes operation MUST affect the operations that the
implementation accepts or rejects. Such an implementation will
need to be able to reject values for operations that it contains
no code support for (see section 4.3). If the "operations-
supported" Printer Description attribute is not settable in a
particular implementation, then that implementation MUST reject an
attempt to set it with a Set-Printer-Attributes operation, return
the 'client-error-attributes-not-settable' status code (see
section 7.1), and return the "operations-supported" attribute,
Hastings, et. al. Standards Track [Page 9]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
with the out-of-band 'not-settable' value in the Unsupported
Attributes Group.
As another example, consider an implementation in which the
"media-default" and "media-supported" are settable. If a client
supplies a Set-Printer-Attributes request that contains the
"media-default" attribute with a value that is not a member of the
Printer's "media-supported" attribute, the Printer MUST reject the
request and return the "client-error-conflicting-attributes"
status code with the "media-default" and "media-supported"
attributes and their values (see [RFC2911] section 3.1.7).
As a third example, if a client supplies a Set-Printer-Attributes
request that contains both the "media-default" and the "media-
supported" attributes, but includes a value in the "media-default"
that is not a member of the supplied "media-supported" attribute,
the Printer MUST reject the request and return the "client-error-
conflicting-attributes" status code with the "media-default" and
"media-supported" attributes and their values (see [RFC2911]
section 3.1.7).
Access Rights: The authenticated user (see [RFC2911] section 8.3)
performing this operation must be an operator or administrator of the
Printer object (see [RFC2911] Sections 1 and 8.5). Most Printer
attributes will require administrator access rights to set, such as
"xxx-supported", while some will require operator access rights only,
such as "media-ready" and "printer-message-from-operator". Which
attributes require which access rights depends on implementation, and
MAY depend on site policy.
4.1.2 Set-Printer-Attributes Request
The following sets of attributes are part of the Set-Printer-
Attributes Request:
Group 1: Operation Attributes
Natural Language and Character Set:
The "attributes-charset" and "attributes-natural-language"
attributes, as described in [RFC2911], section 3.1.4.1.
Target:
The "printer-uri" (uri) operation attribute, which is the
target for this operation, as described in [RFC2911], section
3.1.5.
Hastings, et. al. Standards Track [Page 10]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Requesting User Name:
The "requesting-user-name" (name(MAX)) attribute SHOULD be
supplied by the client, as described in [RFC2911], section 8.3.
"document-format" (mimeMediaType):
The client OPTIONALLY supplies this attribute. The Printer
object MUST support this attribute. This attribute is useful
for a client to select the document-format to which the
attribute modification should be applied. A Printer
implementation MAY allow some attributes to have different
values for each document format that it supports. See
[RFC2911], section 3.2.5.1 "Get-Printer-Attributes Request".
If the client includes this attribute, the Printer MUST change
the supplied attributes for the document format specified by
this attribute. If a supplied attribute is a member of the
"document-format-varying-attributes" (i.e., the attribute
varies by document format, see section 6.3), the Printer MUST
change the supplied attribute for the document format specified
by this attribute, but not for other document formats. If a
supplied attribute isn't a member of the "document-format-
varying-attributes" (i.e., it doesn't vary by document format),
the Printer MUST change the supplied attribute for all document
formats.
If the client omits this attribute, the Printer MUST change the
supplied attributes for all document formats, whether or not
they vary by document-format.
If the client supplies a value for the "document-format"
Operation attribute, that is either 'application/octet-stream'
or not supported by the Printer, i.e., is not among the values
of the Printer object's "document-format-supported" attribute,
the Printer object MUST reject the operation and return the
'client-error-document-format-not-supported' status code.
Note: the document-format 'application/octet-stream' is the
union of several document-formats (see [RFC2911] section
3.2.5.1, Get-Printer-Attributes) and is not a true document-
format.
Group 2: Printer Attributes
The client MUST supply a set of Printer attributes with one or
more values (including explicitly allowed out-of-band values) as
defined in [RFC2911] section 4.2 Job Template Attributes ("xxx-
default", "xxx-supported", and "xxx-ready" attributes), section
4.4 Printer Description Attributes, and any attribute extensions
supported by the Printer. The value(s) of each Printer attribute
Hastings, et. al. Standards Track [Page 11]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
supplied in Group 2 replaces the value(s) of the corresponding
Printer attribute on the target Printer object. For attributes
that can have multiple values (1setOf), all values supplied by the
client replace all values of the corresponding Printer object
attribute. If a Printer object attribute had not yet been
configured, and so assumed the 'no-value' out-of-band value (see
[RFC2911] section 4.1), the supplied value(s) replaces the 'no-
value' value.
4.1.3 Set-Printer-Attributes Response
The Printer object returns the following sets of attributes as part
of the Get-Printer-Attributes Response:
Group 1: Operation Attributes
Status Message:
In addition to the REQUIRED status code returned in every
response, the response OPTIONALLY includes a "status-message"
(text(255)) and/or a "detailed-status-message" (text(MAX))
operation attribute, as described in [RFC2911] sections 3.1.6
and 13.
Natural Language and Character Set:
The "attributes-charset" and "attributes-natural-language"
attributes, as described in [RFC2911], section 3.1.4.2.
Group 2: Unsupported Attributes
See [RFC2911], section 3.1.7, for details on returning Unsupported
Attributes.
If some of the attributes in the operation fail to validate, the
Printer MUST reject the operation, MUST NOT change any Printer
attributes, and MUST return the indicated status code below. In
this group, the Printer MUST also return all attributes that fail
to validate. The following are the reasons that an attribute
fails to validate and the value returns for the attribute, along
with the indicated status code and order of detection:
1. The number of attributes supplied by the client exceeds the
maximum number that the Printer supports in a Set-Printer-
Attributes request: return the 'client-error-request-entity-
too-large' (see [RFC2911], section 13.1.4.9).
Hastings, et. al. Standards Track [Page 12]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
2. The Printer doesn't support the attribute: return the attribute
with the "out-of-band" value 'unsupported' (see [RFC2911]
section 3.1.7 and [RFC2910]) and the 'client-error-attributes-
or-values-not-supported (see [RFC2911], section 13.1.4.12).
3. The attribute is either READ-ONLY (in its definition) or is
not-settable in this implementation: return the attribute with
the "out-of-band" value 'not-settable' (see section 8.1) and
the 'client-error-attributes-not-settable' status code (see
section 7.1).
4. The Printer doesn't support the value: if the attribute in the
operation has a single value, return it. If the attribute in
the operation is multi-valued, return only those values in a
1setOf that are not supported. Return the 'client-error-
attributes-or-values-not-supported' status code (see [RFC2911],
section 13.1.4.12).
5. The values of some of the supplied attributes conflict with one
another and/or other Printer attribute values not being set: if
the conflicting attribute in the operation has a single value,
return the attribute and the value. If the attribute in the
operation is multi-valued, return only the attribute and those
values in a 1setOf that are conflicting with other attributes.
Return the 'client-error-conflicting-attributes' status code
(see [RFC2911], section 13.1.4.15).
4.2 Set-Job-Attributes Operation
This OPTIONAL operation allows a client to set the values of the
attributes of a Job object. In the request, the client supplies the
set of Job keyword attribute names and values that are to be set. In
the response, the IPP object returns success or rejects the entire
request with indications of which attribute or attributes could not
be set.
This operation is almost identical to the Set-Printer-Attributes
operation and follows the same rules for validation (see section
4.1). The only differences are that the Set-Job-Attributes operation
is directed at a Job object rather than a Printer object, there is no
"document-format" operation attribute used when setting a Job object,
the operation can add an attribute to the (Job) object, the 'delete-
attributes' out-of-band value is permitted to remove an attribute,
and the validation is the same as the Job Creation operations
(Print-Job, Print-URI, and Create-Job), i.e., depends on the "xxx-
supported" Printer Description attributes (see [RFC2911] section
3.1). Using the Set-Printer-Attributes operation, the administrator
can set arbitrary 'name' values to those "xxx-supported" Printer
Hastings, et. al. Standards Track [Page 13]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
attributes, that include the 'name' attribute syntax, if the
implementation supports the 'admin-define' out-of-band value for that
"xxx-supported" attribute (see section 8.3 and Appendix A). However,
the Set-Job-Attributes cannot be used to add unsupported names to the
Job object.
If a client supplies a job attribute in a Set-Job-Attributes request
that the Printer supports, and the job was originally submitted
without supplying that attribute, the Printer adds the attribute to
the Job object.
If the client supplies a job attribute with the "out-of-band" value
'delete-attribute' (see section 8.2), then the Printer MUST remove
the attribute and all of its values from the Job object, if present.
The semantic effect of the client supplying the 'delete-attribute'
value in a Set-Job-Attributes operation MUST be the same as if the
attribute had not been supplied with the Job object in the Job
Creation operation, i.e., the Printer applies its default attribute
or behavior with lower precedence that the PDL (see the beginning of
[RFC2911] section 4.2 and [RFC2911] 3.2.1.1). Any subsequent query
of the Job object using Get-Job-Attributes or Get-Jobs, MUST NOT
return any attribute that has been deleted using the 'delete-
attribute' out-of-band value. However, a client can re-establish
such a deleted Job attribute with any supported value(s), using a
subsequent Set-Job-Attributes operation.
If the client supplies an attribute in a Set-Job-Attributes request
with the 'delete-attribute' value and that attribute is not present
on the Job object, the Printer ignores that supplied attribute in the
request, does not return the attribute in the Unsupported Attributes
group, and returns the 'successful-ok' status code, if there are no
other problems with the request.
The validation of the Set-Job-Attributes request is performed by the
Printer as if the job had been submitted originally with the new
attribute values (and the deleted attributes removed) and with "ipp-
attribute-fidelity" set to 'true', i.e., all modified attributes Job
attributes and values MUST be supported in combination with the Job
attributes not modified. If such a Job Creation operation would have
been accepted, then the Set-Job-Attributes MUST be accepted. If such
a Job Creation operation would have been rejected, then the Set-Job-
Attributes MUST be rejected and the Job MUST be unchanged. In
addition, if any of the supplied attributes are not supported, are
not settable, or the values are not supported, the Printer object
MUST reject the entire operation; the Printer object MUST NOT
partially set some of the supplied attributes. In other words, after
Hastings, et. al. Standards Track [Page 14]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
the operation, all the supplied attributes MUST be set or none of
them MUST be set, thus making the Set-Job-Attributes an atomic
operation.
The IPP object MUST accept or reject this operation when the Job's
READ-ONLY "job-state" attribute has the values shown in Table 2. The
job's current state MUST affect whether the IPP object accepts or
rejects the request. For example, in the case where the operation
creates a request for unavailable resources, the Job transitions to a
new state. Table 2 shows the allowed behaviors in each job state and
the transitions.
Table 2 - Job State Transition Table for the Set-Job-Attributes
operation
Current New IPP object's response status code
"job-state" "job-state" and "action":
'pending' 'pending' 'successful-ok'
'pending' 'pending-held' 'successful-ok' - needed resources
are not ready
'pending-held' 'pending-held' 'successful-ok'
'pending-held' 'pending' 'successful-ok' - needed resources
are ready
'processing' 'processing' 'successful-ok' or 'client-error-
not-possible' depending on
implementation, including the
attributes being set, whether the
job has started marking media,
etc.
'processing- 'processing- 'successful-ok' or 'client-error-
stopped' stopped' not-possible' depending on
implementation, including the
attributes being set, whether the
job has started marking media,
etc.
'completed' 'completed' 'client-error-not-possible'
'canceled' 'canceled' 'client-error-not-possible'
'aborted' 'aborted' 'client-error-not-possible'
Hastings, et. al. Standards Track [Page 15]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
This operation MUST NOT change the value of attributes not specified
in the operation unless the definition of the attribute explicitly
specifies such side-effects. In general, Job attribute definitions
that are settable will not define side-effects on other attributes
that are settable, only side effects on READ-ONLY attributes, if any.
4.2.1 Settable and READ-ONLY Job Description attributes
If the Printer supports the "job-message-from-operator" Job
Description attribute (see [RFC2911] section 4.3.16) and the client
explicitly supplies a new value for the "job-message-from-operator"
Job Description attribute in Group 2 in the Set-Job-Attributes
request, then the Printer MUST set the "job-message-from-operator"
Job Description attribute to this new value.
If the Printer supports the Set-Job-Attributes operation, then it
SHOULD support the setting of:
all Job Template job ("xxx") attributes
that the implementation supports (see [RFC2911] section 4.2 and
extensions).
Some Job Description attributes (see [RFC2911] section 4.3) MUST NOT
be settable, i.e., they are defined to be READ-ONLY. An attribute
marked as "READ-ONLY" in the Job Description attribute table in
Appendix A is such an attribute. The Job attributes not marked as
"READ-ONLY" MAY be settable using the Set-Job-Attributes operation,
depending on implementation.
Note: From now on, all extensions that define new object attributes
will indicate whether or not the attributes are READ-ONLY, by
including the "READ-ONLY" adjective in their descriptions and/or
explicitly stating whether they MAY be settable.
Access Rights: The authenticated user (see [RFC2911] section 8.3)
performing this operation must either be the job owner (as determined
in the Job Creation operation) or an operator or administrator of the
Printer object (see [RFC2911] Sections 1 and 8.5).
Hastings, et. al. Standards Track [Page 16]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
4.2.2 Set-Job-Attributes Request
The following sets of attributes are part of the Set-Job-Attributes
Request:
Group 1: Operation Attributes
Natural Language and Character Set:
The "attributes-charset" and "attributes-natural-language"
attributes as described in [RFC2911], section 3.1.4.1.
Target:
Either (1) the "printer-uri" (uri) plus "job-id"
(integer(1:MAX)) or (2) the "job-uri" (uri) operation
attribute(s), which defines the target for this operation as
described in [RFC2911], section 3.1.5.
Requesting User Name:
The "requesting-user-name" (name(MAX)) attribute SHOULD be
supplied by the client, as described in [RFC2911], section 8.3.
Group 2: Job Attributes
The client MUST supply a set of Job attributes with one or more
values (including explicitly allowed out-of-band values) as
defined in [RFC2911], section 4.2, Job Template Attributes ("xxx"
attributes), section 4.3, Job Description Attributes, and any
attribute extensions supported by the Printer. The value(s) of
each Job attribute supplied in Group 2 replaces the value(s) of
the corresponding Job attribute on the target Job object. For
attributes that can have multiple values (1setOf), all values
supplied by the client replace all values of the corresponding Job
object attribute.
If the client supplies an "xxx" attribute with the 'delete-
attribute' out-of-band value (see section 8.2), the Printer MUST
remove the "xxx" attribute from the Job object, if present.
Hastings, et. al. Standards Track [Page 17]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
4.2.3 Set-Job-Attributes Response
The IPP object returns the following sets of attributes as part of
the Set-Job-Attributes Response:
Group 1: Operation Attributes
Status Message:
In addition to the REQUIRED status code returned in every
response, the response OPTIONALLY includes a "status-message"
(text(255)) and/or a "detailed-status-message" (text(MAX))
operation attribute as described in [RFC2911], sections 3.1.6
and 13.
Natural Language and Character Set:
The "attributes-charset" and "attributes-natural-language"
attributes as described in [RFC2911], section 3.1.4.2.
Group 2: Unsupported Attributes
See [RFC2911], section 3.1.7, for details on returning Unsupported
Attributes.
If some of the attributes in the operation fail to validate, the
Printer MUST reject the operation, MUST NOT change any Job
attributes, and MUST return the indicated status code below. In
this group, the Printer MUST also return all attributes that fail
to validate. The following are the reasons that an attribute
fails to validate and the value returns for the attribute, along
with the indicated status code and order of detection:
1. The number of attributes supplied by the client exceeds the
maximum number that the Printer supports in a Set-Printer-
Attributes request: return the 'client-error-request-entity-
too-large' (see [RFC2911], section 13.1.4.9).
2. The Printer doesn't support the attribute: return the attribute
with the 'unsupported' out-of-band attribute value (see
[RFC2911], section 3.1.7 and [RFC2910]) and the 'client-error-
attributes-or-values-not-supported (see [RFC2911], section
13.1.4.12).
3. The attribute is READ-ONLY (in its definition) or is not-
settable in this implementation: return the attribute with the
'not-settable' out-of-band attribute value (see section 8.1)
and the 'client-error-attributes-not-settable' status code (see
section 7.1).
Hastings, et. al. Standards Track [Page 18]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
4. The Printer doesn't support the value: if the attribute in the
operation has a single value return it. If the attribute in
the operation is multi-valued, return only those values in a
1setOf that are not supported. Return the 'client-error-
attributes-or-values-not-supported' status code (see [RFC2911],
section 13.1.4.12).
5. The values of some of the supplied attributes conflict with one
another and/or other Job attribute values not being set: if
the conflicting attribute in the operation has a single value,
return the attribute and the value. If the attribute in the
operation is multi-valued, return only the attribute and those
values in a 1setOf that are conflicting with other attributes.
Return the 'client-error-conflicting-attributes' status code
(see [RFC2911],y section 13.1.4.15).
4.3 Get-Printer-Supported-Values Operation
This OPTIONAL operation allows a client to request the values that
the Printer allows in the Set-Printer-Attributes operation for "xxx-
supported" attributes. If the Printer supports the Set-Printer-
Attributes operation AND some of its "xxx-supported" Printer
attributes are settable, then the Printer MUST also support this
operation.
The Printer MUST return in the Get-Printer-Supported-Values response,
those, and only those, "xxx-supported" Printer attributes that it
supports setting with the Set-Printer-Attributes operation.
Furthermore, if a client requests the value of an attribute that is
not settable or is not supported (as in the Get-Printer-Attributes
response), the Unsupported Attributes Group of the response NEED NOT
contain the "requested-attributes" operation attribute with any such
requested (attribute keyword) values.
This operation has identical request/response attributes to the Get-
Printer-Attributes operation in IPP/1.1 [RFC2911]. The operation
also behaves identically to the Get-Printer-Attributes operation in
IPP/1.1 [RFC2911], with the following exceptions:
1. The Get-Printer-Supported-Values operation supports only "xxx-
supported" attributes.
2. The Get-Printer-Attributes operation returns the few "xxx-
supported" attributes that are defined to be single valued, such
as "page-ranges-supported" (boolean) or "pdl-override-supported"
(type2 keyword), as single values, while Get-Printer-Supported-
Hastings, et. al. Standards Track [Page 19]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Values returns the possible values that can be set as a 1setOf of
the same attribute syntax type (See Appendix B: Attributes
returned from Get-Printer-Supported-Values).
3. The Get-Printer-Attributes operation returns the current values of
requested attributes, while the Get-Printer-Supported-Values
operation returns the values that are inherently supported by the
implementation code, i.e., the values that an administrative
client can set in a Set-Printer-Attributes request.
4. The Get-Printer-Attributes operation returns the current values of
requested "xxx-supported" attributes that the Printer is
configured to accept in Job Creation operations, including
additional values defined by the administrator, while the Get-
Printer-Supported-Values operation returns only the values of
"xxx-supported" attributes that are inherently supported by the
implementation and does not return any additional values defined
by the administrator, where the implementation supports the
'admin-define' out-of-band value.
5. The Get-Printer-Attributes never returns the 'admin-define' out-
of-band attribute value, while the Get-Printer-Supported-
Attributes operation does, if the implementation allows the
administrator to define name values by setting that "xxx-
supported" attribute with any 'name' value(s).
6. The Get-Printer-Attributes operation only requires end-user access
rights, while the Get-Printer-Supported-Values requires
administrator access rights.
Access Rights: The authenticated user (see [RFC2911], section 8.3)
performing this operation must be an administrator of the Printer
object (see [RFC2911], Sections 1 and 8.5).
4.3.1 Definition of the usage of the 'admin-define' out-of-band
attribute value
If the Set-Printer-Attributes operation allows the System
Administrator to define arbitrary 'name' values for an "xxx-
supported" attribute, then the Get-Printer-Supported-Values operation
MUST return the 'admin-define' out-of-band attribute value (see
section 8.3) as one of the values of the "xxx-supported" attribute.
In other words, the 'admin-define' out-of-band attribute value
indicates that the Printer implementation supports clients setting
arbitrary 'name' attribute syntax values for that "xxx-supported"
attribute using the Set-Printer-Attributes operation, as long as the
attribute is defined with the 'name' attribute syntax.
Hastings, et. al. Standards Track [Page 20]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
For example, if the Get-Printer-Supported-Values operation returns
several keywords as the value of the "media-supported" attribute,
then the Set-Printer-Attributes operation MUST accept any of these
keywords as values for the "media-supported" attribute. If the Get-
Printer-Supported-Values operation returns an 'admin-define' out-of-
band attribute value as one of the values of the "media-supported"
attribute, then the Set-Printer-Attributes operation MUST accept any
value whose attribute syntax is 'name', as a value for the "media-
supported" attribute (provided that the user is properly
authenticated to use the Set-Printer-Attributes operation, e.g., has
administrative access rights).
The Get-Printer-Supported-Values MAY return the 'admin-define' out-
of-band attribute value for any IPP/1.1 or extension Job Template
attribute if the implementation supports allowing the System
Administrator to add values to the "xxx-supported" attribute using
the Set-Printer-Attributes operation. In this case, the Printer MUST
accept any 'name' value of the correct attribute syntax in a Set-
Printer-Attributes operation that is setting that attribute. For
"xxx-supported" attributes that are defined with a choice of
attribute syntaxes, such as 'keyword | name', it is the 'name'
attribute syntax that the System Administrator can use to add new
values, not the 'keyword' attribute syntax. For IPP/1.1, this
requirement includes the following Job Template attributes:
media-supported
job-hold-until-supported
job-sheets-supported
Implementations that support additional Job Template attributes that
include the 'name' attribute syntax, MAY use the 'admin-define' out-
of-band value with them.
If the 'admin-define' out-of-band attribute value is not one of the
values of an "xxx-supported" attribute returned in a Get-Printer-
Supported-Values response, then the Printer MUST NOT allow the Set-
Printer-Attributes operation for that attribute to contain a value
that is not one of the explicit 'keyword' or 'name' values returned
in a Get-Printer-Supported-Values response.
See Appendix B: Attributes returned from Get-Printer-Supported-Values
for a full list of values returned by this operation.
Hastings, et. al. Standards Track [Page 21]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
5 New Operation attributes
This section defines new operation attributes for use with the
IPP/1.1 operations indicated. As new operations are defined, they
will also indicate explicitly whether these operation attributes are
defined for use with them.
5.1 printer-message-from-operator (text(127))
The Printer SHOULD support this Operation attribute in following
operations if it supports the corresponding "printer-message-from-
operator" Printer Description attribute.
Pause-Printer
Resume-Printer
Purge-Jobs
The client OPTIONALLY supplies this Operation attribute in the above
operations. The value of this attribute is a message from the
operator about the Printer object on which the operator is performing
the operation. If this operation attribute is supported, the Printer
copies the value to its "printer-message-from-operator" Printer
Description attribute (see [RFC2911], section 4.4.25), even if this
Operation attribute is a zero-length text value or consists solely of
white space.
If the Printer supports this operation attribute, it MUST support
both a zero-length text value and the 'no-value' out-of-band value
(see [RFC2911] section 4.1) to indicate that the operator has sent no
message. In this case, the Printer sets the value of the "printer-
message-from-operator" to the zero-length value or 'no-value' out-
of-band value, respectively. If the client queries the "printer-
message-from-operator" Printer attribute, the Printer returns the
attribute with the zero-length value or the 'no-value' value,
respectively.
In addition, the Printer automatically copies:
1. the value of its "printer-up-time" attribute (see [RFC2911],
section 4.4.29) to its "printer-message-time" attribute,
2. the value of its printer-current-time" (dateTime) attribute (see
[RFC2911], section 4.4.30) to its "printer-message-date-time"
attribute, if supported.
Hastings, et. al. Standards Track [Page 22]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
If the client omits this operation attribute, the Printer does not
change the value of its "printer-message-from-operator", "printer-
message-time" and "printer-message-date-time" Printer Description
attributes.
The "printer-message-from-operator" operation attribute MUST NOT be
supported as an operation attribute for the Set-Printer-Attributes
operation. If the operator wants to set the Printer's "printer-
message-from-operator" Printer Description attribute when issuing the
Set-Printer-Attributes operation, the client supplies the "printer-
message-from-operator" explicitly with its new value as one of the
Printer Description attributes in Group 2 in the request; the Printer
also updates its "printer-message-time" and "printer-message-date-
time" Printer Description attributes. If the client does not
explicitly supply the "printer-message-from-operator" with its new
value in the Set-Printer-Attributes request, the Printer leaves the
value of the Printer's "printer-message-from-operator" Printer
Description attribute unchanged.
5.2 job-message-from-operator (text(127))
The Printer SHOULD support this Operation attribute in following
operations if it supports the corresponding "job-message-from-
operator" Job Description attribute.
Cancel-Job
Hold-Job
Release-Job
Restart-Job
The client OPTIONALLY supplies this attribute in the above
operations. The value of this attribute is a message from the
operator about the Job object on which the operator has just
performed an operation. If supported, the Printer copies the value
to the Job's "job-message-from-operator" Job Description attribute
(see [RFC2911], section 4.3.16) (even if this Operation attribute is
a zero-length text value or consists solely of white space).
If the Printer supports this operation attribute, it MUST support
both a zero-length text value and the 'no-value' out-of-band value
(see [RFC2911], section 4.1), to indicate that the operator has sent
no message. In this case, the Printer sets the value of the "job-
message-from-operator" to the zero-length value or 'no-value' out-
of-band value, respectively. If the client queries the "job-
message-from-operator" Job attribute, the IPP object returns the
attribute with the zero-length value or the 'no-value' value,
respectively.
Hastings, et. al. Standards Track [Page 23]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
If the client omits this attribute, the Printer does not change the
value of its "job-message-from-operator" Job Description attribute.
Note: There are no corresponding 'job-message-time" and "job-
message-date-time" Job Description attributes, since the usual
lifetime of a job is limited.
The "job-message-from-operator" operation attribute MUST NOT be
supported as an operation attribute for the Set-Job-Attributes
operation. If the operator wants to set the Job's "job-message-
from-operator" Job Description attribute when issuing the Set-Job-
Attributes operation, the client MUST supply the "job-message-from-
operator" with its new value as one of the Job Description attributes
in Group 2 in the request. Otherwise, the Printer leaves the value
of the Job's "job-message-from-operator" Job Description attribute
unchanged by not explicitly setting the attribute. If the client
does not explicitly supply the "job-message-from-operator" with its
new value in the Set-Job-Attributes request, the Printer leaves the
value of the Job's "job-message-from-operator" Job Description
attribute unchanged.
6 New Printer Description Attributes
The following new Printer Description attributes are needed to
support the new operations defined in this document.
6.1 printer-settable-attributes-supported (1setOf type2 keyword)
This REQUIRED READ-ONLY Printer Description attribute identifies the
Printer object attributes that are settable in this implementation,
i.e., that are settable using the Set-Printer-Attributes operations
(see section 4.1). This attribute MUST be supported if the Set-
Printer-Attributes operations is supported. The Printer MUST reject
attempts to set any Printer attributes that are not one of the values
of this attribute, returning the 'client-error-attributes-not-
settable' status code (see section 7.1). The value of this attribute
MAY depend on the value of the "document-format" operation attribute
supplied in the Get-Printer-Attributes operation (see [RFC2911],
section 3.2.5.1).
Standard keyword values are:
'none': There are no settable Printer attributes.
'xxx': Where 'xxx' is any of the keyword attribute names allowed
by section 4.1.1.
Hastings, et. al. Standards Track [Page 24]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
6.2 job-settable-attributes-supported (1setOf type2 keyword)
This REQUIRED READ-ONLY Printer Description attribute identifies the
Job object attributes that are settable in this implementation, i.e.,
that are settable using the Set-Job-Attributes operation (see section
4.2). This attribute MUST be supported if the Set-Job-Attributes
operations are supported. The Printer MUST reject attempts to set
any Job attributes that are not one of the values of this attribute,
returning the 'client-error-attributes-not-settable' status code (see
section 7.1).
Standard keyword values are:
'none': There are no settable Job attributes.
'xxx': Where 'xxx' is any of the keyword attribute names allowed
by section 4.2.1.
6.3 document-format-varying-attributes (1setOf type2 keyword)
This OPTIONAL READ-ONLY Printer Description attribute contains a set
of attribute name keywords. This attribute SHOULD be supported by a
Printer object if the Printer object has Printer attributes whose
value vary depending on document format (see [RFC2911], Get-Printer-
Attributes operation). This attribute specifies which attribute
values can vary by document-format. If an attribute's name, "xxx",
is a member of this attribute and the value of attribute "xxx" is
changed with the Set-Printer-Attributes operation that included the
"document-format" operation attribute, then the Printer MUST change
the value for the specified document format and no other document
formats (see section 4.1.2). If an attribute's name, "xxx", is not a
member of this attribute and the value of attribute "xxx" is changed
with the Set-Printer-Attributes operation, then the attribute is
changed for all document formats (whether or not the client supplied
the "document-format" operation attribute).
6.4 printer-message-time (integer(MIN:MAX))
This OPTIONAL READ-ONLY Printer Description attribute contains the
time that the Printer's "printer-message-from-operator" was changed
by the operator using any operation where the client supplied the
"printer-message-from-operator" operation attribute (see section 5.1)
or was explicitly set using the Set-Printer-Attributes operation (see
section 4.1). This attribute allows the users to know when the
"printer-message-from-operator" Printer Description attribute was
last set.
Hastings, et. al. Standards Track [Page 25]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
The Printer sets the value of this attribute by copying the value of
the Printer's "printer-up-time" attribute (see [RFC2911], section
4.3.14). If the Printer resets its "printer-up-time" attribute to 1
on power-up, then it MUST change the value of the "printer-message-
time" to 0 or a negative number as specified in [RFC2911], section
4.3.14.
Note: This attribute helps users better understand the context for
the "printer-message-from-operator" message.
6.5 printer-message-date-time (dateTime)
This OPTIONAL READ-ONLY Printer Description attribute contains the
date and time that the Printer's "printer-message-from-operator" was
changed by the operator, using any operation where the client
supplied the "printer-message-from-operator" operation attribute (see
section 5.1) or was explicitly set using the Set-Printer-Attributes
operation (see section 4.1). This attribute allows the users to know
when the "printer-message-from-operator" Printer Description
attribute was last set.
This attribute MUST be supported if the Printer supports both the
"printer-message-time" and the "printer-current-time" (dateTime)
attributes (see [RFC2911], section 4.4.30).
Note: This attribute helps users better understand the context for
the "printer-message-from-operator" message.
6.6 printer-xri-supported (1setOf collection)
This OPTIONAL Printer Description attribute is a multi-valued
attribute where each value has the 'collection' attribute syntax (see
[RFC3382]), containing member attributes with the same semantics as
the following IPP/1.1 READ-ONLY Printer Description attributes,
except for cardinality:
printer-uri-supported (1setOf uri)
- see [RFC2911], section 4.4.1
uri-authentication-supported (1setOf type2 keyword)
- see [RFC2911], section 4.4.2.
uri-security-supported (1setOf type2 keyword)
- see [RFC2911], section 4.4.3.
When setting the "printer-xri-supported" attribute with a Set-
Printer-Attributes request, the Printer MUST also set these three
IPP/1.1 READ-ONLY Printer Description attributes as a defined side
Hastings, et. al. Standards Track [Page 26]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
effect. Thus, this collection attribute provides the means to set
these three IPP/1.1 READ-ONLY attributes atomically so that they are
never left in a partially inconsistent state.
An IPP Printer MUST NOT provide any other way, using IPP, to set
these three IPP/1.1 READ-ONLY Printer Description attributes, since
they are READ-ONLY and MUST have consistent values at all times.
Note: The "printer-xri-supported" (1setOf collection) attribute can
be put into a directory schema that requires a single text string
value, such as could be used with SLPv2 [RFC2608], [RFC2609] or
LDAPv3 [RFC2251], [RFC2252], [RFC2926], by using suitable delimiting
characters to separate member attributes of the collection and/or
terminating collection values.
The member attributes of the "printer-xri-supported" (1setOf
collection) are given in Table 3.
Table 3 - Member attributes of "printer-xri-supported" (1setOf
collection)
Member attribute client Printer
MUST MUST
supply support
xri-uri (uri) yes yes
xri-authentication (type2 keyword) yes yes
xri-security (type2 keyword) yes yes
Other than the uniqueness and the cardinality requirements, the
semantics of these three member attributes is given in [RFC2911]
sections 4.4.1, 4.4.2, and 4.4.3, respectively.
A client can query the current values using the Get-Printer-
Attributes operation by supplying either:
1. the three IPP/1.1 attribute names: "printer-uri-supported", "uri-
authentication-supported", "uri-security-supported" and getting
back the parallel values OR
2. the single attribute name: "printer-xri-supported" and getting
back the 1setOf collection which contains the same information
semantically, but in a different form.
A client can query what member attribute values can be set by
supplying the three attribute names: "xri-uri-scheme-supported",
"xri-authentication-supported", and "xri-security-supported" in a
Hastings, et. al. Standards Track [Page 27]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Get-Printer-Supported-Values request and getting back the uriScheme
and type2 keyword values that can be set. Since the "printer-xri-
supported", "uri-authentication-supported", and "uri-security-
supported" attributes are READ-ONLY, they are not queriable with the
Get-Printer-Supported-Values operation (see section 4.3). See Table
16.
For example:
"printer-xri-supported =
{ "xri-uri" = ipp://abc.com/p1
"xri-authentication" = basic
"xri-security" = tls
},
{ "xri-uri" = ipp://abc.com/p2
"xri-authentication" = digest
"xri-security" = tls
},
{ "xri-uri" = ipp://abc.com/p3
"xri-authentication" = none
"xri-security" = none
}
would cause the Printer to set the three corresponding IPP/1.1 READ-
ONLY attributes, each with three parallel values as follows:
"printer-uri-supported" = { ipp://abc.com/p1, ipp://abc.com/p2,
ipp://abc.com/p3 }
"uri-authentication-supported" = { basic, digest, none }
"uri-security-supported" = { tls, tls, none }
6.7 xri-uri-scheme-supported (1setOf uriScheme)
This OPTIONAL READ-ONLY Printer Description attribute identifies the
URI schemes that the implementation supports for use in the
"printer-uri-supported" (1setOf uri) Printer Description attribute
(see [RFC2911] section 4.4.1) and the "xri-uri" member attribute of
the "printer-xri-supported" (1setOf collection) Printer Description
attribute (see section 6.6).
A Printer MUST support this attribute if it supports the setting of
the "printer-xri-supported" (1setOf collection) with the Set-
Printer-Attributes operation.
Hastings, et. al. Standards Track [Page 28]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
6.8 xri-authentication-supported (1setOf type2 keyword)
This OPTIONAL READ-ONLY Printer Description attribute identifies the
Client Authentication mechanisms that the implementation supports for
use in the "uri-authentication-supported" (1setOf type2 keyword)
Printer Description attribute (see [RFC2911], section 4.4.2) and the
"xri-authentication" member attribute of the "printer-xri-supported"
(1setOf collection) Printer Description attribute (see section 6.6).
A Printer MUST support this attribute if it supports setting the
"printer-xri-supported" (1setOf collection) with the Set-Printer-
Attributes operation.
6.9 xri-security-supported (1setOf type2 keyword)
This OPTIONAL READ-ONLY Printer Description attribute identifies the
URI schemes that the implementation supports for use in the "uri-
security-supported" (1setOf type2 keyword) Printer Description
attribute (see [RFC2911], section 4.4.3) and the "xri-security"
member attribute of the "printer-xri-supported" (1setOf collection)
Printer Description attribute (see section 6.6).
A Printer MUST support this attribute if it supports setting the
"printer-xri-supported" (1setOf collection) with the Set-Printer-
Attributes operation.
7 Additional status codes
This section defines new status codes used by the operations defined
in this document.
7.1 client-error-attributes-not-settable (0x0413)
The Set-Printer-Attributes or Set-Job-Attributes operation failed
because one or more of the specified attributes cannot be set, either
because the attribute is defined to be READ-ONLY or the attribute is
not settable in this implementation (see sections 4.1.3 and 4.2.3).
The Printer MUST return this error code and the attribute keyword
name(s) and the 'not-settable' out-of-band value (see section 8.1) in
the Unsupported Attributes Group (see [RFC2911], section 3.1.7) for
all of the attributes that could not be set. When the Printer
returns this status, it MUST NOT change any of the attributes
supplied in the operation.
Hastings, et. al. Standards Track [Page 29]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
8 Additional out-of-band values
This section defines additional out-of-band values. As with all
out-of-band values, a client or a Printer MUST NOT use an out-of-band
value unless the definition of the attribute in an operation request
and/or response explicitly allows such usage. See the beginning of
[RFC2911], section 4.1.
8.1 'not-settable' out-of-band value
The 'not-settable' out-of-band attribute value is returned by the IPP
Printer in the Unsupported Attributes group of a response to indicate
that the attribute supplied by the client in the request is READ-ONLY
by definition or is not settable in this implementation.
The 'not-settable' out-of-band attribute value is defined for use
with the Set-Job-Attributes and Set-Printer-Attributes responses
only. If a future additional "set" operation allows the 'not-
settable' out-of-band value, its definition document MUST indicate
such use explicitly, including with which attributes.
An IPP object MUST support the 'not-settable' out-of-band value in a
Set-Job-Attributes or Set-Printer-Attributes request if it supports
those operations. A client MUST NOT supply the 'not-settable' out-
of-band value in any request. An IPP object MUST NOT support the
'not-settable' out-of-band value in other operations, unless the
operations' definition document explicitly defines such usage. If a
Printer receives this out-of-band value in any operation request, the
Printer MUST either (1) reject the entire request and return the
'client-error-bad-request' status code or (2) ignore the attribute
and return it with the 'unsupported' out-of-band value.
See sections 4.1.3 and 4.2.3 in this document for an example
definition of the usage of the 'not-settable' out-of-band value in
the Set-Printer-Attributes and Set-Job-Attributes responses.
8.1.1 Encoding of the 'not-settable' out-of-band attribute value
The encoding of the 'not-settable' out-of-band value is 0x15 (see
[RFC2910]). The value-length MUST be 0 and the value empty.
8.2 'delete-attribute' out-of-band value
The 'delete-attribute' out-of-band attribute value is supplied by the
client in a request to indicate that the Printer is to remove the
supplied attribute and all of its values from the target object, if
present.
Hastings, et. al. Standards Track [Page 30]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
The 'delete-attribute' out-of-band attribute value is defined for use
with the Set-Job-Attributes request only. If a future additional
"set" operation allows the 'delete-attribute' out-of-band value, its
definition document MUST indicate such use explicitly, including with
which attributes.
An IPP Printer MUST support the 'delete-attribute' out-of-band value
if it supports the Set-Job-Attributes operation. A client MUST NOT
supply, and an IPP object MUST NOT support, the 'delete-attribute'
out-of-band value in other operations, unless the operations'
definition document explicitly defines such usage. For example, the
'delete-attribute' out-of-band value MUST NOT be used in the Set-
Printer-Attributes operation, where the absence of an attribute from
an IPP object indicates that the attribute is not supported. If a
Printer receives this out-of-band value in other operation requests,
the Printer MUST either (1) reject the entire request and return the
'client-error-bad-request' status code or (2) ignore the attribute
and return it with the 'unsupported' out-of-band value.
See section 4.2 in this document for the definition of the usage of
the 'delete-attribute' out-of-band value in the Set-Job-Attributes
request.
8.2.1 Encoding of the 'delete-attribute' out-of-band value
The encoding of the 'delete-attribute' out-of-band value is 0x16 (see
[RFC2910]). The value-length MUST be 0 and the value empty.
8.3 'admin-define' out-of-band attribute value
Section 4.3 defines the Get-Printer-Supported-Values response to
contain the values of an "xxx-supported" attribute that are supported
by the implementation before any additional values are defined by the
administrator. The 'admin-define' out-of-band attribute value is
returned as an additional value of an "xxx-supported" attribute in a
Get-Printer-Supported-Values response to indicate that the
implementation supports allowing an administrator to define
additional arbitrary 'name' values for that "xxx-supported"
attribute.
For example, if the "media-supported" (1setOf (type3 keyword | name))
attribute contains this value, then the Printer MUST permit an
administrator to add new media names to the Printer's "media-
supported" attribute. In order for an administrator to add new
values to a Printer's "xxx-supported" attribute, the client supplies
the existing and new values in a Set-Printer-Attributes request for
Hastings, et. al. Standards Track [Page 31]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
that attribute. The client MUST supply any such administratively
defined values in the Set-Printer-Attributes request, using the
'name' attribute syntax.
The 'admin-define' out-of-band attribute value is defined for use
with the Get-Printer-Supported-Values response only. A Printer MUST
NOT return the 'admin-define' out-of-band value in a Get-Printer-
Attributes response, since such a response indicates what an end-user
client can supply in a Job Creation operation. If a future
additional "get" operation allows the 'admin-define' out-of-band
value, its definition document MUST indicate such use explicitly,
including with which attributes.
An IPP Printer MUST support the 'admin-define' out-of-band value, if
it supports a client setting arbitrary 'name' values of an "xxx-
supported" Printer attribute using the Set-Printer-Attributes
operation. A client MUST NOT supply the 'admin-define' out-of-band
value in any request. An IPP object MUST NOT support the 'admin-
define' out-of-band value in other operations, unless the operations'
definition document explicitly defines such usage. If a Printer
receives this out-of-band value in any operation request, the Printer
MUST either (1) reject the entire request and return the 'client-
error-bad-request' status code or (2) ignore the attribute and return
it with the 'unsupported' out-of-band value.
This document defines that the 'admin-define' out-of-band value MUST
be used only with "xxx-supported" attributes that are defined to
include the 'name' attribute syntax. This out-of-band value is not
intended to be used with "xxx-supported" attributes of other
attribute syntaxes, such as 'uri', even though the administrator
defines arbitrary values for such attributes. If other documents
extend the use of the 'admin-define' out-of-band value to other
attribute syntaxes, such a document MUST define such use explicitly,
including with which attributes.
See section 4.3 in this document for an example definition of the
usage of the 'admin-define' out-of-band attribute value in any "xxx-
supported" attribute returned in a Get-Printer-Supported-Values
response that is defined to include the 'name' attribute syntax.
8.3.1 Encoding of the 'admin-define' out-of-band attribute value
The encoding of the 'admin-define' out-of-band attribute value is
0x17 (see [RFC2910]). The value-length MUST be 0 and the value
empty.
Hastings, et. al. Standards Track [Page 32]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
9 New Values for Existing Printer Description Attributes
This section contains those attributes for which additional values
are added.
9.1 operations-supported (1setOf type2 enum)
The following "operation-id" values are added in order to support the
new operations defined in this document:
Table 4 - Operation-id assignments
Value Operation Name
0x0013 Set-Printer-Attributes
0x0014 Set-Job-Attributes
0x0015 Get-Printer-Supported-Values
10 Conformance Requirements
This section specifies the conformance requirements for clients and
IPP objects.
Both the Set-Job-Attributes and the Set-Printer-Attributes operations
defined in the document are OPTIONAL for an IPP object to support.
Either one MAY be supported without the other or both MAY be
supported. However, if the Set-Printer-Attributes operation is
supported, then the Get-Printer-Supported-Values operation MUST be
supported if any "xxx-supported" attributes are settable. Otherwise,
the Get-Printer-Supported-Values operation is OPTIONAL for an IPP
Printer to support.
If the Set-Printer-Attributes operation is supported, then the
Printer MUST support the following additional items:
1. the Get-Printer-Supported-Values operation (see section 5), if
any "xxx-supported" attributes are settable.
2. the "printer-settable-attributes-supported" Printer Description
attribute (see section 6.1).
3. the 'not-settable' out-of-band value in responses (see section
8.1).
4. the 'client-error-not-settable' status code (see section 7.1).
Hastings, et. al. Standards Track [Page 33]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
5. if the "printer-message-from-operator" Printer Description
attribute is supported (see [RFC2911], section 4.4.25), then it
MUST be settable.
6. the Get-Printer-Supported-Values operation (see section 4.3),
if any "xxx-supported" attributes are settable.
7. If a client can set a value with the 'name' attribute syntax
for one or more "xxx-supported" attributes, then the 'admin-
define' out-of-band attribute value (see section 8.3) MUST be
supported in the Get-Printer-Supported-Values response for each
such settable attribute (see section 4.3)
If the Set-Job-Attributes operation is supported, then the Printer
MUST support the following additional items:
1. the "job-settable-attributes-supported" Printer Description
attribute (see section 6.2).
2. the 'not-settable' out-of-band value in responses (see section
8.1).
3. the 'delete-attribute' out-of-band value in requests (see
section 8.2).
4. the 'client-error-not-settable' status code (see section 7.1).
5. if the "job-message-from-operator" Printer Description
attribute is supported (see [RFC2911], 4.3.16), then it MUST be
settable.
It is OPTIONAL for the Printer object to support the "printer-
message-time" (integer) and "printer-message-date-time" (dateTime)
Printer Description attributes. If both the "printer-message-time"
(integer) and the "printer-current-time" (dateTime) (see [RFC2911],
section 4.4.30) attributes are supported, then the "printer-message-
date-time" (dateTime) Printer Description attribute MUST be
supported.
As with all out-of-band values, a client or a Printer MUST NOT use an
out-of-band value, unless the definition document for the attribute
in an operation request and/or response explicitly allows such usage.
Hastings, et. al. Standards Track [Page 34]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
11 IANA Considerations
This section contains registration information for IANA to add to the
various IPP Registries according to the procedures defined in RFC
2911 [RFC2911], section 6. The resulting registrations will be
published in the http://www.iana.org/assignments/ipp-registrations
registry.
11.1 Operation Registrations
The following table lists all of the operations defined in this
document. These are to be registered according to the procedures
defined in RFC 2911 [RFC2911], section 6.4.
Operations: Ref. Section:
Set-Printer-Attributes RFC 3380 4.1
Set-Job-Attributes RFC 3380 4.2
Get-Printer-Supported-Values RFC 3380 4.3
11.2 Additional Enum Attribute Value Registrations for the
"operations-supported" Printer Attribute
The following table lists all the new enum attribute values defined
in this document as additional type2 enum values for use with the
"operations-supported" Printer Description attribute. These are to
be registered according to the procedures defined in RFC 2911 [RFC
2911], section 6.1.
Enum Attribute Values: Value Ref. Section:
Set-Printer-Attributes 0x0013 RFC 3380 4
Set-Job-Attributes 0x0014 RFC 3380 4
Get-Printer-Supported-Values 0x0015 RFC 3380 4
Hastings, et. al. Standards Track [Page 35]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
11.3 Keyword attribute value registrations
The following table lists all of the attributes defined in this
standard which have keywords values defined:
printer-settable-attributes-supported (1setOf type2 keyword)
RFC 3380 6.1
none RFC 3380 6.1
<Any other Printer attribute keyword name>
job-settable-attributes-supported (1setOf type2 keyword)
RFC 3380 6.2
none RFC 3380 6.2
<Any other Job attribute keyword name>
document-format-varying-attributes (1setOf type2 keyword)
RFC 3380 6.3
none
<Any Printer attribute keyword name>
xri-security-supported (1setOf type2 keyword) RFC 3380 6.9
none RFC 2911 4.4.3
ssl3 RFC 2911 4.4.3
tls' RFC 2911 4.4.3
xri-authentication-supported (1setOf type2 keyword)
none RFC 2911 4.4.2
requesting-user-name RFC 2911 4.4.2
basic RFC 2911 4.4.2
digest RFC 2911 4.4.2
certificate RFC 2911 4.4.2
Hastings, et. al. Standards Track [Page 36]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
11.4 Attribute Registrations
The following table lists all of the attributes defined in this
document. These are to be registered according to the procedures in
RFC 2911 [RFC2911], section 6.2.
Operation attributes: Ref. Section:
printer-message-from-operator (text(127)) RFC 3380 5.1
job-message-from-operator (text(127)) RFC 3380 5.2
Printer Description attributes: Ref. Section:
printer-settable-attributes-supported (1setOf type2 keyword)
RFC 3380 6.1
job-settable-attributes-supported (1setOf type2 keyword)
RFC 3380 6.2
document-format-varying-attributes (1setOf type2 keyword)
RFC 3380 6.3
printer-message-time (integer(MIN:MAX)) RFC 3380 6.4
printer-message-date-time (dateTime) RFC 3380 6.5
printer-xri-supported (1setOf collection) RFC 3380 6.6
xri-uri (uri) RFC 3380 6.6
xri-authentication (type2 keyword) RFC 3380 6.6
xri-security (type2 keyword) RFC 3380 6.6
xri-uri-scheme-supported (1setOf uriScheme) RFC 3380 6.7
xri-authentication-supported (1setOf type2 keyword) 6.8
xri-security-supported (1setOf type2 keyword) RFC 3380 6.9
11.5 Status code Registrations
The following table lists the status code defined in this document.
This is to be registered according to the procedures in RFC 2911
[RFC2911], section 6.6.
Status codes: Ref. Section:
client-error-attributes-not-settable (0x0413) RFC 3380 7.1
11.6 Out-of-band Attribute Value Registrations
The following table lists all of the out-of-band attribute values
defined in this document. These are to be registered according to
the procedures in RFC 2911 [RFC2911] section 6.7.
Value: Out-of-band Attribute value name: Ref. Section:
0x15 not-settable RFC 3380 8.1
0x16 delete-attribute RFC 3380 8.2
0x17 admin-define RFC 3380 8.3
Hastings, et. al. Standards Track [Page 37]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
12 Internationalization Considerations
This document has the same localization considerations as [RFC2911].
13 Security Considerations
The IPP Model and Semantics document ([RFC2911], section 8) discusses
high level security requirements (Client Authentication, Server
Authentication and Operation Privacy). Client Authentication is the
mechanism by which the client proves its identity to the server in a
secure manner. Server Authentication is the mechanism by which the
server proves its identity to the client in a secure manner.
Operation Privacy is defined as a mechanism for protecting operations
from eavesdropping.
In addition, the introduction of the Set-Printer-Attributes and Set-
Job-Attributes operations creates another security threat, since the
client is able to modify the Printer and Job attributes stored in the
Printer. Such modifications could lead to denial of service.
A malicious user could alter the policy established by the system
administrator and stored in the Printer attributes. Such alteration
could either grant access to more resources or deny access to
resources that the system administrator has established. For
example, the malicious user could remove all of the document-format
values from the "document-format-supported" Printer attribute so that
the Printer would refuse to accept all jobs.
The general remedy for such malicious user actions against Printer
attributes is to have strong Client Authentication coupled with
Printer access control, to limit the users who have System
Administrator or Operator privileges.
A malicious user could modify the Job Template attributes of another
user's Job, such as the "copies" attribute. For example, setting the
number of copies to a large number.
The general remedy for such malicious user actions against another
user's job is to have strong Client Authentication coupled with
Printer access control to limit the users who have System
Administrator or Operator privileges who can modify any job and, in
addition, store the Client Authentication with each Job so that only
the job owner End User can modify his/her own job.
Hastings, et. al. Standards Track [Page 38]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
14 References
14.1 Normative References
[RFC2565] Herriot, R., Butler, S., Moore, P. and R. Tuner, "Internet
Printing Protocol/1.0: Encoding and Transport", RFC 2565,
April 1999.
[RFC2566] deBry, R., Hastings, T., Herriot, R., Isaacson, S. and P.
Powell, "Internet Printing Protocol/1.0: Model and
Semantics", RFC 2566, April 1999.
[RFC2910] Herriot, R., Butler, S., Moore, P. and R. Turner,
"Internet Printing Protocol/1.1: Encoding and Transport",
RFC 2910, September 2000.
[RFC2911] Hastings, T., Herriot, R., deBry, R., Isaacson, S. and P.
Powell, "Internet Printing Protocol/1.0: Model and
Semantics", RFC 2911, September 2000.
[RFC3382] deBry, R., Hastings, T., Herriot, R., Ocke, K. and P.
Zehler, "Internet Printing Protocol (IPP): The
'collection' attribute syntax", RFC 3382, September 2002.
14.2 Informative References
[RFC2251] Wahl, M., Howes, T. abd S. Kille, "Lightweight Directory
Access Protocol (v3)", RFC 2251, December 1997.
[RFC2252] Wahl, M., Coulbeck, A., Howes, T. and S. Kille,
"Lightweight Directory Access Protocol (v3): Attribute
Syntax Definitions", RFC 2252, December 1997.
[RFC2608] Guttman, E., Perkins, C., Veizades, J. and M. Day,
"Service Location Protocol, Version 2", RFC 2608, June
1999.
[RFC2609] Guttman, E., Perkins, C. and J. Kempf, "Service Templates
and service: Schemes", RFC 2609, June 1999.
[RFC3196] Hastings, T., Manros, C., Zehler, P., Kugler, C. and H.
Holst, "Internet Printing Protocol/1.1: Implementor's
Guide", RFC 3196, November 2001.
Hastings, et. al. Standards Track [Page 39]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Appendix A: Allowed Values for Set-Printer-Attributes and
Set-Job-Attributes requests (Normative)
This appendix is a normative part of this document and contains a
table of all IPP/1.1 attributes. Each row contains:
- an attribute and
- the values allowed in the Set-Printer-Attributes or Set-Job-
Attributes request for the attribute. The entry in each cell
is the name (first few words) of each item below 1, 2, 3, 4a-g,
and 5.
The allowed values include the following cases:
1. READ-ONLY: the Set-Printer-Attributes or Set-Job-Attributes
operation MUST NOT change this attribute and MUST reject the
entire operation (see section 7.1).
2. Any of "xxx-supported": the Set-Printer-Attributes or Set-
Job-Attributes operation accepts values that are allowed
according to the IPP/1.1 rules for validating the value(s) of
an "xxx" Printer or Job attribute against the value(s) of the
corresponding "xxx-supported" Printer attribute. Table 5
summarizes those validation rules depending on each attribute
syntax and value of an "xxx" attribute supplied in the request
and that of the corresponding "xxx-supported" Printer
attribute. The "xxx-supported" attribute syntax type and
value(s) are obtained from a Get-Printer-Supported-Values
response (see the tables in this Appendix).
Hastings, et. al. Standards Track [Page 40]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Table 5 - Validation rules for 'Any of "xxx-supported" '
Type of "xxx" Type of "xxx- Validates if:
value to be supported" value
set
integer rangeOfInteger each value is in one of the
"xxx-supported" ranges
uri uriScheme each uri scheme matches one
of the "xxx-supported"
schemes
any boolean if the boolean "xxx-
supported" is 'true'
any same type each value matches an "xxx-
supported" value of the same
type
For additional non-normative explanatory information see section
3.1.2.3 of the "Internet Printing Protocol/1.1: Implementer's Guide"
[RFC3196].
3. From Get-Printer-Supported-Values: the Set-Printer-Attributes
operation accepts values that are allowed according to the
IPP/1.1 rules for validating the value(s) of an "xxx" Printer
attribute against the value(s) of the corresponding "xxx-
supported" Printer attribute. Table 6 summarizes those
validation rules depending on each attribute syntax and value
of an "xxx" attribute supplied in the request and that of the
corresponding "xxx-supported" Printer attribute. The "xxx-
supported" attribute syntax type and attribute value(s) are
obtained from a Get-Printer-Supported-Values response (see
Appendix B: Attributes returned from Get-Printer-Supported-
Values below).
Hastings, et. al. Standards Track [Page 41]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Table 6 - Validation rules for 'From Get-Printer-Supported-Values'
Type of -
"xxx" supported" value Validates if:
value to
be set Type of "xxx
integer rangeOfInteger each 'integer' value is in one of
the "xxx-supported" ranges
uri uriScheme the uri scheme of each value
matches one of the "xxx-supported"
schemes
any boolean if the boolean "xxx-supported" is
'true'
name 'admin-define' any 'name' value matches
out-of-band
value
any same type each value matches an "xxx-
supported" value of the same type
For additional non-normative explanatory information see section
3.1.2.3 of the "Internet Printing Protocol/1.1: Implementer's Guide"
[RFC3196].
4. Any value of the proper attribute syntax: the Set-Printer-
Attributes or Set-Job-Attributes operation accepts any value of
the specified attribute syntax. The attribute syntaxes
supported are enumerated below.
a. Any text(127)
b. Any name(127)
c. Any uri
d. Any boolean
e. Any positive integer
f. Any dateTime
g. 1setOf any uri
5. Combination of 'Any of "xxx-supported"' or 'Any name'. If a
Printer implementation doesn't want to allow setting values
indicated in this Appendix as "any xxx", it can make the value
be not-settable.
Hastings, et. al. Standards Track [Page 42]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Table 7 - Values allowed for Job Template Attributes in the
Set-Job-Attributes Operation
Job Template Attributes Values allowed for
Set
job-priority (integer(1:100)) Any of "xxx-
supported"
job-hold-until (type3 keyword | name (MAX)) Any of "xxx-
supported"
job-sheets (type3 keyword | name(MAX)) Any of "xxx-
supported"
multiple-document-handling (type2 keyword) Any of "xxx-
supported"
copies (integer(1:MAX)) Any of "xxx-
supported"
finishings (1setOf type2 enum) Any of "xxx-
supported"
page-ranges (1setOf rangeOfInteger (1:MAX)) Any of "xxx-
supported"
sides (type2 keyword) Any of "xxx-
supported"
number-up (integer(1:MAX)) Any of "xxx-
supported"
orientation-requested (type2 enum) Any of "xxx-
supported"
media (type3 keyword | name(MAX)) Any of "xxx-
supported"
printer-resolution (resolution) Any of "xxx-
supported"
print-quality (type2 enum) Any of "xxx-
supported"
Hastings, et. al. Standards Track [Page 43]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Table 8 - Values allowed for Job Description Attributes in the
Set-Job-Attributes Operation
Job Description Attributes Values allowed for
Set
job-uri (uri) READ-ONLY
job-id (integer(1:MAX)) READ-ONLY
job-printer-uri (uri) READ-ONLY
job-more-info (uri) READ-ONLY
job-name (name(MAX)) Any name(MAX)
job-originating-user-name (name(MAX)) READ-ONLY
job-state (type1 enum) READ-ONLY
job-state-reasons (1setOf type2 keyword) READ-ONLY
job-state-message (text(MAX)) READ-ONLY
job-detailed-status-messages (1setOf READ-ONLY
text(MAX))
job-document-access-errors (1setOf READ-ONLY
text(MAX))
number-of-documents (integer(0:MAX)) READ-ONLY
output-device-assigned (name(127)) READ-ONLY
time-at-creation (integer(MIN:MAX)) READ-ONLY
time-at-processing (integer(MIN:MAX)) READ-ONLY
time-at-completed (integer(MIN:MAX)) READ-ONLY
job-printer-up-time (integer(1:MAX)) READ-ONLY
date-time-at-creation (dateTime) READ-ONLY
Hastings, et. al. Standards Track [Page 44]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Job Description Attributes Values allowed for
Set
date-time-at-processing (dateTime) READ-ONLY
date-time-at-completed (dateTime) READ-ONLY
number-of-intervening-jobs (integer(0:MAX)) READ-ONLY
job-message-from-operator (text(127)) Any text(127)
job-k-octets (integer(0:MAX)) READ-ONLY
job-impressions (integer(0:MAX)) READ-ONLY
job-media-sheets (integer(0:MAX)) READ-ONLY
job-k-octets-processed (integer(0:MAX)) READ-ONLY
job-impressions-completed (integer(0:MAX)) READ-ONLY
job-media-sheets-completed (integer(0:MAX)) READ-ONLY
attributes-charset (charset) READ-ONLY
attributes-natural-language READ-ONLY
(naturalLanguage)
Table 9 - Values allowed for Printer Job Template Attributes in
the Set-Printer-Attributes Operation
Printer Job Template Attributes Values allowed
for Set
job-priority-default (integer(1:100)) Any of "xxx-
supported"
job-hold-until-default (type3 keyword | name Any of "xxx-
(MAX)) supported"
job-sheets-default (type3 keyword | name(MAX)) Any of "xxx-
supported"
multiple-document-handling-default (type2 Any of "xxx-
keyword) supported"
copies-default (integer(1:MAX)) Any of "xxx-
supported"
Hastings, et. al. Standards Track [Page 45]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Printer Job Template Attributes Values allowed
for Set
finishings-default (1setOf type2 enum) Any of "xxx-
supported"
sides-default (type2 keyword) Any of "xxx-
supported"
number-up-default (integer(1:MAX)) Any of "xxx-
supported"
orientation-requested-default (type2 enum) Any of "xxx-
supported"
media-default (type3 keyword | name(MAX)) Any of "xxx-
supported"
printer-resolution-default (resolution) Any of "xxx-
supported"
print-quality-default (type2 enum) Any of "xxx-
supported"
job-priority-supported (integer(1:100)) From Get-
Printer-
Supported-Values
job-hold-until-supported (1setOf(type3 keyword From Get-
| name (MAX))) Printer-
Supported-Values
job-sheets-supported (1setOf(type3 keyword | From Get-
name(MAX))) Printer-
Supported-Values
multiple-document-handling-supported (1setOf From Get-
type2 keyword) Printer-
Supported-Values
copies-supported (rangeOfInteger(1:MAX)) From Get-
Printer-
Supported-Values
finishings-supported (1setOf type2 enum) From Get-
Printer-
Supported-Values
Hastings, et. al. Standards Track [Page 46]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Printer Job Template Attributes Values allowed
for Set
page-ranges-supported (boolean) From Get-
Printer-
Supported-Values
sides-supported (1setOf type2 keyword) From Get-
Printer-
Supported-Values
number-up-supported (1setOf (integer(1:MAX) | From Get-
rangeOfInteger(1:MAX))) Printer-
Supported-Values
orientation-requested-supported (1setOf type2 From Get-
enum) Printer-
Supported-Values
media-supported (1setOf (type3 keyword | From Get-
name(MAX))) Printer-
Supported-Values
printer-resolution-supported (1setOf From Get-
resolution) Printer-
Supported-Values
print-quality-supported (1setOf type2 enum) From Get-
Printer-
Supported-Values
media-ready (type3 keyword | name(MAX)) From Get-
Printer-
Supported-Values
Hastings, et. al. Standards Track [Page 47]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Table 10 - Values allowed for Printer Description Attributes in
the Set-Printer-Attributes Operation
Printer Description Attributes Values allowed for
Set
printer-uri-supported (1setOf uri) READ-ONLY
uri-authentication-supported (1setOf type2 READ-ONLY
keyword)
uri-security-supported (1setOf type2 READ-ONLY
keyword)
printer-xri-supported (1setOf collection)
member attributes:
xri-uri (uri) any uriScheme of
"xri-uri-scheme-
supported" from
Get-Printer-
Attributes
xri-authentication (type2 keyword) any keyword of
"xri-
authentication-
supported" from
Get-Printer-
Attributes
xri-security (type2 keyword) any keyword of
"xri-security-
supported" from
Get-Printer-
Attributes
xri-uri-scheme-supported (1setOf uriScheme) READ-ONLY
xri-authentication-supported (1setOf type2 READ-ONLY
keyword)
xri-security-supported (1setOf type2 READ-ONLY
keyword)
Hastings, et. al. Standards Track [Page 48]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Printer Description Attributes Values allowed for
Set
printer-name (name(127)) Any name(127)
printer-location (text(127)) Any text(127)
printer-info (text(127)) Any text(127)
printer-more-info (uri) Any uri
printer-driver-installer (uri) Any uri
printer-make-and-model (text(127)) Any text(127)
printer-more-info-manufacturer (uri) Any uri
printer-state (type1 enum) READ-ONLY
printer-state-reasons (1setOf type2 READ-ONLY
keyword)
printer-state-message (text(MAX)) READ-ONLY
ipp-versions-supported (1setOf type2 From Get-Printer-
keyword) Supported-Values
operations-supported (1setOf type2 enum) From Get-Printer-
Supported-Values
multiple-document-jobs-supported (boolean) From Get-Printer-
Supported-Values
charset-configured (charset) Any of "xxx-
supported", use
"charset-supported"
charset-supported (1setOf charset) From Get-Printer-
Supported-Values
Hastings, et. al. Standards Track [Page 49]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Printer Description Attributes Values allowed for
Set
natural-language-configured Any of "xxx-
(naturalLanguage) supported", use
"generated-natural-
language-supported"
generated-natural-language-supported From Get-Printer-
(1setOf naturalLanguage) Supported-Values
document-format-default (mimeMediaType) Any of "xxx-
supported"
document-format-supported (1setOf From Get-Printer-
mimeMediaType) Supported-Values
printer-is-accepting-jobs (boolean) READ-ONLY
queued-job-count (integer(0:MAX)) READ-ONLY
printer-message-from-operator (text(127)) Any text(127)
color-supported (boolean) From Get-Printer-
Supported-Values
reference-uri-schemes-supported (1setOf From Get-Printer-
uriScheme) Supported-Values
pdl-override-supported (type2 keyword) From Get-Printer-
Supported-Values
printer-up-time (integer(1:MAX)) READ-ONLY
printer-current-time (dateTime) Any dateTime **
multiple-operation-time-out any positive
(integer(1:MAX)) integer
compression-supported (1setOf type3 From Get-Printer-
keyword) Supported-Values
job-k-octets-supported From Get-Printer-
(rangeOfInteger(0:MAX)) Supported-Values
Hastings, et. al. Standards Track [Page 50]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Printer Description Attributes Values allowed for
Set
job-impressions-supported From-Get-Printer-
(rangeOfInteger(0:MAX)) Supported-Values
job-media-sheets-supported From Get-Printer-
(rangeOfInteger(0:MAX)) Supported-Values
pages-per-minute (integer(0:MAX)) READ-ONLY
pages-per-minute-color (integer(0:MAX)) READ-ONLY
printer-settable-attributes-supported From Get-Printer-
(1setOf type2 keyword) Supported-Values
job-settable-attributes-supported (1setOf From Get-Printer-
type2 keyword) Supported-Values
document-format-varying-attributes (1setOf READ-ONLY
type2 keyword)
printer-message-time (integer(MIN:MAX)) READ-ONLY
printer-message-date-time(dateTime) READ-ONLY
** - The "printer-current-time" (dateTime) attribute is settable in
order to allow an administrator to correct an incorrect dateTime or
time zone.
Appendix B: Attributes returned from Get-Printer-Supported-Values
(Normative)
This Appendix is a normative part of this document and lists all the
attributes that are possible for an implementation to return in a
Get-Printer-Supported-Values response, i.e., all the "xxx-supported"
attributes that can be supplied in a Set-Printer-Attributes request.
READ-ONLY attributes MUST NOT be returned in a Get-Printer-
Supported-Values response and are indicated in the tables as "READ-
ONLY - MUST NOT be returned."
For the following attributes, the value allowed by the Set-Printer-
Attributes operation MUST be a single integer value in the range
specified by the value returned by the Get-Printer-Supported-Values
operation.
Hastings, et. al. Standards Track [Page 51]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Table 11 - Printer Job Template Attributes returned from
Get-Printer-Supported-Values
Printer Job Template Attributes Values Returned
job-priority-supported (integer(1:100)) rangeOfInteger(1:100)
For the following attributes, the value allowed by the Set-Printer-
Attributes operation MUST be a single rangeOfInteger value whose
bounds do not exceed those of the range specified by the value
returned by the Get-Printer-Supported-Values operation.
Table 12 - Printer Job Template Attributes returned from
Get-Printer-Supported-Values
Printer Job Template Attributes Values Returned
copies-supported (rangeOfInteger(1:MAX)) rangeOfInteger(1:MAX)
The following table has the same criteria as the last, but is for
Printer Description attributes.
Table 13 - Printer Description Attributes returned from
Get-Printer-Supported-Values
Printer Description Attributes Values allowed for Set
job-k-octets-supported rangeOfInteger(0:MAX)
(rangeOfInteger(0:MAX))
job-impressions-supported
(rangeOfInteger(0:MAX)) rangeOfInteger(0:MAX)
job-media-sheets-supported rangeOfInteger(0:MAX)
(rangeOfInteger(0:MAX))
For the following attributes, the value allowed by the Set-Printer-
Attributes operation MUST be one or more integers and rangeOfInteger
values, such that the integer values described by these integers and
rangeOfInteger is the same as or a subset of the integers described
by the integers and rangeOf Integer of values returned by the Get-
Printer-Supported-Values operation.
Hastings, et. al. Standards Track [Page 52]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Table 14 - Printer Job Template Attributes returned from
Get-Printer-Supported-Values
Printer Job Template Attributes Values Returned
number-up-supported (1setOf (integer(1:MAX) 1setOf
| rangeOfInteger(1:MAX))) (integer(1:MAX) |
rangeOfInteger(1:MA
X))
For the following attributes, the value allowed by the Set-Printer-
Attributes operation MUST be one or more values, where each such
value matches a value returned by the Get-Printer-Supported-Values
operation. A keyword, enum, boolean, charset, naturalLanguage,
uriScheme, mimeMediaType or resolution value matches if it is equal.
For Job Template attributes, with the attribute syntax 'type3 keyword
| name', any 'name' attribute syntax value matches the 'admin-define'
out-of-band value, if the implementation allows the administrator to
set any name values for the attribute.
Table 15 - Printer Job Template Attributes returned from
Get-Printer-Supported-Values
Printer Job Template Attributes Values Returned
job-hold-until-supported (1setOf(type3 1setOf (type3
keyword | name (MAX))) keyword | 'admin-
define')
job-sheets-supported (1setOf(type3 keyword 1setOf (type3
| name(MAX))) keyword | 'admin-
define')
multiple-document-handling-supported 1setOf type2
(1setOf type2 keyword) keyword
finishings-supported (1setOf type2 enum) 1setOf type2 enum
page-ranges-supported (boolean) 1setOf boolean **
sides-supported (1setOf type2 keyword) 1setOf type2
keyword
orientation-requested-supported (1setOf 1setOf type2 enum
type2 enum)
Hastings, et. al. Standards Track [Page 53]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Printer Job Template Attributes Values Returned
media-supported (1setOf (type3 keyword | 1setOf (type3
name(MAX))) keyword | 'admin-
define')
printer-resolution-supported (1setOf 1setOf resolution
resolution)
print-quality-supported (1setOf type2 enum) 1setOf type2 enum
** Note: the Get-Printer-Supported-Values returns a '1setOf boolean'
so that all possible values are indicated, while ** Get-Printer-
Attributes returns only a single 'boolean' value.
The following table has the same criteria as the last, but is for
Printer Description attributes.
Table 16 - Printer Description Attributes returned from
Get-Printer-Supported-Values
Printer Description Attributes Values allowed for
Set
printer-uri-supported (1setOf uri) READ-ONLY - MUST
NOT be returned
uri-authentication-supported (1setOf type2 READ-ONLY - MUST
keyword) NOT be returned
uri-security-supported (1setOf type2 READ-ONLY - MUST
keyword) NOT be returned
printer-xri-supported (1setOf collection) MUST NOT be
returned; see next
three attributes
returned with Get-
Printer-Attributes:
xri-uri-scheme-supported (1setOf uriScheme) READ-ONLY - MUST
NOT be returned
xri-authentication-supported (1setOf type2 READ-ONLY - MUST
keyword) NOT be returned
xri-security-supported (1setOf type2 READ-ONLY - MUST
keyword) NOT be returned
Hastings, et. al. Standards Track [Page 54]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Printer Description Attributes Values allowed for
Set
ipp-versions-supported (1setOf type2 1setOf type2
keyword) keyword
operations-supported (1setOf type2 enum) 1setOf type2
keyword
multiple-document-jobs-supported (boolean) 1setOf boolean **
charset-supported (1setOf charset) 1setOf charset
generated-natural-language-supported 1setOf
(1setOf naturalLanguage) naturalLanguage
document-format-supported (1setOf 1setOf
mimeMediaType) mimeMediaType
color-supported (boolean) 1setOf boolean **
reference-uri-schemes-supported (1setOf 1setOf uriScheme
uriScheme)
pdl-override-supported (type2 keyword) 1setOf type2
keyword **
compression-supported (1setOf type3 1setOf type3
keyword) keyword
printer-settable-attributes-supported 1setOf type2
(1setOf type2 keyword) keyword
job-settable-attributes-supported (1setOf 1setOf type2
type2 keyword) keyword
** Note: the Get-Printer-Supported-Values returns a '1setOf X' so
that all possible values are indicated, while Get-Printer-Attributes
returns only a single 'X' value.
Hastings, et. al. Standards Track [Page 55]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Appendix C: Description of the Base IPP Documents (Informative)
The base set of IPP documents includes:
Design Goals for an Internet Printing Protocol [RFC2567]
Rationale for the Structure and Model and Protocol for the
Internet Printing Protocol [RFC2568]
Internet Printing Protocol/1.1: Model and Semantics [RFC2911]
Internet Printing Protocol/1.1: Encoding and Transport [RFC2910]
Internet Printing Protocol/1.1: Implementer's Guide [RFC3196]
Mapping between LPD and IPP Protocols [RFC2569]
The "Design Goals for an Internet Printing Protocol" document takes a
broad look at distributed printing functionality, and it enumerates
real-life scenarios that help to clarify the features that need to be
included in a printing protocol for the Internet. It identifies
requirements for three types of users: end users, operators, and
administrators. It calls out a subset of end user requirements that
are satisfied in IPP/1.0 [RFC2566, RFC2565]. A few OPTIONAL operator
operations have been added to IPP/1.1 [RFC2911, RFC2910].
The "Rationale for the Structure and Model and Protocol for the
Internet Printing Protocol" document describes IPP from a high level
view, defines a roadmap for the various documents that form the suite
of IPP specification documents, and gives background and rationale
for the IETF IPP working group's major decisions.
The "Internet Printing Protocol/1.1: Model and Semantics" document
describes a simplified model with abstract objects, their attributes,
and their operations. The model introduces a Printer and a Job. The
Job supports multiple documents per Job. The model document also
addresses how security, internationalization, and directory issues
are addressed.
The "Internet Printing Protocol/1.1: Encoding and Transport" document
is a formal mapping of the abstract operations and attributes defined
in the model document onto HTTP/1.1 [RFC2616]. It also defines the
encoding rules for a new Internet MIME media type called
"application/ipp". This document also defines the rules for
transporting over HTTP, a message body whose Content-Type is
"application/ipp". This document defines the 'ipp' scheme for
identifying IPP printers and jobs.
The "Internet Printing Protocol/1.1: Implementer's Guide" document
gives insight and advice to implementers of IPP clients and IPP
objects. It is intended to help them understand IPP/1.1 and some of
the considerations that may assist them in the design of their client
Hastings, et. al. Standards Track [Page 56]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
and/or IPP object implementations. For example, a typical order of
processing requests is given, including error checking. Motivation
for some of the specification decisions are also included.
The "Mapping between LPD and IPP Protocols" document gives some
advice to implementers of gateways between IPP and LPD (Line Printer
Daemon) implementations.
Authors' Addresses
Carl Kugler
IBM
P.O. Box 1900
Boulder, CO 80301-9191
Phone: (303) 924-5060
EMail: kugler@us.ibm.com
Tom Hastings
Xerox Corporation
737 Hawaii St. ESAE 231
El Segundo, CA 90245
Phone: 310-333-6413
Fax: 310-333-5514
EMail: hastings@cp10.es.xerox.com
Robert Herriot
Consultant
706 Colorado Ave
Palo Alto, CA 94303
Phone: 650-327-4466
Fax: 650-327-4466
EMail: bob@Herriot.com
Harry Lewis
IBM
6300 Diagonal Hwy.
Boulder, CO 80301-9191
Phone: (303) 924-5337
EMail: harryl@us.ibm.com
Hastings, et. al. Standards Track [Page 57]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
IPP Web Page: http://www.pwg.org/ipp/
IPP Mailing List: ipp@pwg.org
To subscribe to the ipp mailing list, send the following email:
1) send it to majordomo@pwg.org
2) leave the subject line blank
3) put the following two lines in the message body:
subscribe ipp
end
Implementers of this specification document are encouraged to join
the IPP Mailing List in order to participate in any discussions of
clarification issues and review of registration proposals for
additional attributes and values. In order to reduce spam the
mailing list rejects mail from non-subscribers, so you must subscribe
to the mailing list in order to send a question or comment to the
mailing list.
Hastings, et. al. Standards Track [Page 58]
^L
RFC 3380 IPP: Job and Printer Set Operations September 2002
Full Copyright Statement
Copyright (C) The Internet Society (2002). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Hastings, et. al. Standards Track [Page 59]
^L
|