File: rfc2565.txt

package info (click to toggle)
doc-rfc 20181229-2
  • links: PTS, VCS
  • area: non-free
  • in suites: buster
  • size: 570,944 kB
  • sloc: xml: 285,646; sh: 107; python: 90; perl: 42; makefile: 14
file content (2075 lines) | stat: -rw-r--r-- 80,439 bytes parent folder | download | duplicates (6)
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






Network Working Group                                    R. Herriot, Ed.
Request for Comments: 2565                             Xerox Corporation
Category: Experimental                                         S. Butler
                                                         Hewlett-Packard
                                                                P. Moore
                                                               Microsoft
                                                               R. Turner
                                                              Sharp Labs
                                                              April 1999


         Internet Printing Protocol/1.0: Encoding and Transport

Status of this Memo

   This memo defines an Experimental Protocol for the Internet
   community.  It does not specify an Internet standard of any kind.
   Discussion and suggestions for improvement are requested.
   Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (1999).  All Rights Reserved.

IESG Note

   This document defines an Experimental protocol for the Internet
   community.  The IESG expects that a revised version of this protocol
   will be published as Proposed Standard protocol.  The Proposed
   Standard, when published, is expected to change from the protocol
   defined in this memo.  In particular, it is expected that the
   standards-track version of the protocol will incorporate strong
   authentication and privacy features, and that an "ipp:" URL type will
   be defined which supports those security measures.  Other changes to
   the protocol are also possible.  Implementors are warned that future
   versions of this protocol may not interoperate with the version of
   IPP defined in this document, or if they do interoperate, that some
   protocol features may not be available.

   The IESG encourages experimentation with this protocol, especially in
   combination with Transport Layer Security (TLS) [RFC 2246], to help
   determine how TLS may effectively be used as a security layer for
   IPP.








Herriot, et al.               Experimental                      [Page 1]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


Abstract

   This document is one of a set of documents, which together describe
   all aspects of a new Internet Printing Protocol (IPP). IPP is an
   application level protocol that can be used for distributed printing
   using Internet tools and technologies. This document defines the
   rules for encoding IPP operations and IPP attributes into 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".

   The full 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.0: Model and Semantics [RFC2566]
      Internet Printing Protocol/1.0: Encoding and Transport (this
      document)
      Internet Printing Protocol/1.0: Implementer's Guide [ipp-iig]
      Mapping between LPD and IPP Protocols [RFC2569]

   The document, "Design Goals for an Internet Printing Protocol", 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. Operator and administrator requirements are
   out of scope for version 1.0.

   The document, "Rationale for the Structure and Model and Protocol for
   the Internet Printing Protocol", describes IPP from a high level
   view, defines a roadmap for the various documents that form the suite
   of IPP specifications, and gives background and rationale for the
   IETF working group's major decisions.

   The document, "Internet Printing Protocol/1.0: Model and Semantics",
   describes a simplified model with abstract objects, their attributes,
   and their operations that are independent of encoding and transport.
   It introduces a Printer and a Job object. The Job object optionally
   supports multiple documents per Job. It also addresses security,
   internationalization, and directory issues.

   This document "Internet Printing Protocol/1.0: Implementer's Guide",
   gives advice to implementers of IPP clients and IPP objects.





Herriot, et al.               Experimental                      [Page 2]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   The document "Mapping between LPD and IPP Protocols" gives some
   advice to implementers of gateways between IPP and LPD (Line Printer
   Daemon) implementations.

Table of Contents

   1. Introduction.....................................................4
   2. Conformance Terminology..........................................4
   3. Encoding of  the Operation Layer.................................4
      3.1  Picture of the Encoding.....................................5
      3.2  Syntax of Encoding..........................................7
      3.3  Version-number..............................................9
      3.4  Operation-id................................................9
      3.5  Status-code.................................................9
      3.6  Request-id..................................................9
      3.7  Tags.......................................................10
         3.7.1 Delimiter Tags.........................................10
         3.7.2 Value Tags.............................................11
      3.8  Name-Length................................................13
      3.9  (Attribute) Name...........................................13
      3.10 Value Length...............................................16
      3.11 (Attribute) Value..........................................16
      3.12 Data.......................................................18
   4. Encoding of Transport Layer.....................................18
   5. Security Considerations.........................................19
      5.1  Using IPP with SSL3........................................19
   6. References......................................................20
   7. Authors' Addresses..............................................22
   8. Other Participants:.............................................24
   9. Appendix A: Protocol Examples...................................25
      9.1  Print-Job Request..........................................25
      9.2  Print-Job Response (successful)............................26
      9.3  Print-Job Response (failure)...............................27
      9.4  Print-Job Response (success with attributes ignored).......28
      9.5  Print-URI Request..........................................30
      9.6  Create-Job Request.........................................31
      9.7  Get-Jobs Request...........................................31
      9.8  Get-Jobs Response..........................................32
   10. Appendix C: Registration of MIME Media Type Information for
       "application/ipp"..............................................35
   11. Full Copyright Statement.......................................37










Herriot, et al.               Experimental                      [Page 3]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


1. Introduction

   This document contains the rules for encoding IPP operations and
   describes two layers: the transport layer and the operation layer.

   The transport layer consists of an  HTTP/1.1 request or response. RFC
   2068 [RFC2068] describes HTTP/1.1. This document specifies the HTTP
   headers that an IPP implementation supports.

   The operation layer consists of  a message body in an HTTP request or
   response.  The document "Internet Printing Protocol/1.0: Model and
   Semantics" [RFC2566] defines the semantics of such a message body and
   the supported values. This document specifies the encoding of an IPP
   operation. The aforementioned document [RFC2566] is henceforth
   referred to as the "IPP model document"

2. Conformance Terminology

   The key words "MUST", "MUST NOT", "REQUIRED", "SHOULD", "SHOULD NOT",
   "RECOMMENDED", "MAY", and  "OPTIONAL" in this document are to be
   interpreted as described in RFC 2119 [RFC2119].

3. Encoding of  the Operation Layer

   The operation layer MUST contain a single operation request or
   operation response.  Each request or response consists of a sequence
   of values and attribute groups. Attribute groups consist of a
   sequence of attributes each of which is a name and value.  Names and
   values are ultimately sequences of octets

   The encoding consists of octets as the most primitive type. There are
   several types built from octets, but three important types are
   integers, character strings and octet strings, on which most other
   data types are built. Every character string in this encoding MUST be
   a sequence of characters where the characters are associated with
   some charset and some natural language. A character string MUST be in
   "reading order" with the first character in the value (according to
   reading order) being the first character in the encoding. A character
   string whose associated charset is US-ASCII whose associated natural
   language is US English is henceforth called a US-ASCII-STRING. A
   character string whose associated charset and natural language are
   specified in a request or response as described in the model document
   is henceforth called a LOCALIZED-STRING. An octet string MUST be in
   "IPP model document order" with the first octet in the value
   (according to the IPP model document order) being the first octet in
   the encoding Every integer in this encoding MUST be encoded as a
   signed integer using two's-complement binary encoding with big-endian
   format (also known as "network order" and "most significant byte



Herriot, et al.               Experimental                      [Page 4]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   first"). The number of octets for an integer MUST be 1, 2 or 4,
   depending on usage in the protocol.  Such one-octet integers,
   henceforth called SIGNED-BYTE, are used for the version-number and
   tag fields. Such two-byte integers, henceforth called SIGNED-SHORT
   are used for the operation-id, status-code and length fields. Four
   byte integers, henceforth called SIGNED-INTEGER, are used for values
   fields and the sequence number.

   The following two sections present the operation layer in two ways

      - informally through pictures and description
      - formally through Augmented Backus-Naur Form (ABNF), as specified
        by RFC 2234 [RFC2234]

3.1 Picture of the Encoding

   The encoding for an operation request or response consists of:

  -----------------------------------------------
  |                  version-number             |   2 bytes  - required
  -----------------------------------------------
  |               operation-id (request)        |
  |                      or                     |   2 bytes  - required
  |               status-code (response)        |
  -----------------------------------------------
  |                   request-id                |   4 bytes  - required
  -----------------------------------------------------------
  |               xxx-attributes-tag            |   1 byte  |
  -----------------------------------------------           |-0 or more
  |             xxx-attribute-sequence          |   n bytes |
  -----------------------------------------------------------
  |              end-of-attributes-tag          |   1 byte   - required
  -----------------------------------------------
  |                     data                    |   q bytes  - optional
  -----------------------------------------------

   The xxx-attributes-tag and xxx-attribute-sequence represents four
   different values of "xxx", namely, operation, job, printer and
   unsupported. The xxx-attributes-tag and an xxx-attribute-sequence
   represent attribute groups in the model document. The xxx-
   attributes-tag identifies the attribute group and the xxx-attribute-
   sequence contains the attributes.

   The expected sequence of  xxx-attributes-tag and xxx-attribute-
   sequence is specified in the IPP model document for each operation
   request and operation response.





Herriot, et al.               Experimental                      [Page 5]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   A request or response SHOULD contain each xxx-attributes-tag defined
   for that request or response even if there are no attributes except
   for the unsupported-attributes-tag which SHOULD be present only if
   the unsupported-attribute-sequence is non-empty. A receiver of a
   request MUST be able to process as equivalent empty attribute groups:

     a) an xxx-attributes-tag with an empty xxx-attribute-sequence,
     b) an expected but missing xxx-attributes-tag.

   The data is omitted from some operations, but the end-of-attributes-
   tag is present even when the data is omitted. Note, the xxx-
   attributes-tags and end-of-attributes-tag are called 'delimiter-
   tags'. Note: the xxx-attribute-sequence, shown above may consist of 0
   bytes, according to the rule below.

   An xxx-attributes-sequence consists of zero or more compound-
   attributes.

  -----------------------------------------------
  |              compound-attribute             |   s bytes - 0 or more
  -----------------------------------------------

   A compound-attribute consists of an attribute with a single value
   followed by zero or more additional values.

   Note: a 'compound-attribute' represents a single attribute in the
   model document.  The 'additional value' syntax is for attributes with
   2 or more values.

   Each attribute consists of:

  -----------------------------------------------
  |                   value-tag                 |   1 byte
  -----------------------------------------------
  |               name-length  (value is u)     |   2 bytes
  -----------------------------------------------
  |                     name                    |   u bytes
  -----------------------------------------------
  |              value-length  (value is v)     |   2 bytes
  -----------------------------------------------
  |                     value                   |   v bytes
  -----------------------------------------------









Herriot, et al.               Experimental                      [Page 6]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   An additional value consists of:

  -----------------------------------------------------------
  |                   value-tag                 |   1 byte  |
  -----------------------------------------------           |
  |            name-length  (value is 0x0000)   |   2 bytes |
  -----------------------------------------------           |-0 or more
  |              value-length (value is w)      |   2 bytes |
  -----------------------------------------------           |
  |                     value                   |   w bytes |
  -----------------------------------------------------------

   Note: an additional value is like an attribute whose name-length is 0.

   From the standpoint of a parsing loop, the encoding consists of:

  -----------------------------------------------
  |                  version-number             |   2 bytes  - required
  -----------------------------------------------
  |               operation-id (request)        |
  |                      or                     |   2 bytes  - required
  |               status-code (response)        |
  -----------------------------------------------
  |                   request-id                |   4 bytes  - required
  -----------------------------------------------------------
  |        tag (delimiter-tag or value-tag)     |   1 byte  |
  -----------------------------------------------           |-0 or more
  |           empty or rest of attribute        |   x bytes |
  -----------------------------------------------------------
  |              end-of-attributes-tag          |   2 bytes  - required
  -----------------------------------------------
  |                     data                    |   y bytes  - optional
  -----------------------------------------------

   The value of the tag determines whether the bytes following the
   tag are:

      - attributes
      - data
      - the remainder of a single attribute where the tag specifies the
        type of the value.

3.2 Syntax of Encoding

   The syntax below is ABNF [RFC2234] except 'strings of literals' MUST
   be case sensitive. For example 'a' means lower case  'a' and not
   upper case 'A'.   In addition, SIGNED-BYTE and SIGNED-SHORT fields
   are represented as '%x' values which show their range of values.



Herriot, et al.               Experimental                      [Page 7]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


  ipp-message = ipp-request / ipp-response
  ipp-request = version-number operation-id request-id
           *(xxx-attributes-tag  xxx-attribute-sequence)
           end-of-attributes-tag data
  ipp-response = version-number status-code request-id
           *(xxx-attributes-tag xxx-attribute-sequence)
           end-of-attributes-tag data
  xxx-attribute-sequence = *compound-attribute

  xxx-attributes-tag = operation-attributes-tag / job-attributes-tag /
        printer-attributes-tag / unsupported-attributes-tag

  version-number = major-version-number minor-version-number
  major-version-number = SIGNED-BYTE  ; initially %d1
  minor-version-number = SIGNED-BYTE  ; initially %d0

  operation-id = SIGNED-SHORT    ; mapping from model defined below
  status-code = SIGNED-SHORT  ; mapping from model defined below
  request-id = SIGNED-INTEGER ; whose value is > 0

  compound-attribute = attribute *additional-values
  attribute = value-tag name-length name value-length value
  additional-values = value-tag zero-name-length value-length value

  name-length = SIGNED-SHORT    ; number of octets of 'name'
  name = LALPHA *( LALPHA / DIGIT / "-" / "_" / "." )
  value-length = SIGNED-SHORT  ; number of octets of 'value'
  value = OCTET-STRING

  data = OCTET-STRING

  zero-name-length = %x00.00           ; name-length of 0
  operation-attributes-tag =  %x01             ; tag of 1
  job-attributes-tag   =  %x02                 ; tag of 2
  printer-attributes-tag =  %x04               ; tag of 4
  unsupported-attributes-tag =  %x05          ; tag of 5
  end-of-attributes-tag = %x03                 ; tag of 3
  value-tag = %x10-FF

  SIGNED-BYTE = BYTE
  SIGNED-SHORT = 2BYTE
  SIGNED-INTEGER = 4BYTE
  DIGIT = %x30-39    ;  "0" to "9"
  LALPHA = %x61-7A   ;  "a" to "z"
  BYTE = %x00-FF
  OCTET-STRING = *BYTE





Herriot, et al.               Experimental                      [Page 8]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   The syntax allows an xxx-attributes-tag to be present when the xxx-
   attribute-sequence that follows is empty. The syntax is defined this
   way to allow for the response of Get-Jobs where no attributes are
   returned for some job-objects.  Although it is RECOMMENDED that the
   sender not send an xxx-attributes-tag if there are no attributes
   (except in the Get-Jobs response just mentioned), the receiver MUST
   be able to decode such syntax.

3.3 Version-number

   The version-number MUST consist of a major and minor version-number,
   each of which MUST be represented by a SIGNED-BYTE. The protocol
   described in this document MUST have a major version-number of 1
   (0x01) and a minor version-number of  0 (0x00).  The ABNF for these
   two bytes MUST be %x01.00.

3.4 Operation-id

   Operation-ids are defined as enums in the model document. An
   operation-ids enum value MUST be encoded as a SIGNED-SHORT.

   Note: the values 0x4000 to 0xFFFF are reserved for private
   extensions.

3.5 Status-code

   Status-codes are defined as enums in the model document. A status-
   code enum value MUST be encoded as a SIGNED-SHORT.

   The status-code is an operation attribute in the model document. In
   the protocol, the status-code is in a special position, outside of
   the operation attributes.

   If an IPP status-code is returned, then the HTTP Status-Code MUST be
   200 (successful-ok).  With any other HTTP Status-Code value, the HTTP
   response MUST NOT contain an IPP message-body, and thus no IPP
   status-code is returned.

3.6 Request-id

   The request-id allows a client to match a response with a request.
   This mechanism is unnecessary in HTTP, but may be useful when
   application/ipp entity bodies are used in another context.

   The request-id in a response MUST be the value of the request-id
   received in the corresponding request.  A client can set the
   request-id in each request to a unique value or a constant value,
   such as 1, depending on what the client does with the request-id



Herriot, et al.               Experimental                      [Page 9]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   returned in the response. The value of the request-id MUST be greater
   than zero.

3.7 Tags

   There are two kinds of tags:

      - delimiter tags: delimit major sections of the protocol, namely
        attributes and data
      - value tags: specify the type of each attribute value

3.7.1 Delimiter Tags

   The following table specifies the values for the delimiter tags:

      Tag Value (Hex)   Delimiter

      0x00              reserved
      0x01              operation-attributes-tag
      0x02              job-attributes-tag
      0x03              end-of-attributes-tag
      0x04              printer-attributes-tag
      0x05              unsupported-attributes-tag
      0x06-0x0e         reserved for future delimiters
      0x0F              reserved for future chunking-end-of-attributes-
                         tag

   When an xxx-attributes-tag occurs in the protocol, it MUST mean that
   zero or more following attributes up to the next delimiter tag are
   attributes belonging to group xxx as defined in the model document,
   where xxx is operation, job, printer, unsupported.

   Doing substitution for xxx in the above paragraph, this means the
   following. When an operation-attributes-tag occurs in the protocol,
   it MUST mean that the zero or more following attributes up to the
   next delimiter tag are operation attributes as defined in the model
   document.  When an job-attributes-tag occurs in the protocol, it MUST
   mean that the zero or more following attributes up to the next
   delimiter tag are job attributes or job template attributes as
   defined in the model document.  When a printer-attributes-tag occurs
   in the protocol, it MUST mean that the zero or more following
   attributes up to the next delimiter tag are printer attributes as
   defined in the model document. When an unsupported-attributes-tag
   occurs in the protocol, it MUST mean that the zero or more following
   attributes up to the next delimiter tag are unsupported attributes as
   defined in the model document.





Herriot, et al.               Experimental                     [Page 10]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   The operation-attributes-tag and end-of-attributes-tag MUST each
   occur exactly once in an operation. The operation-attributes-tag MUST
   be the first tag delimiter, and the end-of-attributes-tag MUST be the
   last tag delimiter. If the operation has a document-content group,
   the document data in that group MUST follow the end-of-attributes-
   tag.

   Each of the  other three  xxx-attributes-tags defined above is
   OPTIONAL in an operation and each MUST occur at most once in an
   operation, except for job-attributes-tag in a Get-Jobs response which
   may occur zero or more times.

   The order and presence of delimiter tags for each operation request
   and each operation response MUST be that defined in the model
   document. For further details, see section 3.9 "(Attribute) Name" and
   section 9 "Appendix A: Protocol Examples".

   A Printer MUST treat the reserved delimiter tags differently from
   reserved value tags so that the Printer knows that there is an entire
   attribute group that it doesn't understand as opposed to a single
   value that it doesn't understand.

3.7.2 Value Tags

   The remaining tables show values for the value-tag, which is the
   first octet of  an attribute. The value-tag specifies the type of the
   value of the attribute. The following table specifies the "out-of-
   band" values for the value-tag.

      Tag Value (Hex) Meaning

      0x10            unsupported
      0x11            reserved for future 'default'
      0x12            unknown
      0x13            no-value

      Tag Value (Hex) Meaning

      0x14-0x1F       reserved for future "out-of-band" values.

   The "unsupported" value MUST be used in the attribute-sequence of an
   error response for those attributes which the printer does not
   support.  The "default" value is reserved for future use of setting
   value back to their default value. The "unknown" value is used for
   the value of a supported attribute when its value is temporarily
   unknown.  The "no-value" value is used for a supported attribute to
   which




Herriot, et al.               Experimental                     [Page 11]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   no value has been assigned, e.g. "job-k-octets-supported" has no
   value if an implementation supports this attribute, but an
   administrator has not configured the printer to have a limit.

   The following table specifies the integer values for the value-tag:

      Tag Value (Hex)  Meaning

      0x20             reserved
      0x21             integer
      0x22             boolean
      0x23             enum
      0x24-0x2F        reserved for future integer types

   NOTE: 0x20 is reserved for "generic integer" if it should ever be
   needed.

   The following table specifies the octetString values for the value-
   tag:

      Tag Value (Hex)  Meaning

      0x30             octetString with an  unspecified format
      0x31             dateTime
      0x32             resolution
      0x33             rangeOfInteger
      0x34             reserved for collection (in the future)
      0x35             textWithLanguage
      0x36             nameWithLanguage
      0x37-0x3F        reserved for future octetString types

   The following table specifies the character-string values for the
   value-tag:

      Tag Value (Hex)  Meaning

      0x40             reserved
      0x41             textWithoutLanguage
      0x42             nameWithoutLanguage
      0x43             reserved
      0x44             keyword
      0x45             uri
      0x46             uriScheme
      0x47             charset
      0x48             naturalLanguage






Herriot, et al.               Experimental                     [Page 12]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


      Tag Value (Hex)  Meaning

      0x49             mimeMediaType
      0x4A-0x5F        reserved for future character string types

   NOTE: 0x40 is reserved for "generic character-string" if it should
   ever be needed.

   NOTE:  an attribute value always has a type, which is explicitly
   specified by its tag; one such tag value is "nameWithoutLanguage".
   An attribute's name has an implicit type, which is keyword.

   The values 0x60-0xFF are reserved for future types. There are no
   values allocated for private extensions. A new type MUST be
   registered via the type 2 registration process [RFC2566].

   The tag 0x7F is reserved for extending types beyond the 255 values
   available with a single byte. A tag value of 0x7F MUST signify that
   the first 4 bytes of the value field are interpreted as the tag
   value.  Note, this future extension doesn't affect parsers that  are
   unaware of this special tag. The tag is like any other unknown tag,
   and the value length specifies the length of a value which contains a
   value that the parser treats atomically.  All these 4 byte tag values
   are currently unallocated except that the values 0x40000000-
   0x7FFFFFFF are reserved for experimental use.

3.8 Name-Length

   The name-length field MUST consist of a SIGNED-SHORT. This field MUST
   specify the number of octets in the name field which follows the
   name-length field, excluding the two bytes of the name-length field.

   If a name-length field has a value of zero, the following name field
   MUST be empty, and the following value MUST be treated as an
   additional value for the preceding attribute. Within an attribute-
   sequence, if two attributes have the same name, the first occurrence
   MUST be ignored. The zero-length name is the only mechanism for
   multi-valued attributes.

3.9 (Attribute) Name

   Some operation elements are called parameters in the model document
   [RFC2566]. They MUST be encoded in a special position and they MUST
   NOT appear as an operation attributes.  These parameters are:

      - "version-number": The parameter  named "version-number" in the
        IPP model document MUST become the "version-number" field in the
        operation layer request or response.



Herriot, et al.               Experimental                     [Page 13]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


      - "operation-id": The parameter named "operation-id" in the IPP
        model document MUST become the "operation-id" field in the
        operation layer request.
      - "status-code": The parameter named "status-code" in the IPP
        model document MUST become the "status-code" field in the
        operation layer response.
      - "request-id": The parameter named "request-id" in the IPP model
        document MUST become the "request-id" field in the operation
        layer request or response.

   All Printer and Job objects are identified by a Uniform Resource
   Identifier (URI) [RFC2396] so that they can be persistently and
   unambiguously referenced.  The notion of a URI is a useful concept,
   however, until the notion of URI is more stable (i.e.,  defined more
   completely and deployed more widely), it is expected that the URIs
   used for IPP objects will actually be URLs [RFC1738]  [RFC1808].
   Since every URL is a specialized form of a URI, even though the more
   generic term URI is used throughout the rest of this document, its
   usage is intended to cover the more specific notion of URL as well.

   Some operation elements are encoded twice, once as the request-URI on
   the HTTP Request-Line and a second time as a REQUIRED operation
   attribute in the application/ipp entity.  These attributes are the
   target URI for the operation:

      - "printer-uri": When the target is a printer and the transport is
        HTTP or HTTPS (for SSL3 [ssl]), the target printer-uri defined
        in each operation in the IPP model document MUST be an operation
        attribute called "printer-uri" and it MUST also be specified
        outside of  the operation layer as the request-URI on the
        Request-Line at the HTTP level.
      - "job-uri": When the target is a job and the transport is HTTP or
        HTTPS (for SSL3), the target job-uri of each operation in the
        IPP model document MUST be an operation attribute called "job-
        uri" and it MUST also be specified outside of  the operation
        layer as the request-URI on the Request-Line at the HTTP level.

   Note: The target URI is included twice in an operation referencing
   the same IPP object, but the two URIs NEED NOT be literally
   identical. One can be a relative URI and the other can be an absolute
   URI.  HTTP/1.1 allows clients to generate and send a relative URI
   rather than an absolute URI.  A relative URI identifies a resource
   with the scope of the HTTP server, but does not include scheme, host
   or port.  The following statements characterize how URLs should be
   used in the mapping of IPP onto HTTP/1.1:






Herriot, et al.               Experimental                     [Page 14]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


      1. Although potentially redundant, a client MUST supply the target
         of the operation both as an operation attribute and as a URI at
         the HTTP layer.  The rationale for this decision is to maintain
         a consistent set of rules for mapping application/ipp to
         possibly many communication layers, even where URLs are not
         used as the addressing mechanism in the transport layer.
      2. Even though these two URLs might not be literally identical
         (one being relative and the other being absolute), they MUST
         both reference the same IPP object.
      3. The URI in the HTTP layer is either relative or absolute and is
         used by the HTTP server to route the HTTP request to the
         correct resource relative to that HTTP server.  The HTTP server
         need not be aware of the URI within the operation request.
      4. Once the HTTP server resource begins to process the HTTP
         request, it might get the reference to the appropriate IPP
         Printer object from either the HTTP URI (using to the context
         of the HTTP server for relative URLs) or from the URI within
         the operation request; the choice is up to the implementation.
      5. HTTP URIs can be relative or absolute, but the target URI in
         the operation MUST be an absolute URI.

   The model document arranges the remaining attributes into groups for
   each operation request and response. Each such group MUST be
   represented in the protocol by an xxx-attribute-sequence preceded by
   the appropriate xxx-attributes-tag (See the table below and section 9
   "Appendix A:  Protocol Examples"). In addition, the order of these
   xxx-attributes-tags and xxx-attribute-sequences in the protocol MUST
   be the same as in the model document, but the order of attributes
   within each xxx-attribute-sequence MUST be unspecified. The table
   below maps the model document group name to xxx-attributes-sequence:

   Model Document Group           xxx-attributes-sequence

   Operation Attributes           operations-attributes-sequence
   Job Template Attributes        job-attributes-sequence
   Job Object Attributes          job-attributes-sequence
   Unsupported Attributes         unsupported-attributes-sequence
   Requested Attributes           job-attributes-sequence
   Get-Job-Attributes)
   Requested Attributes           printer-attributes-sequence
   Get-Printer-Attributes)
   Document Content               in a special position as described
                                  above

   If an operation contains attributes from more than one job object
   (e.g.  Get-Jobs response), the attributes from each job object MUST
   be in a separate job-attribute-sequence, such that the attributes




Herriot, et al.               Experimental                     [Page 15]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   from the ith job object are in the ith job-attribute-sequence. See
   Section 9 "Appendix A: Protocol Examples" for table showing the
   application of the rules above.

3.10 Value Length

   Each attribute value MUST be preceded by a SIGNED-SHORT, which MUST
   specify the number of octets in the value which follows this length,
   exclusive of the two bytes specifying the length.

   For any of the types represented by binary signed integers, the
   sender MUST encode the value in exactly four octets.

   For any of the types represented by character-strings, the sender
   MUST encode the value with all the characters of the string and
   without any padding characters.

   If a value-tag contains an "out-of-band" value, such as
   "unsupported", the value-length MUST be 0 and the value empty. The
   value has no meaning when the value-tag has an "out-of-band" value.
   If a client receives a response with a nonzero value-length in this
   case, it MUST ignore the value field. If a printer receives a request
   with a nonzero value-length in this case, it MUST reject the request.

3.11 (Attribute) Value

   The syntax types and most of the details of their representation are
   defined in the IPP model document. The table below augments the
   information in the model document, and defines the syntax types from
   the model document in terms of the 5 basic types defined in section 3
   "Encoding of the Operation Layer". The 5 types are US-ASCII-STRING,
   LOCALIZED-STRING, SIGNED-INTEGER, SIGNED-SHORT, SIGNED-BYTE, and
   OCTET-STRING.

Syntax of Attribute  Encoding
Value

textWithoutLanguage, LOCALIZED-STRING.
nameWithoutLanguage

textWithLanguage     OCTET_STRING consisting of 4 fields:
                       a) a SIGNED-SHORT which is the number of octets
                          in the following field
                       b) a value of type natural-language,
                       c) a SIGNED-SHORT which is the number of octets
                          in the following field,
                       d) a value of type textWithoutLanguage.




Herriot, et al.               Experimental                     [Page 16]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


                      The length of a textWithLanguage value MUST be 4
                      + the value of field a + the value of field c.

nameWithLanguage     OCTET_STRING consisting of 4 fields:
                       a) a SIGNED-SHORT which is the number of octets
                          in the following field
                       b) a value of type natural-language,
                       c) a SIGNED-SHORT which is the number of octets
                          in the following field
                       d) a value of type nameWithoutLanguage.

                      The length of a nameWithLanguage value MUST be 4
                      + the value of field a + the value of field c.

charset,             US-ASCII-STRING.
naturalLanguage,
mimeMediaType,
keyword, uri, and
uriScheme

boolean              SIGNED-BYTE  where 0x00 is 'false' and 0x01 is
                      'true'.

Syntax of Attribute  Encoding
Value


integer and enum     a SIGNED-INTEGER.

dateTime             OCTET-STRING consisting of eleven octets whose
                      contents are defined by "DateAndTime" in RFC
                      2579 [RFC2579].

resolution           OCTET_STRING consisting of nine octets of  2
                      SIGNED-INTEGERs followed by a SIGNED-BYTE. The
                      first SIGNED-INTEGER contains the value of cross
                      feed direction resolution. The second SIGNED-
                      INTEGER contains the value of feed direction
                      resolution. The SIGNED-BYTE contains the units
                      value.

rangeOfInteger       Eight octets consisting of 2 SIGNED-INTEGERs.
                      The first SIGNED-INTEGER contains the lower
                      bound and the second SIGNED-INTEGER contains the
                      upper  bound.






Herriot, et al.               Experimental                     [Page 17]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


1setOf  X            Encoding according to the rules for an attribute
                      with more than 1 value.  Each value X is encoded
                      according to the rules for encoding its type.

octetString          OCTET-STRING

   The type of the value in the model document determines the encoding
   in the value and the value of the value-tag.

3.12 Data

   The data part MUST include any data required by the operation

4. Encoding of Transport Layer

   HTTP/1.1 [RFC2068] is the transport layer for this protocol.

   The operation layer has been designed with the assumption that the
   transport layer contains the following information:

      - the URI of the target job or printer operation
      - the total length of the data in the operation layer, either as a
        single length or as a sequence of chunks each with a length.

   It is REQUIRED that a printer implementation support HTTP over the
   IANA assigned Well Known Port 631 (the IPP default port), though a
   printer implementation may support HTTP over some other port as well.
   In addition, a printer may have to support another port for privacy
   (See Section 5 "Security Considerations").

   Note: even though port 631 is the IPP default, port 80 remains the
   default for an HTTP URI.  Thus a URI for a printer using port 631
   MUST contain an explicit port, e.g. "http://forest:631/pinetree".  An
   HTTP URI for IPP with no explicit port implicitly reference port 80,
   which is consistent with the rules for HTTP/1.1. Each HTTP operation
   MUST use the POST method where the request-URI is the object target
   of the operation, and where the "Content-Type" of the message-body in
   each request and response MUST be "application/ipp". The message-body
   MUST contain the operation layer and MUST have the syntax described
   in section 3.2 "Syntax of Encoding". A client implementation MUST
   adhere to the rules for a client described for HTTP1.1 [RFC2068]. A
   printer (server) implementation MUST adhere the rules for an origin
   server described for HTTP1.1 [RFC2068].

   An IPP server sends a response for each request that it receives.  If
   an IPP server detects an error, it MAY send a response before it has
   read the entire request.  If the HTTP layer of the IPP server
   completes processing the HTTP headers successfully, it MAY send an



Herriot, et al.               Experimental                     [Page 18]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   intermediate response, such as "100 Continue", with no IPP data
   before sending the IPP response.  A client MUST expect such a variety
   of responses from an IPP server. For further information on HTTP/1.1,
   consult the HTTP documents [RFC2068].

5. Security Considerations

   The IPP Model document defines an IPP implementation with "privacy"
   as one that implements Secure Socket Layer Version 3 (SSL3).  Note:
   SSL3 is not an IETF standards track specification. SSL3 meets the
   requirements for IPP security with regards to features such as mutual
   authentication and privacy (via encryption). The IPP Model document
   also outlines IPP-specific security considerations and should be the
   primary reference for security implications with regards to the IPP
   protocol itself.

   The IPP Model document defines an IPP implementation with
   "authentication" as one that implements the standard way for
   transporting IPP messages within HTTP 1.1. These include the security
   considerations outlined in the HTTP 1.1 standard document [RFC2068]
   and Digest Access Authentication extension [RFC2069].

   The current HTTP infrastructure supports HTTP over TCP port 80. IPP
   server implementations MUST offer IPP services using HTTP over the
   IANA assigned Well Known Port 631 (the IPP default port). IPP server
   implementations may support other ports, in addition to this port.

   See further discussion of IPP security concepts in the model document
   [RFC2566].

5.1 Using IPP with SSL3

   An assumption is that the URI for a secure IPP Printer object has
   been found by means outside the IPP printing protocol, via a
   directory service, web site or other means.

   IPP provides a transparent connection to SSL by calling the
   corresponding URL (a https URI connects by default to port 443).
   However, the following functions can be provided to ease the
   integration of IPP with SSL during implementation:

      connect (URI), returns a status

         "connect" makes an https call and returns the immediate status
         of the connection as returned by SSL to the user. The status
         values are explained in section 5.4.2 of the SSL document
         [ssl].




Herriot, et al.               Experimental                     [Page 19]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


         A session-id may also be retained to later resume a session.
         The SSL handshake protocol may also require the cipher
         specifications supported by the client, key length of the
         ciphers, compression methods, certificates, etc. These should
         be sent to the server and hence should be available to the IPP
         client (although as part of administration features).

      disconnect (session)

         to disconnect a particular session.

         The session-id available from the "connect" could be used.

      resume (session)

         to reconnect using a previous session-id.

   The availability of this information as administration features are
   left for implementers, and need not be specified at this time.

6. References

   [RFC2278] Freed, N. and J. Postel, "IANA Charset Registration
             Procedures", BCP 19, RFC 2278, January 1998.

   [dpa]     ISO/IEC 10175 Document Printing Application (DPA), June
             1996.

   [iana]    IANA Registry of Coded Character Sets:
             ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets.

   [ipp-iig] Hastings, Tom, et al., "Internet Printing Protocol/1.0:
             Implementer's Guide", Work in Progress.

   [RFC2569] Herriot, R., Hastings, T., Jacobs, N. and J. Martin,
             "Mapping between LPD and IPP Protocols", RFC 2569, 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.

   [RFC2565] Herriot, R., Butler, S., Moore, P., Tuner, R., "Internet
             Printing Protocol/1.0: Encoding and Transport", RFC 2565,
             April 1999.






Herriot, et al.               Experimental                     [Page 20]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   [RFC2568] Zilles, S., "Rationale for the Structure and Model and
             Protocol for the Internet Printing Protocol", RFC 2568,
             April 1999.

   [RFC2567] Wright, D., "Design Goals for an Internet Printing
             Protocol", RFC 2567, April 1999.

   [RFC822]  Crocker, D., "Standard for the Format of ARPA Internet Text
             Messages", STD 11, RFC 822, August 1982.

   [RFC1123] Braden, R., "Requirements for Internet Hosts - Application
             and Support", STD 3, RFC 1123, October 1989.

   [RFC1179] McLaughlin, L. III, (editor), "Line Printer Daemon
             Protocol" RFC 1179, August 1990.

   [RFC2223] Postel, J. and J. Reynolds, "Instructions to RFC Authors",
             RFC 2223, October 1997.

   [RFC1738] Berners-Lee, T., Masinter, L. and M. McCahill, "Uniform
             Resource Locators (URL)", RFC 1738, December 1994.

   [RFC1759] Smith, R., Wright, F., Hastings, T., Zilles, S. and J.
             Gyllenskog, "Printer MIB", RFC 1759, March 1995.

   [RFC1766] Alvestrand, H., " Tags for the Identification of
             Languages", RFC 1766, March 1995.

   [RFC1808] Fielding, R., "Relative Uniform Resource Locators", RFC
             1808, June 1995.

   [RFC2579] McCloghrie, K., Perkins, D. and J. Schoenwaelder, "Textual
             Conventions for SMIv2", STD 58, RFC 2579, April 1999.

   [RFC2046] Freed, N. and N. Borenstein, Multipurpose Internet Mail
             Extensions (MIME) Part Two: Media Types", RFC 2046,
             November 1996.

   [RFC2048] Freed, N., Klensin J. and J. Postel.  Multipurpose Internet
             Mail Extension (MIME) Part Four: Registration Procedures",
             BCP 13, RFC 2048, November 1996.

   [RFC2068] Fielding, R., Gettys, J., Mogul, J., Frystyk, H. and T.
             Berners-Lee, "Hypertext Transfer Protocol -- HTTP/1.1", RFC
             2068, January 1997.






Herriot, et al.               Experimental                     [Page 21]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   [RFC2069] Franks, J., Hallam-Baker, P., Hostetler, J., Leach, P.,
             Luotonen, A., Sink, E. and L. Stewart, "An Extension to
             HTTP: Digest Access Authentication", RFC 2069, January
             1997.

   [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
             Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC2184] Freed, N. and K. Moore, "MIME Parameter Value and Encoded
             Word Extensions: Character Sets, Languages, and
             Continuations", RFC 2184, August 1997.

   [RFC2234] Crocker, D. and P. Overell, "Augmented BNF for Syntax
             Specifications: ABNF", RFC 2234. November 1997.

   [RFC2396] Berners-Lee, T., Fielding, R. and L. Masinter, "Uniform
             Resource Identifiers (URI): Generic Syntax", RFC 2396,
             August 1998.

7. Authors' Addresses

   Robert Herriot (Editor)
   Xerox Corporation
   3400 Hillview Ave., Bldg #1
   Palo Alto, CA 94304

   Phone: 650-813-7696
   Fax:  650-813-6860
   EMail: rherriot@pahv.xerox.com


   Sylvan Butler
   Hewlett-Packard
   11311 Chinden Blvd.
   Boise, ID 83714

   Phone: 208-396-6000
   Fax: 208-396-3457
   EMail: sbutler@boi.hp.com












Herriot, et al.               Experimental                     [Page 22]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   Paul Moore
   Microsoft
   One Microsoft Way
   Redmond, WA 98053

   Phone: 425-936-0908
   Fax: 425-93MS-FAX
   EMail: paulmo@microsoft.com


   Randy Turner
   Sharp Laboratories
   5750 NW Pacific Rim Blvd
   Camas, WA 98607

   Phone: 360-817-8456
   Fax: 360-817-8436
   EMail: rturner@sharplabs.com


   IPP Mailing List:  ipp@pwg.org
   IPP Mailing List Subscription:  ipp-request@pwg.org
   IPP Web Page:  http://www.pwg.org/ipp/




























Herriot, et al.               Experimental                     [Page 23]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


8. Other Participants:

   Chuck Adams - Tektronix          Harry Lewis - IBM
   Ron Bergman - Dataproducts       Tony Liao - Vivid Image
   Keith Carter - IBM               David Manchala - Xerox
   Angelo Caruso - Xerox            Carl-Uno Manros - Xerox
   Jeff Copeland - QMS              Jay Martin - Underscore
   Roger deBry - IBM                Larry Masinter - Xerox
   Lee Farrell - Canon              Ira McDonald - High North Inc.
   Sue Gleeson - Digital            Bob Pentecost - Hewlett-Packard
   Charles Gordon - Osicom          Patrick Powell - Astart
                                    Technologies
   Brian Grimshaw - Apple           Jeff Rackowitz - Intermec
   Jerry Hadsell - IBM              Xavier Riley - Xerox
   Richard Hart - Digital           Gary Roberts - Ricoh
   Tom Hastings - Xerox             Stuart Rowley - Kyocera
   Stephen Holmstead                Richard Schneider - Epson
   Zhi-Hong Huang - Zenographics    Shigern Ueda - Canon
   Scott Isaacson - Novell          Bob Von Andel - Allegro Software
   Rich Lomicka - Digital           William Wagner - Digital Products
   David Kellerman - Northlake      Jasper Wong - Xionics
   Software
   Robert Kline - TrueSpectra       Don Wright - Lexmark
   Dave Kuntz - Hewlett-Packard     Rick Yardumian - Xerox
   Takami Kurono - Brother          Lloyd Young - Lexmark
   Rich Landau - Digital            Peter Zehler - Xerox
   Greg LeClair - Epson             Frank Zhao - Panasonic
                                    Steve Zilles - Adobe























Herriot, et al.               Experimental                     [Page 24]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


9. Appendix A: Protocol Examples

9.1 Print-Job Request

   The following is an example of a Print-Job request with job-name,
   copies, and sides specified. The "ipp-attribute-fidelity" attribute
   is set to 'true' so that the print request will fail if the "copies"
   or the "sides" attribute are not supported or their values are not
   supported.

 Octets          Symbolic Value                Protocol field

 0x0100          1.0                           version-number
 0x0002          Print-Job                     operation-id
 0x00000001      1                             request-id
 0x01            start operation-attributes    operation-attributes-tag
 0x47            charset type                  value-tag
 0x0012                                        name-length
 attributes-     attributes-charset            name
 charset
 0x0008                                        value-length
 us-ascii        US-ASCII                      value
 0x48            natural-language type         value-tag
 0x001B                                        name-length
 attributes-     attributes-natural-language   name
 natural-
 language
 0x0005                                        value-length
 en-us           en-US                         value
 0x45            uri type                      value-tag
 0x000B                                        name-length
 printer-uri     printer-uri                   name
 0x001A                                        value-length
 http://forest:  printer pinetree              value
 631/pinetree
 0x42            nameWithoutLanguage type      value-tag
 0x0008                                        name-length
 job-name        job-name                      name
 0x0006                                        value-length
 foobar          foobar                        value
 0x22            boolean type                  value-tag
 0x16                                          name-length
 ipp-attribute-  ipp-attribute-fidelity        name
 fidelity
 0x01                                          value-length
 0x01            true                          value
 0x02            start job-attributes          job-attributes-tag
 0x21            integer type                  value-tag



Herriot, et al.               Experimental                     [Page 25]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


 0x0006                                        name-length
 copies          copies                        name
 0x0004                                        value-length
 0x00000014      20                            value
 0x44            keyword type                  value-tag
 0x0005                                        name-length
 sides           sides                         name
 0x0013                                        value-length
 two-sided-      two-sided-long-edge           value
 long-edge
 0x03            end-of-attributes             end-of-attributes-tag
 %!PS...         <PostScript>                  data

9.2 Print-Job Response (successful)

   Here is an example of a successful Print-Job response to the previous
   Print-Job request.  The printer supported the "copies" and "sides"
   attributes and their supplied values.  The status code returned is '
   successful-ok'.

 Octets            Symbolic Value              Protocol field

 0x0100            1.0                         version-number
 0x0000            successful-ok               status-code
 0x00000001        1                           request-id
 0x01              start operation-attributes  operation-attributes-tag
 0x47              charset type                value-tag
 0x0012                                        name-length
 attributes-       attributes-charset          name
 charset
 0x0008                                        value-length
 us-ascii          US-ASCII                    value
 0x48              natural-language type       value-tag
 0x001B                                        name-length
 attributes-       attributes-natural-         name
 natural-language  language
 0x0005                                        value-length
 en-us             en-US                       value
 0x41              textWithoutLanguage type    value-tag
 0x000E                                        name-length
 status-message    status-message              name
 0x000D                                        value-length
 successful-ok     successful-ok               value
 0x02              start job-attributes        job-attributes-tag
 0x21              integer                     value-tag
 0x0006                                        name-length





Herriot, et al.               Experimental                     [Page 26]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


 Octets            Symbolic Value              Protocol field

 job-id            job-id                      name
 0x0004                                        value-length
 147               147                         value
 0x45              uri type                    value-tag
 0x0007                                        name-length
 job-uri           job-uri                     name
 0x001E                                        value-length
 http://forest:63  job 123 on pinetree         value
 1/pinetree/123
 0x42              nameWithoutLanguage type    value-tag
 0x0009                                        name-length
 job-state         job-state                   name
 0x0004                                        value-length
 0x0003            pending                     value
 0x03              end-of-attributes           end-of-attributes-tag

9.3 Print-Job Response (failure)

   Here is an example of an unsuccessful Print-Job response to the
   previous Print-Job request. It fails because, in this case, the
   printer does not support the "sides" attribute and because the value
   '20' for the "copies" attribute is not supported. Therefore, no job
   is created, and neither a "job-id" nor a "job-uri" operation
   attribute is returned. The error code returned is 'client-error-
   attributes-or-values-not-supported' (0x040B).

 Octets        Symbolic Value                Protocol field

 0x0100        1.0                           version-number
 0x040B        client-error-attributes-or-   status-code
               values-not-supported
 0x00000001    1                             request-id
 0x01          start operation-attributes    operation-attribute tag
 0x47          charset type                  value-tag
 0x0012                                      name-length
 attributes-   attributes-charset            name
 charset
 0x0008                                      value-length
 us-ascii      US-ASCII                      value
 0x48          natural-language type         value-tag
 0x001B                                      name-length
 attributes-   attributes-natural-language   name
 natural-
 language
 0x0005                                      value-length




Herriot, et al.               Experimental                     [Page 27]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


 Octets            Symbolic Value              Protocol field

 en-us         en-US                         value
 0x41          textWithoutLanguage type      value-tag
 0x000E                                      name-length
 status-       status-message                name
 message
 0x002F                                      value-length
 client-error- client-error-attributes-or-   value
 attributes-   values-not-supported
 or-values-
 not-supported
 0x05          start unsupported-attributes  unsupported-attributes tag
 0x21          integer type                  value-tag
 0x0006                                      name-length
 copies        copies                        name
 0x0004                                      value-length
 0x00000014    20                            value
 0x10          unsupported  (type)           value-tag
 0x0005                                      name-length
 sides         sides                         name
 0x0000                                      value-length
 0x03          end-of-attributes             end-of-attributes-tag

9.4 Print-Job Response (success with attributes ignored)

   Here is an example of a successful Print-Job response to a Print-Job
   request like the previous Print-Job request, except that the value of
   'ipp-attribute-fidelity' is false. The print request succeeds, even
   though, in this case, the printer supports neither the "sides"
   attribute nor the value '20' for the "copies" attribute. Therefore, a
   job is created, and both a "job-id" and a "job-uri" operation
   attribute are returned. The unsupported attributes are also returned
   in an Unsupported Attributes Group. The error code returned is '
   successful-ok-ignored-or-substituted-attributes' (0x0001).

 Octets            Symbolic Value              Protocol field

 0x0100            1.0                         version-number
 0x0001            successful-ok-ignored-or-   status-code
                   substituted-attributes
 0x00000001        1                           request-id
 0x01              start operation-attributes  operation-attributes-tag
 0x47              charset type                value-tag
 0x0012                                        name-length
 attributes-       attributes-charset          name
 charset
 0x0008                                        value-length



Herriot, et al.               Experimental                     [Page 28]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


 Octets            Symbolic Value              Protocol field

 us-ascii          US-ASCII                    value
 0x48              natural-language type       value-tag
 0x001B                                        name-length
 attributes-       attributes-natural-         name
 natural-language  language
 0x0005                                        value-length
 en-us             en-US                       value
 0x41              textWithoutLanguage type    value-tag
 0x000E                                        name-length
 status-message    status-message              name
 0x002F                                        value-length
 successful-ok-    successful-ok-ignored-or-   value
 ignored-or-       substituted-attributes
 substituted-
 attributes
 0x05              start unsupported-          unsupported-attributes
                   attributes                  tag
 0x21              integer type                value-tag
 0x0006                                        name-length
 copies            copies                      name
 0x0004                                        value-length
 0x00000014        20                          value
 0x10              unsupported  (type)         value-tag
 0x0005                                        name-length
 sides             sides                       name
 0x0000                                        value-length
 0x02              start job-attributes        job-attributes-tag
 0x21              integer                     value-tag
 0x0006                                        name-length
 job-id            job-id                      name
 0x0004                                        value-length
 147               147                         value
 0x45              uri type                    value-tag
 0x0007                                        name-length
 job-uri           job-uri                     name
 0x001E                                        value-length
 http://forest:63  job 123 on pinetree         value
 1/pinetree/123
 0x42              nameWithoutLanguage type    value-tag
 0x0009                                        name-length
 job-state         job-state                   name
 0x0004                                        value-length
 0x0003            pending                     value
 0x03              end-of-attributes           end-of-attributes-tag





Herriot, et al.               Experimental                     [Page 29]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


9.5 Print-URI Request

   The following is an example of Print-URI request with copies and
   job-name parameters:

 Octets         Symbolic Value               Protocol field

 0x0100         1.0                          version-number

 Octets         Symbolic Value               Protocol field
 0x0003         Print-URI                    operation-id
 0x00000001     1                            request-id
 0x01           start operation-attributes   operation-attributes-tag
 0x47           charset type                 value-tag
 0x0012                                      name-length
 attributes-    attributes-charset           name
 charset
 0x0008                                      value-length
 us-ascii       US-ASCII                     value
 0x48           natural-language type        value-tag
 0x001B                                      name-length
 attributes-    attributes-natural-language  name
 natural-
 language
 0x0005                                      value-length
 en-us          en-US                        value
 0x45           uri type                     value-tag
 0x000B                                      name-length
 printer-uri    printer-uri                  name
 0x001A                                      value-length
 http://forest  printer pinetree             value
 :631/pinetree
 0x45           uri type                     value-tag
 0x000C                                      name-length
 document-uri   document-uri                 name
 0x11                                        value-length
 ftp://foo.com  ftp://foo.com/foo            value
 /foo
 0x42           nameWithoutLanguage type     value-tag
 0x0008                                      name-length
 job-name       job-name                     name
 0x0006                                      value-length
 foobar         foobar                       value
 0x02           start job-attributes         job-attributes-tag
 0x21           integer type                 value-tag
 0x0006                                      name-length
 copies         copies                       name
 0x0004                                      value-length



Herriot, et al.               Experimental                     [Page 30]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


 0x00000001     1                            value
 0x03           end-of-attributes            end-of-attributes-tag

9.6 Create-Job Request

   The following is an example of Create-Job request with no parameters
   and no attributes:

 Octets         Symbolic Value              Protocol field
 0x0100         1.0                         version-number
 0x0005         Create-Job                  operation-id
 0x00000001     1                           request-id
 0x01           start operation-attributes  operation-attributes-tag
 0x47           charset type                value-tag
 0x0012                                     name-length

 Octets         Symbolic Value              Protocol field
 attributes-    attributes-charset          name
 charset
 0x0008                                     value-length
 us-ascii       US-ASCII                    value
 0x48           natural-language type       value-tag
 0x001B                                     name-length
 attributes-    attributes-natural-language name
 natural-
 language
 0x0005                                     value-length
 en-us          en-US                       value
 0x45           uri type                    value-tag
 0x000B                                     name-length
 printer-uri    printer-uri                 name
 0x001A                                     value-length
 http://forest: printer pinetree            value
 631/pinetree
 0x03           end-of-attributes           end-of-attributes-tag

9.7 Get-Jobs Request

   The following is an example of Get-Jobs request with parameters but
   no attributes:

 Octets           Symbolic Value               Protocol field

 0x0100           1.0                          version-number
 0x000A           Get-Jobs                     operation-id
 0x00000123       0x123                        request-id
 0x01             start operation-attributes   operation-attributes-tag
 0x47             charset type                 value-tag



Herriot, et al.               Experimental                     [Page 31]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


 Octets           Symbolic Value               Protocol field

 0x0012                                        name-length
 attributes-      attributes-charset           name
 charset
 0x0008                                        value-length
 us-ascii         US-ASCII                     value
 0x48             natural-language type        value-tag
 0x001B                                        name-length
 attributes-      attributes-natural-language  name
 natural-
 language
 0x0005                                        value-length
 en-us            en-US                        value
 0x45             uri type                     value-tag
 0x000B                                        name-length
 printer-uri      printer-uri                  name
 0x001A                                        value-length
 http://forest:6  printer pinetree             value
 31/pinetree
 0x21             integer type                 value-tag
 0x0005                                        name-length
 limit            limit                        name
 0x0004                                        value-length
 0x00000032       50                           value
 0x44             keyword type                 value-tag
 0x0014                                        name-length
 requested-       requested-attributes         name
 attributes
 0x0006                                        value-length
 job-id           job-id                       value
 0x44             keyword type                 value-tag
 0x0000           additional value             name-length
 0x0008                                        value-length
 job-name         job-name                     value
 0x44             keyword type                 value-tag
 0x0000           additional value             name-length
 0x000F                                        value-length
 document-format  document-format              value
 0x03             end-of-attributes            end-of-attributes-tag

9.8 Get-Jobs Response

   The following is an of Get-Jobs response from previous request with 3
   jobs. The Printer returns no information about the second job
   (because of security reasons):





Herriot, et al.               Experimental                     [Page 32]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


 Octets           Symbolic Value                Protocol field

 0x0100           1.0                           version-number
 0x0000           successful-ok                 status-code
 0x00000123       0x123                         request-id (echoed
                                                back)
 0x01             start operation-attributes    operation-attribute-tag
 0x47             charset type                  value-tag
 0x0012                                         name-length
 attributes-      attributes-charset            name
 charset
 0x000A                                         value-length
 ISO-8859-1       ISO-8859-1                    value
 0x48             natural-language type         value-tag
 0x001B                                         name-length
 attributes-      attributes-natural-language   name
 natural-
 language
 0x0005                                         value-length
 en-us            en-US                         value
 0x41             textWithoutLanguage type      value-tag
 0x000E                                         name-length
 status-message   status-message                name
 0x000D                                         value-length
 successful-ok    successful-ok                 value
 0x02             start job-attributes (1st     job-attributes-tag
                  object)
 0x21             integer type                  value-tag
 0x0006                                         name-length
 job-id           job-id                        name
 0x0004                                         value-length
 147              147                           value
 0x36             nameWithLanguage              value-tag
 0x0008                                         name-length
 job-name         job-name                      name
 0x000C                                         value-length
 0x0005                                         sub-value-length
 fr-ca            fr-CA                         value
 0x0003                                         sub-value-length
 fou              fou                           name
 0x02             start job-attributes (2nd     job-attributes-tag
                  object)
 0x02             start job-attributes (3rd     job-attributes-tag
                  object)
 0x21             integer type                  value-tag
 0x0006                                         name-length
 job-id           job-id                        name
 0x0004                                         value-length



Herriot, et al.               Experimental                     [Page 33]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


 Octets           Symbolic Value                Protocol field

 148              148                           value
 0x36             nameWithLanguage              value-tag
 0x0008                                         name-length
 job-name         job-name                      name
 0x0012                                         value-length
 0x0005                                         sub-value-length
 de-CH            de-CH                         value
 0x0009                                         sub-value-length
 isch guet        isch guet                     name
 0x03             end-of-attributes             end-of-attributes-tag







































Herriot, et al.               Experimental                     [Page 34]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


10. Appendix C: Registration of MIME Media Type Information for
    "application/ipp"

   This appendix contains the information that IANA requires for
   registering a MIME media type.  The information following this
   paragraph will be forwarded to IANA to register application/ipp whose
   contents are defined in Section 3 "Encoding of the Operation Layer"
   in this document:

   MIME type name: application

   MIME subtype name: ipp

   A Content-Type of "application/ipp" indicates an Internet Printing
   Protocol message body (request or response). Currently there is one
   version: IPP/1.0, whose syntax is described in Section 3 "Encoding of
   the Operation Layer" of [RFC2565], and whose semantics are described
   in [RFC2566].

   Required parameters:  none

   Optional parameters:  none

   Encoding considerations:

   IPP/1.0 protocol requests/responses MAY contain long lines and ALWAYS
   contain binary data (for example attribute value lengths).

   Security considerations:

   IPP/1.0 protocol requests/responses do not introduce any security
   risks not already inherent in the underlying transport protocols.
   Protocol mixed-version interworking rules in [RFC2566] as well as
   protocol encoding rules in [RFC2565] are complete and unambiguous.

   Interoperability considerations:

   IPP/1.0 requests (generated by clients) and responses (generated by
   servers) MUST comply with all conformance requirements imposed by the
   normative specifications [RFC2566] and [RFC2565]. Protocol encoding
   rules specified in [RFC2565] are comprehensive, so that
   interoperability between conforming implementations is guaranteed
   (although support for specific optional features is not ensured).
   Both the "charset" and "natural-language" of all IPP/1.0 attribute
   values which are a LOCALIZED-STRING  are explicit within IPP protocol
   requests/responses (without recourse to any external information in
   HTTP, SMTP, or other message transport headers).




Herriot, et al.               Experimental                     [Page 35]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


   Published specification:

   [RFC2566] Isaacson, S., deBry, R., Hastings, T., Herriot, R. and P.
             Powell, "Internet Printing Protocol/1.0: Model and
             Semantics" RFC 2566, April 1999.

   [RFC2565] Herriot, R., Butler, S., Moore, P., Tuner, R., "Internet
             Printing Protocol/1.0: Encoding and Transport", RFC 2565,
             April 1999.

   Applications which use this media type:

   Internet Printing Protocol (IPP) print clients and print servers,
   communicating using HTTP/1.1 (see [RFC2565]), SMTP/ESMTP, FTP, or
   other transport protocol. Messages of type "application/ipp" are
   self-contained and transport-independent, including "charset" and
   "natural-language" context for any LOCALIZED-STRING value.

   Person & email address to contact for further information:

   Scott A. Isaacson
   Novell, Inc.
   122 E 1700 S
   Provo, UT 84606

   Phone: 801-861-7366
   Fax: 801-861-4025
   Email: sisaacson@novell.com

   or

   Robert Herriot (Editor)
   Xerox Corporation
   3400 Hillview Ave., Bldg #1
   Palo Alto, CA 94304

   Phone: 650-813-7696
   Fax:  650-813-6860
   EMail: rherriot@pahv.xerox.com












Herriot, et al.               Experimental                     [Page 36]

RFC 2565            IPP/1.0: Encoding and Transport           April 1999


11.  Full Copyright Statement

   Copyright (C) The Internet Society (1999).  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.
























Herriot, et al.               Experimental                     [Page 37]