draft-ietf-ipp-protocol-04.txt   draft-ietf-ipp-protocol-05.txt 
INTERNET-DRAFT Robert Herriot (editor) INTERNET-DRAFT Robert Herriot (editor)
Sun Microsystems Sun Microsystems
<draft-ietf-ipp-protocol-04.txt> Sylvan Butler <draft-ietf-ipp-protocol-05.txt> Sylvan Butler
Hewlett-Packard Hewlett-Packard
Paul Moore Paul Moore
Microsoft Microsoft
Randy Turner Randy Turner
Sharp Labs Sharp Labs
December 19, 1997 January 9, 1998
Internet Printing Protocol/1.0: Protocol Specification Internet Printing Protocol/1.0: Protocol Specification
Status of this Memo Status of this Memo
This document is an Internet-Draft. Internet-Drafts are working This document is an Internet-Draft. Internet-Drafts are working
documents of the Internet Engineering Task Force (IETF), its areas, and documents of the Internet Engineering Task Force (IETF), its areas, and
its working groups. Note that other groups may also distribute working its working groups. Note that other groups may also distribute working
documents as Internet-Drafts. documents as Internet-Drafts.
skipping to change at page 1, line 35 skipping to change at page 1, line 35
or to cite them other than as "work in progress". or to cite them other than as "work in progress".
To learn the current status of any Internet-Draft, please check the To learn the current status of any Internet-Draft, please check the
"1id-abstracts.txt" listing contained in the Internet-Drafts Shadow "1id-abstracts.txt" listing contained in the Internet-Drafts Shadow
Directories on ftp.is.co.za (Africa), nic.nordu.net (Europe), Directories on ftp.is.co.za (Africa), nic.nordu.net (Europe),
munnari.oz.au (Pacific Rim), ds.internic.net (US East Coast), or munnari.oz.au (Pacific Rim), ds.internic.net (US East Coast), or
ftp.isi.edu (US West Coast). ftp.isi.edu (US West Coast).
Copyright Notice Copyright Notice
Copyright (C)The Internet Society (1997). All Rights Reserved. Copyright (C)The Internet Society (1998). All Rights Reserved.
Abstract Abstract
This document is one of a set of documents, which together describe all This document is one of a set of documents, which together describe all
aspects of a new Internet Printing Protocol (IPP). IPP is an aspects of a new Internet Printing Protocol (IPP). IPP is an
application level protocol that can be used for distributed printing application level protocol that can be used for distributed printing
using Internet tools and technology. The protocol is heavily influenced using Internet tools and technology. The protocol is heavily influenced
by the printing model introduced in the Document Printing Application by the printing model introduced in the Document Printing Application
(ISO/IEC 10175 DPA) standard [dpa]. Although DPA specifies both end (ISO/IEC 10175 DPA) standard [dpa]. Although DPA specifies both end
user and administrative features, IPP version 1.0 is focused only on end user and administrative features, IPP version 1.0 is focused only on end
user functionality. user functionality.
The full set of IPP documents includes: The full set of IPP documents includes:
Requirements for an Internet Printing Protocol [ipp-req] Requirements for an Internet Printing Protocol [ipp-req]
Internet Printing Protocol/1.0: Model and Semantics [ipp-mod] Internet Printing Protocol/1.0: Model and Semantics [ipp-mod]
Internet Printing Protocol/1.0: Protocol Specification (this Internet Printing Protocol/1.0: Protocol Specification (this
document) document)
Moore and Turner Expires June 19, 1998 Moore and Turner Expires July 9, 1998
The requirements document takes a broad look at distributed printing The requirements document takes a broad look at distributed printing
functionality, and it enumerates real-life scenarios that help to functionality, and it enumerates real-life scenarios that help to
clarify the features that need to be included in a printing protocol for clarify the features that need to be included in a printing protocol for
the Internet. It identifies requirements for three types of users: end the Internet. It identifies requirements for three types of users: end
users, operators, and administrators. The requirements document calls users, operators, and administrators. The requirements document calls
out a subset of end user requirements that MUST be satisfied in the out a subset of end user requirements that MUST be satisfied in the
first version of IPP. Operator and administrator requirements are out first version of IPP. Operator and administrator requirements are out
of scope for v1.0. The model and semantics document describes a of scope for v1.0. The model and semantics document describes a
simplified model with abstract objects, their attributes, and their simplified model with abstract objects, their attributes, and their
skipping to change at page 3, line 5 skipping to change at page 3, line 5
Specification'' document. Specification'' document.
Notice Notice
The IETF invites any interested party to bring to its attention any The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary rights copyrights, patents or patent applications, or other proprietary rights
which may cover technology that may be required to practice this which may cover technology that may be required to practice this
standard. Please address the information to the IETF Executive standard. Please address the information to the IETF Executive
Director. Director.
Moore and Turner Expires June 19, 1998 Moore and Turner Expires July 9, 1998
Table of Contents Table of Contents
1. Introduction........................................................4 1. Introduction........................................................4
2. Conformance Terminology.............................................4 2. Conformance Terminology.............................................4
3. Encoding of the Operation Layer....................................4 3. Encoding of the Operation Layer....................................4
3.1 Picture of the Encoding.........................................5 3.1 Picture of the Encoding.........................................4
3.2 Syntax of Encoding..............................................7 3.2 Syntax of Encoding..............................................7
3.3 Version.........................................................8 3.3 Version-number..................................................8
3.4 Mapping of Operations...........................................8 3.4 Operation-id....................................................8
3.5 Mapping of Status-code..........................................8 3.5 Status-code.....................................................8
3.6 Request-id......................................................9 3.6 Request-id......................................................8
3.7 Tags............................................................. 3.7 Tags.............................................................
3.7.1 Delimiter Tags.............................................9 3.7.1 Delimiter Tags.............................................8
3.7.2 Value Tags................................................10 3.7.2 Value Tags.................................................9
3.8 Name-Lengths...................................................12 3.8 Name-Length....................................................11
3.9 Mapping of Attribute Names....................................12 3.9 (Attribute) Name...............................................11
3.10 Value Lengths.................................................13 3.10 Value Length..................................................12
3.11 Mapping of Attribute Values...................................13 3.11 (Attribute) Value.............................................12
3.12 Data............................................................ 3.12 Data............................................................
4. Encoding of Transport Layer........................................15 4. Encoding of Transport Layer........................................13
4.1 General Headers................................................16 4.1 General Headers................................................14
4.2 Request Headers...............................................17 4.2 Request Headers...............................................14
4.3 Response Headers...............................................18 4.3 Response Headers...............................................14
4.4 Entity Headers................................................18 4.4 Entity Headers................................................14
5. Security Considerations............................................19 5. Security Considerations............................................16
6. References.........................................................19 6. References.........................................................16
7. Author's Address...................................................21 7. Author's Address...................................................17
8. Other Participants:................................................21 8. Other Participants:................................................18
9. Appendix A: Protocol Examples......................................22 9. Appendix A: Protocol Examples......................................18
9.1 Print-Job Request..............................................22 9.1 Print-Job Request..............................................18
9.2 Print-Job Response (successful)................................23 9.2 Print-Job Response (successful)................................19
9.3 Print-Job Response (failure)...................................24 9.3 Print-Job Response (failure)...................................20
9.4 Print-URI Request..............................................25 9.4 Print-URI Request..............................................21
9.5 Create-Job Request.............................................25 9.5 Create-Job Request.............................................22
9.6 Get-Jobs Request...............................................26 9.6 Get-Jobs Request...............................................22
9.7 Get-Jobs Response..............................................27 9.7 Get-Jobs Response..............................................23
10. Appendix B: Hints to implementors using IPP with SSL3.............28 10. Appendix B: Hints to implementors using IPP with SSL3.............24
11. Appendix C: Registration of MIME Media Type Information for 11. Appendix C: Registration of MIME Media Type Information for
"application/ipp".....................................................29 "application/ipp".....................................................25
12. Appendix D: Full Copyright Statement..............................31 12. Appendix D: Full Copyright Statement..............................26
Moore and Turner Expires June 19, 1998 Moore and Turner Expires July 9, 1998
1. Introduction 1. Introduction
This document contains the rules for encoding IPP operations and This document contains the rules for encoding IPP operations and
describes two layers: the transport layer and the operation layer. describes two layers: the transport layer and the operation layer.
The transport layer consists of an HTTP/1.1 request or response. RFC The transport layer consists of an HTTP/1.1 request or response. RFC
2068 [rfc2068] describes HTTP/1.1. This document specifies the HTTP 2068 [rfc2068] describes HTTP/1.1. This document specifies the HTTP
headers that an IPP implementation supports. headers that an IPP implementation supports.
skipping to change at page 4, line 57 skipping to change at page 4, line 57
character string whose associated charset and natural language are character string whose associated charset and natural language are
specified in a request or response as described in the model document is 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 henceforth called a LOCALIZED-STRING. An octet string MUST be in "IPP
model document order" with the first octet in the value (according to model document order" with the first octet in the value (according to
the IPP model document order) being the first octet in the encoding the IPP model document order) being the first octet in the encoding
Every integer in this encoding SHALL be encoded as a signed integer Every integer in this encoding SHALL be encoded as a signed integer
using two's-complement binary encoding with big-endian format (also using two's-complement binary encoding with big-endian format (also
known as "network order" and "most significant byte first"). The number known as "network order" and "most significant byte first"). The number
of octets for an integer SHALL be 1, 2 or 4, depending on usage in the of octets for an integer SHALL be 1, 2 or 4, depending on usage in the
protocol. Such one-octet integers, henceforth called SIGNED-BYTE, are protocol. Such one-octet integers, henceforth called SIGNED-BYTE, are
used for the version and tag fields. Such two-byte integers, henceforth used for the version-number and tag fields. Such two-byte integers,
Moore and Turner Expires June 19, 1998 Moore and Turner Expires July 9, 1998
called SIGNED-SHORT are used for the operation, status-code and length henceforth called SIGNED-SHORT are used for the operation-id, status-
fields. Four byte integers, henceforth called SIGNED-INTEGER, are used code and length fields. Four byte integers, henceforth called SIGNED-
for values fields and the sequence number. INTEGER, are used for values fields and the sequence number.
The following two sections present the operation layer in two ways The following two sections present the operation layer in two ways
. informally through pictures and description . informally through pictures and description
. formally through Augmented Backus-Naur Form (ABNF), as specified by . formally through Augmented Backus-Naur Form (ABNF), as specified by
RFC 2234 [rfc2234] RFC 2234 [rfc2234]
3.1 Picture of the Encoding 3.1 Picture of the Encoding
The encoding for an operation request or response consists of: The encoding for an operation request or response consists of:
----------------------------------------------- -----------------------------------------------
| version | 2 bytes - required | version-number | 2 bytes - required
----------------------------------------------- -----------------------------------------------
|operation (request) or status-code (response)| 2 bytes - required | operation-id (request) |
| or | 2 bytes - required
| status-code (response) |
----------------------------------------------- -----------------------------------------------
| request-id | 4 bytes - required | request-id | 4 bytes - required
----------------------------------------------------------- -----------------------------------------------------------
| xxx-attributes-tag | 1 byte | | xxx-attributes-tag | 1 byte |
----------------------------------------------- |-0 or more ----------------------------------------------- |-0 or more
| xxx-attribute-sequence | n bytes | | xxx-attribute-sequence | n bytes |
----------------------------------------------------------- -----------------------------------------------------------
| end-of-attributes-tag | 1 byte - required | end-of-attributes-tag | 1 byte - required
----------------------------------------------- -----------------------------------------------
| data | q bytes - optional | data | q bytes - optional
skipping to change at page 5, line 58 skipping to change at page 6, line 5
A request or response SHOULD contain each xxx-attributes-tag defined for 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 that request or response even if there are no attributes except for the
unsupported-attributes-tag which SHOULD be present only if the unsupported-attributes-tag which SHOULD be present only if the
unsupported-attribute-sequence is non-empty. A receiver of a request unsupported-attribute-sequence is non-empty. A receiver of a request
SHALL be able to process as equivalent empty attribute groups: SHALL be able to process as equivalent empty attribute groups:
a) an xxx-attributes-tag with an empty xxx-attribute-sequence, a) an xxx-attributes-tag with an empty xxx-attribute-sequence,
b) an expected but missing xxx-attributes-tag. b) an expected but missing xxx-attributes-tag.
Moore and Turner Expires July 9, 1998
The data is omitted from some operations, but the end-of-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 is present even when the data is omitted. Note, the xxx-attributes-tags
Moore and Turner Expires June 19, 1998
and end-of-attributes-tag are called `delimiter-tags'. Note: the xxx- and end-of-attributes-tag are called `delimiter-tags'. Note: the xxx-
attribute-sequence, shown above may consist of 0 bytes, according to the attribute-sequence, shown above may consist of 0 bytes, according to the
rule below. rule below.
An xxx-attributes-sequence consists of zero or more compound-attributes. An xxx-attributes-sequence consists of zero or more compound-attributes.
----------------------------------------------- -----------------------------------------------
| compound-attribute | s bytes - 0 or more | compound-attribute | s bytes - 0 or more
----------------------------------------------- -----------------------------------------------
skipping to change at page 7, line 5 skipping to change at page 7, line 5
----------------------------------------------- |-0 or more ----------------------------------------------- |-0 or more
| value-length (value is w) | 2 bytes | | value-length (value is w) | 2 bytes |
----------------------------------------------- | ----------------------------------------------- |
| value | w bytes | | value | w bytes |
----------------------------------------------------------- -----------------------------------------------------------
Note: an additional value is like an attribute whose name-length is 0. Note: an additional value is like an attribute whose name-length is 0.
From the standpoint of a parsing loop, the encoding consists of: From the standpoint of a parsing loop, the encoding consists of:
Moore and Turner Expires June 19, 1998 Moore and Turner Expires July 9, 1998
----------------------------------------------- -----------------------------------------------
| version | 2 bytes - required | version-number | 2 bytes - required
----------------------------------------------- -----------------------------------------------
|operation (request) or status-code (response)| 2 bytes - required | operation-id (request) |
| or | 2 bytes - required
| status-code (response) |
----------------------------------------------- -----------------------------------------------
| request-id | 4 bytes - required | request-id | 4 bytes - required
----------------------------------------------------------- -----------------------------------------------------------
| tag (delimiter-tag or value-tag) | 1 byte | | tag (delimiter-tag or value-tag) | 1 byte |
----------------------------------------------- |-0 or more ----------------------------------------------- |-0 or more
| empty or rest of attribute | x bytes | | empty or rest of attribute | x bytes |
----------------------------------------------------------- -----------------------------------------------------------
| end-of-attributes-tag | 2 bytes - required | end-of-attributes-tag | 2 bytes - required
----------------------------------------------- -----------------------------------------------
| data | y bytes - optional | data | y bytes - optional
skipping to change at page 7, line 37 skipping to change at page 7, line 39
type of the value. type of the value.
3.2 Syntax of Encoding 3.2 Syntax of Encoding
The syntax below is ABNF [rfc2234] except `strings of literals' SHALL be The syntax below is ABNF [rfc2234] except `strings of literals' SHALL be
case sensitive. For example `a' means lower case `a' and not upper case case sensitive. For example `a' means lower case `a' and not upper case
`A'. In addition, SIGNED-BYTE and SIGNED-SHORT fields are represented `A'. In addition, SIGNED-BYTE and SIGNED-SHORT fields are represented
as `%x' values which show their range of values. as `%x' values which show their range of values.
ipp-message = ipp-request / ipp-response ipp-message = ipp-request / ipp-response
ipp-request = version operation request-id ipp-request = version-number operation-id request-id
*(xxx-attributes-tag xxx-attribute-sequence) end-of- *(xxx-attributes-tag xxx-attribute-sequence) end-of-
attributes-tag data attributes-tag data
ipp-response = version status-code request-id ipp-response = version-number status-code request-id
*(xxx-attributes-tag xxx-attribute-sequence) end-of- *(xxx-attributes-tag xxx-attribute-sequence) end-of-
attributes-tag data attributes-tag data
xxx-attribute-sequence = *compound-attribute xxx-attribute-sequence = *compound-attribute
xxx-attributes-tag = operation-attributes-tag / job-attributes-tag / xxx-attributes-tag = operation-attributes-tag / job-attributes-tag /
printer-attributes-tag / unsupported-attributes-tag printer-attributes-tag / unsupported-attributes-tag
version = major-version minor-version version-number = major-version-number minor-version-number
major-version = SIGNED-BYTE ; initially %d1 major-version-number = SIGNED-BYTE ; initially %d1
minor-version = SIGNED-BYTE ; initially %d0 minor-version-number = SIGNED-BYTE ; initially %d0
operation = SIGNED-SHORT ; mapping from model defined below operation-id = SIGNED-SHORT ; mapping from model defined below
status-code = 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 compound-attribute = attribute *additional-values
Moore and Turner Expires July 9, 1998
attribute = value-tag name-length name value-length value attribute = value-tag name-length name value-length value
additional-values = value-tag zero-name-length value-length value additional-values = value-tag zero-name-length value-length value
Moore and Turner Expires June 19, 1998
name-length = SIGNED-SHORT ; number of octets of `name' name-length = SIGNED-SHORT ; number of octets of `name'
name = LALPHA *( LALPHA / DIGIT / "-" / "_" / "." ) name = LALPHA *( LALPHA / DIGIT / "-" / "_" / "." )
value-length = SIGNED-SHORT ; number of octets of `value' value-length = SIGNED-SHORT ; number of octets of `value'
value = OCTET-STRING value = OCTET-STRING
data = OCTET-STRING data = OCTET-STRING
zero-name-length = %x00.00 ; name-length of 0 zero-name-length = %x00.00 ; name-length of 0
operation-attributes-tag = %x01 ; tag of 1 operation-attributes-tag = %x01 ; tag of 1
job-attributes-tag = %x02 ; tag of 2 job-attributes-tag = %x02 ; tag of 2
printer-attributes-tag = %x04 ; tag of 4 printer-attributes-tag = %x04 ; tag of 4
unsupported- attributes-tag = %x05 ; tag of 5 unsupported- attributes-tag = %x05 ; tag of 5
end-of-attributes-tag = %x03 ; tag of 3 end-of-attributes-tag = %x03
; tag of 3
value-tag = %x10-FF value-tag = %x10-FF
SIGNED-BYTE = BYTE SIGNED-BYTE = BYTE
SIGNED-SHORT = 2BYTE SIGNED-SHORT = 2BYTE
DIGIT = %x30-39 ; "0" to "9" DIGIT = %x30-39 ; "0" to "9"
LALPHA = %x61-7A ; "a" to "z" LALPHA = %x61-7A ; "a" to "z"
BYTE = %x00-FF BYTE = %x00-FF
OCTET-STRING = *BYTE OCTET-STRING = *BYTE
The syntax allows an xxx-attributes-tag to be present when the xxx- 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 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 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 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 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 Get-Jobs response just mentioned), the receiver MUST be able to decode
such syntax. such syntax.
3.3 Version 3.3 Version-number
The version SHALL consist of a major and minor version, each of which The version-number SHALL consist of a major and minor version-number,
SHALL be represented by a SIGNED-BYTE. The protocol described in this each of which SHALL be represented by a SIGNED-BYTE. The protocol
document SHALL have a major version of 1 (0x01) and a minor version of described in this document SHALL have a major version-number of 1 (0x01)
0 (0x00). The ABNF for these two bytes SHALL be %x01.00. and a minor version-number of 0 (0x00). The ABNF for these two bytes
SHALL be %x01.00.
3.4 Mapping of Operations 3.4 Operation-id
Operations are defined as enums in the model document. An operations Operation-ids are defined as enums in the model document. An operation-
enum value SHALL be encoded as a SIGNED-SHORT ids enum value SHALL be encoded as a SIGNED-SHORT
Note: the values 0x4000 to 0xFFFF are reserved for private extensions. Note: the values 0x4000 to 0xFFFF are reserved for private extensions.
3.5 Mapping of Status-code Moore and Turner Expires July 9, 1998
3.5 Status-code
Status-codes are defined as enums in the model document. A status-code Status-codes are defined as enums in the model document. A status-code
enum value SHALL be encoded as a SIGNED-SHORT enum value SHALL be encoded as a SIGNED-SHORT
Moore and Turner Expires June 19, 1998
The status-code is an operation attribute in the model document. In the 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 protocol, the status-code is in a special position, outside of the
operation attributes. operation attributes.
If an IPP status-code is returned, then the HTTP Status-Code MUST be 200 If an IPP status-code is returned, then the HTTP Status-Code MUST be 200
(OK). With any other HTTP Status-Code value, the HTTP response SHALL NOT (OK). With any other HTTP Status-Code value, the HTTP response SHALL NOT
contain an IPP message-body, and thus no IPP status-code is returned. contain an IPP message-body, and thus no IPP status-code is returned.
3.6 Request-id 3.6 Request-id
The request-id allows a client to match a response with a request. This 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 mechanism is unnecessary in HTTP, but may be useful when application/ipp
entity bodies are used in another context. entity bodies are used in another context.
The request-id in a response SHALL be the value of the request-id The request-id in a response SHALL be the value of the request-id
received in the corresponding request. A client can set 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, in each request to a unique value or a constant value, such as 1,
depending on what the client does with the request-id returned in the depending on what the client does with the request-id returned in the
response. response. The value of the request-id MUST be greater than zero.
3.7 Tags 3.7 Tags
There are two kinds of tags: There are two kinds of tags:
. delimiter tags: delimit major sections of the protocol, namely . delimiter tags: delimit major sections of the protocol, namely
attributes and data attributes and data
. value tags: specify the type of each attribute value . value tags: specify the type of each attribute value
3.7.1 Delimiter Tags 3.7.1 Delimiter Tags
skipping to change at page 9, line 51 skipping to change at page 10, line 5
0x00 reserved 0x00 reserved
0x01 operation-attributes-tag 0x01 operation-attributes-tag
0x02 job-attributes-tag 0x02 job-attributes-tag
0x03 end-of-attributes-tag 0x03 end-of-attributes-tag
0x04 printer-attributes-tag 0x04 printer-attributes-tag
0x05 unsupported-attributes-tag 0x05 unsupported-attributes-tag
0x06-0x0e reserved for future delimiters 0x06-0x0e reserved for future delimiters
0x0F reserved for future chunking-end-of-attributes- 0x0F reserved for future chunking-end-of-attributes-
tag tag
Moore and Turner Expires July 9, 1998
When an xxx-attributes-tag occurs in the protocol, it SHALL mean that When an xxx-attributes-tag occurs in the protocol, it SHALL mean that
zero or more following attributes up to the next delimiter tag are zero or more following attributes up to the next delimiter tag are
attributes belonging to group xxx as defined in the model document, attributes belonging to group xxx as defined in the model document,
where xxx is operation, job, printer, unsupported. where xxx is operation, job, printer, unsupported.
Moore and Turner Expires June 19, 1998
Doing substitution for xxx in the above paragraph, this means the Doing substitution for xxx in the above paragraph, this means the
following. When an operation-attributes-tag occurs in the protocol, it following. When an operation-attributes-tag occurs in the protocol, it
SHALL mean that the zero or more following attributes up to the next SHALL mean that the zero or more following attributes up to the next
delimiter tag are operation attributes as defined in the model document. delimiter tag are operation attributes as defined in the model document.
When an job-attributes-tag occurs in the protocol, it SHALL mean that When an job-attributes-tag occurs in the protocol, it SHALL mean that
the zero or more following attributes up to the next delimiter tag are the zero or more following attributes up to the next delimiter tag are
job attributes as defined in the model document. When an printer- job attributes as defined in the model document. When an printer-
attributes-tag occurs in the protocol, it SHALL mean that the zero or attributes-tag occurs in the protocol, it SHALL mean that the zero or
more following attributes up to the next delimiter tag are printer more following attributes up to the next delimiter tag are printer
attributes as defined in the model document. When an unsupported- attributes as defined in the model document. When an unsupported-
skipping to change at page 10, line 34 skipping to change at page 10, line 39
tag delimiter. If the operation has a document-content group, the tag delimiter. If the operation has a document-content group, the
document data in that group SHALL follow the end-of-attributes-tag document data in that group SHALL follow the end-of-attributes-tag
Each of the other three xxx-attributes-tags defined above is OPTIONAL Each of the other three xxx-attributes-tags defined above is OPTIONAL
in an operation and each SHALL occur at most once in an operation, in an operation and each SHALL occur at most once in an operation,
except for job-attributes-tag in a Get-Jobs response which may occur except for job-attributes-tag in a Get-Jobs response which may occur
zero or more times. zero or more times.
The order and presence of delimiter tags for each operation request and The order and presence of delimiter tags for each operation request and
each operation response SHALL be that defined in the model document. For each operation response SHALL be that defined in the model document. For
further details, see Section 3.9 Mapping of Attribute Names and Error! further details, see section 3.9 "(Attribute) Name" and .section 9
Reference source not found.. "Appendix A: Protocol Examples"
A Printer SHALL treat the reserved delimiter tags differently from A Printer SHALL treat the reserved delimiter tags differently from
reserved value tags so that the Printer knows that there is an entire 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 attribute group that it doesn't understand as opposed to a single value
that it doesn't understand. that it doesn't understand.
3.7.2 Value Tags 3.7.2 Value Tags
The remaining tables show values for the value-tag, which is the first 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 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 the attribute. The following table specifies the "out-of-band" values
for the value-tag. for the value-tag.
Tag Value (Hex) Meaning Tag Value (Hex) Meaning
0x10 unsupported 0x10 unsupported
0x11 reserved for future `default' 0x11 reserved for future `default'
0x12 unknown 0x12 unknown
Moore and Turner Expires July 9, 1998
Tag Value (Hex) Meaning
0x13 no-value 0x13 no-value
0x14-0x1F reserved for future "out-of-band" values. 0x14-0x1F reserved for future "out-of-band" values.
The "unsupported" value SHALL be used in the attribute-sequence of an The "unsupported" value SHALL be used in the attribute-sequence of an
error response for those attributes which the printer does not support. error response for those attributes which the printer does not support.
Moore and Turner Expires June 19, 1998
The "default" value is reserved for future use of setting value back to 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 their default value. The "unknown" value is used for the value of a
supported attribute when its value is temporarily unknown. . The "no- supported attribute when its value is temporarily unknown. . The "no-
value" value is used for a supported attribute to which no value has value" value is used for a supported attribute to which no value has
been assigned, e.g. "job-k-octets-supported" has no value if an been assigned, e.g. "job-k-octets-supported" has no value if an
implementation supports this attribute, but an administrator has not implementation supports this attribute, but an administrator has not
configured the printer to have a limit. configured the printer to have a limit.
The following table specifies the integer values for the value-tag The following table specifies the integer values for the value-tag
skipping to change at page 11, line 50 skipping to change at page 12, line 4
The following table specifies the character-string values for the value- The following table specifies the character-string values for the value-
tag tag
Tag Value (Hex) Meaning Tag Value (Hex) Meaning
0x40 reserved 0x40 reserved
0x41 text 0x41 text
0x42 name 0x42 name
0x43 reserved 0x43 reserved
0x44 keyword 0x44 keyword
Moore and Turner Expires July 9, 1998
Tag Value (Hex) Meaning
0x45 uri 0x45 uri
0x46 uriScheme 0x46 uriScheme
0x47 charset 0x47 charset
0x48 naturalLanguage 0x48 naturalLanguage
0x49 mimeMediaType 0x49 mimeMediaType
0x4A-0x5F reserved for future character string types 0x4A-0x5F reserved for future character string types
Moore and Turner Expires June 19, 1998
NOTE: 0x40 is reserved for "generic character-string" if should ever be NOTE: 0x40 is reserved for "generic character-string" if should ever be
needed. needed.
The values 0x60-0xFF are reserved for future types. There are no values 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 allocated for private extensions. A new type must be registered via the
type 2 process. type 2 process.
3.8 Name-Lengths 3.8 Name-Length
The name-length field SHALL consist of a SIGNED-SHORT. This field SHALL The name-length field SHALL consist of a SIGNED-SHORT. This field SHALL
specify the number of octets in the name field which follows the name- specify the number of octets in the name field which follows the name-
length field, excluding the two bytes of the name-length field. 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 If a name-length field has a value of zero, the following name field
SHALL be empty, and the following value SHALL be treated as an SHALL be empty, and the following value SHALL be treated as an
additional value for the preceding attribute. Within an attribute- additional value for the preceding attribute. Within an attribute-
sequence, if two attributes have the same name, the first occurrence sequence, if two attributes have the same name, the first occurrence
SHALL be ignored. The zero-length name is the only mechanism for multi- SHALL be ignored. The zero-length name is the only mechanism for multi-
valued attributes. valued attributes.
3.9 Mapping of Attribute Names 3.9 (Attribute) Name
Some attributes are encoded in a special position. These attribute are: Some attributes are encoded in a special position. These attribute are:
. "printer-uri": When the target is a printer and the transport is . "printer-uri": When the target is a printer and the transport is
HTTP or HTTP (for TLS), the target printer-uri defined in each HTTP or HTTP (for TLS), the target printer-uri defined in each
operation in the IPP model document SHALL be an operation attribute operation in the IPP model document SHALL be an operation attribute
called "printer-uri" and it SHALL also be specified outside of the called "printer-uri" and it SHALL also be specified outside of the
operation layer as the request-URI on the Request-Line at the HTTP operation layer as the request-URI on the Request-Line at the HTTP
level. This level. This
. "job-uri": When the target is a job and the transport is HTTP or . "job-uri": When the target is a job and the transport is HTTP or
HTTPS (for TLS), the target job-uri of each operation in the IPP HTTPS (for TLS), the target job-uri of each operation in the IPP
model document SHALL be an operation attribute called "job-uri" and model document SHALL be an operation attribute called "job-uri" and
it SHALL also be specified outside of the operation layer as the it SHALL also be specified outside of the operation layer as the
request-URI on the Request-Line at the HTTP level. request-URI on the Request-Line at the HTTP level.
. "version-number": The attribute named "version-number" in the IPP
model document SHALL become the "version-number" field in the
operation layer request or response. It SHALL NOT appear as an
operation attribute.
. "operation-id": The attribute named "operation-id" in the IPP model
document SHALL become the "operation-id" field in the operation
layer request. It SHALL NOT appear as an operation attribute.
Moore and Turner Expires July 9, 1998
. "status-code": The attribute named "status-code" in the IPP model . "status-code": The attribute named "status-code" in the IPP model
document SHALL become the "status-code" field in the operation document SHALL become the "status-code" field in the operation
layer response. It SHALL NOT appear as an operation attribute. layer response. It SHALL NOT appear as an operation attribute.
. "request-id": The attribute named "request-id" in the IPP model
document SHALL become the "request-id" field in the operation layer
request or response. It SHALL NOT appear as an operation attribute.
The model document arranges the remaining attributes into groups for The model document arranges the remaining attributes into groups for
each operation request and response. Each such group SHALL be each operation request and response. Each such group SHALL be
represented in the protocol by an xxx-attribute-sequence preceded by the represented in the protocol by an xxx-attribute-sequence preceded by the
appropriate xxx-attributes-tag (See the table below and Error! Reference appropriate xxx-attributes-tag (See the table below and section 9
source not found.). In addition, the order of these xxx-attributes-tags "Appendix A: Protocol Examples"). In addition, the order of these xxx-
and xxx-attribute-sequences in the protocol SHALL be the same as in the attributes-tags and xxx-attribute-sequences in the protocol SHALL be the
model document, but the order of attributes within each xxx-attribute- same as in the model document, but the order of attributes within each
sequence SHALL be unspecified. The table below maps the model document xxx-attribute-sequence SHALL be unspecified. The table below maps the
group name to xxx-attributes-sequence model document group name to xxx-attributes-sequence
Model Document Group xxx-attributes-sequence Model Document Group xxx-attributes-sequence
Moore and Turner Expires June 19, 1998
Operation Attributes operations-attributes-sequence Operation Attributes operations-attributes-sequence
Job Template Attributes job-attributes-sequence Job Template Attributes job-attributes-sequence
Job Object Attributes job-attributes-sequence Job Object Attributes job-attributes-sequence
Unsupported Attributes unsupported- attributes-sequence Unsupported Attributes unsupported- attributes-sequence
Requested Attributes (Get- job-attributes-sequence Requested Attributes (Get- job-attributes-sequence
Job-Attributes) Job-Attributes)
Requested Attributes (Get- printer-attributes-sequence Requested Attributes (Get- printer-attributes-sequence
Printer-Attributes) Printer-Attributes)
Document Content in a special position as described above Document Content in a special position as described above
If an operation contains attributes from more than one job object (e.g. If an operation contains attributes from more than one job object (e.g.
Get-Jobs response), the attributes from each job object SHALL be in a Get-Jobs response), the attributes from each job object SHALL be in a
separate job-attribute-sequence, such that the attributes from the ith separate job-attribute-sequence, such that the attributes from the ith
job object are in the ith job-attribute-sequence. See Section Error! job object are in the ith job-attribute-sequence. See Section 9
Reference source not found. "Error! Reference source not found." for "Appendix A: Protocol Examples" for table showing the application of the
table showing the application of the rules above. rules above.
3.10 Value Lengths 3.10 Value Length
Each attribute value SHALL be preceded by a SIGNED-SHORT which SHALL Each attribute value SHALL be preceded by a SIGNED-SHORT which SHALL
specify the number of octets in the value which follows this length, specify the number of octets in the value which follows this length,
exclusive of the two bytes specifying the length. exclusive of the two bytes specifying the length.
For any of the types represented by binary signed integers, the sender For any of the types represented by binary signed integers, the sender
MUST encode the value in exactly four octets.. MUST encode the value in exactly four octets..
For any of the types represented by character-strings, the sender MUST 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 encode the value with all the characters of the string and without any
padding characters. padding characters.
If a value-tag contains an "out-of-band" value, such as "unsupported", If a value-tag contains an "out-of-band" value, such as "unsupported",
the value-length SHALL be 0 and the value empty " the value has no the value-length SHALL be 0 and the value empty " the value has no
meaning when the value-tag has an "out-of-band" value. If a client meaning when the value-tag has an "out-of-band" value. If a client
Moore and Turner Expires July 9, 1998
receives a response with a nonzero value-length in this case, it SHALL receives a response with a nonzero value-length in this case, it SHALL
ignore the value field. If a printer receives a request with a nonzero ignore the value field. If a printer receives a request with a nonzero
value-length in this case, it SHALL reject the request. value-length in this case, it SHALL reject the request.
3.11 Mapping of Attribute Values 3.11 (Attribute) Value
The syntax types and most of the details of their representation are The syntax types and most of the details of their representation are
defined in the IPP model document. The table below augments the defined in the IPP model document. The table below augments the
information in the model document, and defines the syntax types from 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 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, "Encoding of the Operation Layer". The 5 types are US-ASCII-STRING,
LOCALIZED-STRING, SIGNED-INTEGER, SIGNED-SHORT, SIGNED-BYTE, and OCTET- LOCALIZED-STRING, SIGNED-INTEGER, SIGNED-SHORT, SIGNED-BYTE, and OCTET-
STRING. STRING.
Syntax of Encoding Syntax of Encoding
Attribute Value Attribute Value
text, name LOCALIZED-STRING. text, name LOCALIZED-STRING.
Moore and Turner Expires June 19, 1998
Syntax of Encoding
Attribute Value
textWithLanguage OCTET"STRING consisting of 4 fields: textWithLanguage OCTET"STRING consisting of 4 fields:
a) a SIGNED-SHORT which is the number of octets a) a SIGNED-SHORT which is the number of octets
in the following field in the following field
b) a value of type natural-language, b) a value of type natural-language,
c) a SIGNED-SHORT which is the number of octets c) a SIGNED-SHORT which is the number of octets
in the following field, in the following field,
d) a value of type text. d) a value of type text.
The length of a textWithLanguage value SHALL be The length of a textWithLanguage value SHALL be
4 + the value of field a + the value of field c. 4 + the value of field a + the value of field c.
nameWithLanguage OCTET"STRING consisting of 4 fields: nameWithLanguage OCTET"STRING consisting of 4 fields:
skipping to change at page 14, line 42 skipping to change at page 15, line 4
boolean SIGNED-BYTE where 0x00 is `false' and 0x01 is boolean SIGNED-BYTE where 0x00 is `false' and 0x01 is
`true' `true'
integer and enum a SIGNED-INTEGER integer and enum a SIGNED-INTEGER
dateTime OCTET-STRING consisting of eleven octets whose dateTime OCTET-STRING consisting of eleven octets whose
contents are defined by "DateAndTime" in RFC 1903 contents are defined by "DateAndTime" in RFC 1903
[rfc1903]. [rfc1903].
resolution OCTET"STRING consisting of nine octets of 2 resolution OCTET"STRING consisting of nine octets of 2
SIGNED-INTEGERs followed by a SIGNED-BYTE. The SIGNED-INTEGERs followed by a SIGNED-BYTE. The
first SIGNED-INTEGER contains the value of cross first SIGNED-INTEGER contains the value of cross
feed direction resolution . The second SIGNED- feed direction resolution . The second SIGNED-
Moore and Turner Expires July 9, 1998
Syntax of Encoding
Attribute Value
INTEGER contains the value of feed direction INTEGER contains the value of feed direction
resolution. The SIGNED-BYTE contains the units resolution. The SIGNED-BYTE contains the units
value. value.
rangeOfInteger Eight octets consisting of 2 SIGNED-INTEGERs. The rangeOfInteger Eight octets consisting of 2 SIGNED-INTEGERs. The
first SIGNED-INTEGERs contains the lower bound first SIGNED-INTEGERs contains the lower bound
and the second SIGNED-INTEGERs contains the upper and the second SIGNED-INTEGERs contains the upper
bound bound
1setOf X encoding according to the rules for an attribute 1setOf X encoding according to the rules for an attribute
with more than 1 value. Each value X is encoded with more than 1 value. Each value X is encoded
according to the rules for encoding its type. according to the rules for encoding its type.
octetString OCTET-STRING octetString OCTET-STRING
The type of the value in the model document determines the encoding in The type of the value in the model document determines the encoding in
the value and the value of the value-tag. the value and the value of the value-tag.
Moore and Turner Expires June 19, 1998
3.12 Data 3.12 Data
The data part SHALL include any data required by the operation The data part SHALL include any data required by the operation
4. Encoding of Transport Layer 4. Encoding of Transport Layer
HTTP/1.1 shall be the transport layer for this protocol. HTTP/1.1 shall be the transport layer for this protocol.
The operation layer has been designed with the assumption that the The operation layer has been designed with the assumption that the
transport layer contains the following information: transport layer contains the following information:
skipping to change at page 15, line 40 skipping to change at page 16, line 5
Each HTTP operation shall use the POST method where the request-URI is Each HTTP operation shall use the POST method where the request-URI is
the object target of the operation, and where the "Content-Type" of the the object target of the operation, and where the "Content-Type" of the
message-body in each request and response shall be "application/ipp". message-body in each request and response shall be "application/ipp".
The message-body shall contain the operation layer and shall have the The message-body shall contain the operation layer and shall have the
syntax described in section 3.2 "Syntax of Encoding". A client syntax described in section 3.2 "Syntax of Encoding". A client
implementation SHALL adhere to the rules for a client described in RFC implementation SHALL adhere to the rules for a client described in RFC
2068 [rfc2068]. A printer (server) implementation SHALL adhere the rules 2068 [rfc2068]. A printer (server) implementation SHALL adhere the rules
for an origin server described in RFC 2068. for an origin server described in RFC 2068.
Moore and Turner Expires July 9, 1998
The IPP layer doesn't have to deal with chunking. In the context of CGI The IPP layer doesn't have to deal with chunking. In the context of CGI
scripts, the HTTP layer removes any chunking information in the received scripts, the HTTP layer removes any chunking information in the received
data. data.
A client SHALL NOT expect a response from an IPP server until after the A client SHALL NOT expect a response from an IPP server until after the
client has sent the entire response. But a client MAY listen for an client has sent the entire response. But a client MAY listen for an
error response that an IPP server MAY send before it receives all the error response that an IPP server MAY send before it receives all the
data. In this case a client, if chunking the data, can send a premature data. In this case a client, if chunking the data, can send a premature
zero-length chunk to end the request before sending all the data. If the zero-length chunk to end the request before sending all the data. If the
request is blocked for some reason, a client MAY determine the reason by request is blocked for some reason, a client MAY determine the reason by
opening another connection to query the server. opening another connection to query the server.
In the following sections, there are a tables of all HTTP headers which In the following sections, there are a tables of all HTTP headers which
describe their use in an IPP client or server. The following is an describe their use in an IPP client or server. The following is an
explanation of each column in these tables. explanation of each column in these tables.
. the "header" column contains the name of a header . the "header" column contains the name of a header
. the "request/client" column indicates whether a client sends the . the "request/client" column indicates whether a client sends the
header. header.
Moore and Turner Expires June 19, 1998
. the "request/ server" column indicates whether a server supports . the "request/ server" column indicates whether a server supports
the header when received. the header when received.
. the "response/ server" column indicates whether a server sends the . the "response/ server" column indicates whether a server sends the
header. header.
. the "response /client" column indicates whether a client supports . the "response /client" column indicates whether a client supports
the header when received. the header when received.
. the "values and conditions" column specifies the allowed header . the "values and conditions" column specifies the allowed header
values and the conditions for the header to be present in a values and the conditions for the header to be present in a
request/response. request/response.
skipping to change at page 16, line 41 skipping to change at page 17, line 5
. must: the client or server MUST support the header, . must: the client or server MUST support the header,
. may: the client or server MAY support the header . may: the client or server MAY support the header
. not: the client or server SHOULD NOT support the header. It is not . not: the client or server SHOULD NOT support the header. It is not
relevant to an IPP implementation. relevant to an IPP implementation.
4.1 General Headers 4.1 General Headers
The following is a table for the general headers. The following is a table for the general headers.
Moore and Turner Expires July 9, 1998
General- Request Response Values and Conditions General- Request Response Values and Conditions
Header Header
Client Server Server Client Client Server Server Client
Cache- must not must not "no-cache" only Cache- must not must not "no-cache" only
Control Control
Connection must-if must must- must "close" only. Both Connection must-if must must- must "close" only. Both
if client and server if client and server
SHOULD keep a SHOULD keep a
connection for the connection for the
duration of a sequence duration of a sequence
of operations. The of operations. The
client and server MUST client and server MUST
include this header include this header
Moore and Turner Expires June 19, 1998
General- Request Response Values and Conditions
Header
Client Server Server Client
for the last operation for the last operation
in such a sequence. in such a sequence.
Date may may must may per RFC 1123 [rfc1123] Date may may must may per RFC 1123 [rfc1123]
from RFC 2068 from RFC 2068
Pragma` must not must not "no-cache" only Pragma` must not must not "no-cache" only
Transfer- must-if must must- must "chunked" only . Transfer- must-if must must- must "chunked" only .
Encoding if Header MUST be present Encoding if Header MUST be present
if Content-Length is if Content-Length is
absent. absent.
Upgrade not not not not Upgrade not not not not
skipping to change at page 17, line 45 skipping to change at page 18, line 4
Accept-Encoding may must empty and per RFC 2068 [rfc2068] Accept-Encoding may must empty and per RFC 2068 [rfc2068]
and IANA registry for content- and IANA registry for content-
codings codings
Accept-Language not not . language information is within Accept-Language not not . language information is within
the application/ipp entity the application/ipp entity
Authorization must-if must per RFC 2068. A client MUST send Authorization must-if must per RFC 2068. A client MUST send
this header when it receives a this header when it receives a
401 "Unauthorized" response and 401 "Unauthorized" response and
does not receive a "Proxy- does not receive a "Proxy-
Authenticate" header. Authenticate" header.
Moore and Turner Expires July 9, 1998
Request-Header Client Server Request Values and Conditions
From not not per RFC 2068. Because RFC From not not per RFC 2068. Because RFC
recommends sending this header recommends sending this header
only with the user's approval, it only with the user's approval, it
is not very useful is not very useful
Host must must per RFC 2068 Host must must per RFC 2068
If-Match not not If-Match not not
If-Modified- not not If-Modified- not not
Since Since
If-None-Match not not If-None-Match not not
If-Range not not If-Range not not
If-Unmodified- not not If-Unmodified- not not
Since Since
Moore and Turner Expires June 19, 1998
Request-Header Client Server Request Values and Conditions
Max-Forwards not not Max-Forwards not not
Proxy- must-if not per RFC 2068. A client MUST send Proxy- must-if not per RFC 2068. A client MUST send
Authorization this header when it receives a Authorization this header when it receives a
401 "Unauthorized" response and a 401 "Unauthorized" response and a
"Proxy-Authenticate" header. "Proxy-Authenticate" header.
Range not not Range not not
Referer not not Referer not not
User-Agent not not User-Agent not not
4.3 Response Headers 4.3 Response Headers
skipping to change at page 18, line 45 skipping to change at page 19, line 5
Warning may may per RFC 2068 Warning may may per RFC 2068
WWW- must-if must per RFC 2068. When a server needs to WWW- must-if must per RFC 2068. When a server needs to
Authenticate authenticate a client. Authenticate authenticate a client.
4.4 Entity Headers 4.4 Entity Headers
The following is a table for the entity headers. The following is a table for the entity headers.
Entity-Header Request Response Values and Conditions Entity-Header Request Response Values and Conditions
Moore and Turner Expires July 9, 1998
Client Server Server Client Client Server Server Client
Allow not not not not Allow not not not not
Content-Base not not not not Content-Base not not not not
Content- may must must must per RFC 2068 and IANA Content- may must must must per RFC 2068 and IANA
Encoding registry for content Encoding registry for content
codings. codings.
Content- not not not not Application/ipp Content- not not not not Application/ipp
Language handles language Language handles language
Content- must-if must must-if must the length of the Content- must-if must must-if must the length of the
Length message-body per RFC Length message-body per RFC
2068. Header MUST be 2068. Header MUST be
Moore and Turner Expires June 19, 1998
Entity-Header Request Response Values and Conditions
Client Server Server Client
present if Transfer- present if Transfer-
Encoding is absent.. Encoding is absent..
Content- not not not not Content- not not not not
Location Location
Content-MD5 may may may may per RFC 2068 Content-MD5 may may may may per RFC 2068
Content-Range not not not not Content-Range not not not not
Content-Type must must must must "application/ipp" Content-Type must must must must "application/ipp"
only only
ETag not not not not ETag not not not not
Expires not not not not Expires not not not not
skipping to change at page 19, line 51 skipping to change at page 20, line 5
are free to advertise services over other ports, in addition to this are free to advertise services over other ports, in addition to this
port, but TCP port 80 MUST minimally be supported for IPP-over-HTTP port, but TCP port 80 MUST minimally be supported for IPP-over-HTTP
services. services.
When IPP-over-HTTP-with-privacy implementations are deployed, these IPP When IPP-over-HTTP-with-privacy implementations are deployed, these IPP
implementations MUST use TCP port 443, and MUST advertise their IPP implementations MUST use TCP port 443, and MUST advertise their IPP
service URI using an "HTTPS" URI scheme. service URI using an "HTTPS" URI scheme.
See further discussion of IPP security concepts in the model document See further discussion of IPP security concepts in the model document
Moore and Turner Expires July 9, 1998
6. References 6. References
[rfc822] Crocker, D., "Standard for the Format of ARPA [rfc822] Crocker, D., "Standard for the Format of ARPA
Internet Text Messages", RFC 822, August 1982. Internet Text Messages", RFC 822, August 1982.
[rfc1123] Braden, S., "Requirements for Internet Hosts - [rfc1123] Braden, S., "Requirements for Internet Hosts -
Application and Support", RFC 1123, October, 1989, Application and Support", RFC 1123, October, 1989,
Moore and Turner Expires June 19, 1998
[rfc1179] McLaughlin, L. III, (editor), "Line Printer Daemon [rfc1179] McLaughlin, L. III, (editor), "Line Printer Daemon
Protocol" RFC 1179, August 1990. Protocol" RFC 1179, August 1990.
[rfc1630] T. Berners-Lee, "Universal Resource Identifiers in WWW: [rfc1630] T. Berners-Lee, "Universal Resource Identifiers in WWW:
A Unifying Syntax for the Expression of Names and Addresses of A Unifying Syntax for the Expression of Names and Addresses of
Objects on the Network as used in the Word-Wide Web", RFC 1630, Objects on the Network as used in the Word-Wide Web", RFC 1630,
June 1994. June 1994.
[rfc1759] Smith, R., Wright, F., Hastings, T., Zilles, S., and [rfc1759] Smith, R., Wright, F., Hastings, T., Zilles, S., and
Gyllenskog, J., "Printer MIB", RFC 1759, March 1995. Gyllenskog, J., "Printer MIB", RFC 1759, March 1995.
skipping to change at page 20, line 53 skipping to change at page 21, line 5
[rfc2069] J. Franks, et al, "An Extension to HTTP: Digest Access [rfc2069] J. Franks, et al, "An Extension to HTTP: Digest Access
Authentication" RFC 2069, January 1997 Authentication" RFC 2069, January 1997
[rfc2119] S. Bradner, "Key words for use in RFCs to Indicate [rfc2119] S. Bradner, "Key words for use in RFCs to Indicate
Requirement Levels", RFC 2119 , March 1997 Requirement Levels", RFC 2119 , March 1997
[rfc2184] N. Freed, K. Moore, "MIME Parameter Value and Encoded [rfc2184] N. Freed, K. Moore, "MIME Parameter Value and Encoded
Word Extensions: Character Sets, Languages, and Continuations", Word Extensions: Character Sets, Languages, and Continuations",
RFC 2184, August 1997, RFC 2184, August 1997,
Moore and Turner Expires July 9, 1998
[rfc2234] D. Crocker et al., "Augmented BNF for Syntax [rfc2234] D. Crocker et al., "Augmented BNF for Syntax
Specifications: ABNF", RFC 2234. November 1997. Specifications: ABNF", RFC 2234. November 1997.
[char] N. Freed, J. Postel: IANA Charset Registration Procedures, Work [char] N. Freed, J. Postel: IANA Charset Registration Procedures, Work
in Progress (draft-freed-charset-reg-02.txt). in Progress (draft-freed-charset-reg-02.txt).
[dpa] ISO/IEC 10175 Document Printing Application (DPA), June 1996. [dpa] ISO/IEC 10175 Document Printing Application (DPA), June 1996.
Moore and Turner Expires June 19, 1998
[iana] IANA Registry of Coded Character Sets: ftp://ftp.isi.edu/in- [iana] IANA Registry of Coded Character Sets: ftp://ftp.isi.edu/in-
notes/iana/assignments/character-sets notes/iana/assignments/character-sets
[ipp-req] Wright, F. D., "Requirements for an Internet Printing [ipp-req] Wright, F. D., "Requirements for an Internet Printing
Protocol:" Protocol:", draft-ietf-ipp-req-01.txt
[ipp-mod] Isaacson, S, deBry, R, Hastings, T, Herriot, R, Powell, [ipp-mod] Isaacson, S, deBry, R, Hastings, T, Herriot, R, Powell,
P, "Internet Printing Protocol/1.0: Model and Semantics" P, "Internet Printing Protocol/1.0: Model and Semantics" , draft-
ietf-ipp-model-09.txt
[ssl] Netscape, The SSL Protocol, Version 3, (Text version 3.02) [ssl] Netscape, The SSL Protocol, Version 3, (Text version 3.02)
November 1996. November 1996.
7. Author's Address 7. Author's Address
Robert Herriot (editor) Paul Moore Robert Herriot (editor) Paul Moore
Sun Microsystems Inc. Microsoft Sun Microsystems Inc. Microsoft
901 San Antonio Road, MPK-17 One Microsoft Way 901 San Antonio Road, MPK-17 One Microsoft Way
Palo Alto, CA 94303 Redmond, WA 98053 Palo Alto, CA 94303 Redmond, WA 98053
skipping to change at page 21, line 46 skipping to change at page 21, line 55
Fax: 208-396-3457 Fax: : 360-817-8436 Fax: 208-396-3457 Fax: : 360-817-8436
Email: sbutler@boi.hp.com Email: rturner@sharplabs.com Email: sbutler@boi.hp.com Email: rturner@sharplabs.com
IPP Mailing List: ipp@pwg.org IPP Mailing List: ipp@pwg.org
IPP Mailing List Subscription: ipp-request@pwg.org IPP Mailing List Subscription: ipp-request@pwg.org
IPP Web Page: http://www.pwg.org/ipp/ IPP Web Page: http://www.pwg.org/ipp/
8. Other Participants: 8. Other Participants:
Chuck Adams - Tektronix Harry Lewis - IBM Chuck Adams - Tektronix Harry Lewis - IBM
Ron Bergman - Data Products Tony Liao - Vivid Image Ron Bergman - Dataproducts Tony Liao - Vivid Image
Keith Carter - IBM David Manchala - Xerox Keith Carter - IBM David Manchala - Xerox
Moore and Turner Expires July 9, 1998
Angelo Caruso - Xerox Carl-Uno Manros - Xerox Angelo Caruso - Xerox Carl-Uno Manros - Xerox
Jeff Copeland - QMS Jay Martin - Underscore Jeff Copeland - QMS Jay Martin - Underscore
Roger Debry - IBM Larry Masinter - Xerox Roger Debry - IBM Larry Masinter - Xerox
Lee Farrell - Canon Ira McDonald, Xerox Lee Farrell - Canon Ira McDonald, Xerox
Sue Gleeson - Digital Bob Pentecost - Hewlett-Packard Sue Gleeson - Digital Bob Pentecost - Hewlett-Packard
Charles Gordon - Osicom Patrick Powell - SDSU Charles Gordon - Osicom Patrick Powell - SDSU
Brian Grimshaw - Apple Jeff Rackowitz - Intermec Brian Grimshaw - Apple Jeff Rackowitz - Intermec
Jerry Hadsell - IBM Xavier Riley - Xerox Jerry Hadsell - IBM Xavier Riley - Xerox
Richard Hart - Digital Gary Roberts - Ricoh Richard Hart - Digital Gary Roberts - Ricoh
Moore and Turner Expires June 19, 1998
Tom Hastings - Xerox Stuart Rowley - Kyocera Tom Hastings - Xerox Stuart Rowley - Kyocera
Stephen Holmstead Richard Schneider - Epson Stephen Holmstead Richard Schneider - Epson
Zhi-Hong Huang - Zenographics Shigern Ueda - Canon Zhi-Hong Huang - Zenographics Shigern Ueda - Canon
Scott Isaacson - Novell Bob Von Andel - Allegro Software Scott Isaacson - Novell Bob Von Andel - Allegro Software
Rich Lomicka - Digital William Wagner - Digital Products Rich Lomicka - Digital William Wagner - Digital Products
David Kellerman - Northlake Jasper Wong - Xionics David Kellerman - Northlake Jasper Wong - Xionics
Software Software
Robert Kline - TrueSpectra Don Wright - Lexmark Robert Kline - TrueSpectra Don Wright - Lexmark
Dave Kuntz - Hewlett-Packard Rick Yardumian - Xerox Dave Kuntz - Hewlett-Packard Rick Yardumian - Xerox
Takami Kurono - Brother Lloyd Young - Lexmark Takami Kurono - Brother Lloyd Young - Lexmark
skipping to change at page 22, line 30 skipping to change at page 22, line 39
9. Appendix A: Protocol Examples 9. Appendix A: Protocol Examples
9.1 Print-Job Request 9.1 Print-Job Request
The following is an example of a Print-Job request with job-name, The following is an example of a Print-Job request with job-name,
copies, and sides specified. copies, and sides specified.
Octets Symbolic Value Protocol field Octets Symbolic Value Protocol field
0x0100 1.0 version 0x0100 1.0 version-number
0x0002 PrintJob operation 0x0002 PrintJob operation-id
0x01 start operation- operation-attributestag 0x00000001 1 request-id
0x01 start operation- operation-attributes-tag
attributes attributes
0x47 charset type value-tag 0x47 charset type value-tag
0x0012 name-length 0x0012 name-length
attributes-charset attributes-charset name attributes-charset attributes-charset name
0x0008 value-length 0x0008 value-length
US-ASCII US-ASCII value US-ASCII US-ASCII value
0x48 natural-language value-tag 0x48 natural-language value-tag
type type
0x001B name-length 0x001B name-length
attributes-natural- attributes-natural- name attributes-natural- attributes-natural- name
language language language language
0x0005 value-length 0x0005 value-length
en-US en-US value en-US en-US value
0x42 name type value-tag 0x42 name type value-tag
0x0008 name-length 0x0008 name-length
job-name job-name name job-name job-name name
Moore and Turner Expires July 9, 1998
Octets Symbolic Value Protocol field
0x0006 value-length 0x0006 value-length
foobar foobar value foobar foobar value
0x02 start job- job-attributes-tag 0x02 start job- job-attributes-tag
attributes attributes
0x21 integer type value-tag 0x21 integer type value-tag
0x0005 name-length 0x0005 name-length
copies copies name copies copies name
0x0004 value-length 0x0004 value-length
0x00000014 20 value 0x00000014 20 value
0x44 keyword type value-tag 0x44 keyword type value-tag
Moore and Turner Expires June 19, 1998
Octets Symbolic Value Protocol field
0x0005 name-length 0x0005 name-length
sides sides name sides sides name
0x0013 value-length 0x0013 value-length
two-sided-long-edge two-sided-long-edge value two-sided-long-edge two-sided-long-edge value
0x03 end-of-attributes end-of-attributes-tag 0x03 end-of-attributes end-of-attributes-tag
%!PS... <PostScript> data %!PS... <PostScript> data
9.2 Print-Job Response (successful) 9.2 Print-Job Response (successful)
Here is an example of a Print-Job response which is successful: Here is an example of a Print-Job response which is successful:
Octets Symbolic Value Protocol field Octets Symbolic Protocol field
Value
0x0100 1.0 version 0x0100 1.0 version-number
0x0000 OK (successful) status-code 0x0000 OK status-code
0x01 start operation- operation-attributes-tag (successful)
0x00000001 1 request-id
0x01 start operation-attributes-tag
operation-
attributes attributes
0x47 charset type value-tag 0x47 charset type value-tag
0x0012 name-length 0x0012 name-length
attributes- attributes- name attributes- attributes- name
charset charset charset charset
0x0008 value-length 0x0008 value-length
US-ASCII US-ASCII value US-ASCII US-ASCII value
0x48 natural-language value-tag 0x48 natural- value-tag
language
type type
0x001B name-length 0x001B name-length
attributes- attributes- name attributes- attributes- name
natural- natural-language natural- natural-
language language language
0x0005 value-length 0x0005 value-length
en-US en-US value en-US en-US value
0x41 text type value-tag 0x41 text type value-tag
0x000E name-length 0x000E name-length
status-message status-message name status-message status- name
message
Moore and Turner Expires July 9, 1998
Octets Symbolic Protocol field
Value
0x0002 value-length 0x0002 value-length
OK OK value OK OK value
0x02 start job- job-attributes-tag 0x02 start job- job-attributes-tag
attributes attributes
0x21 integer value-tag 0x21 integer value-tag
0x0007 name-length 0x0007 name-length
job-id job-id name job-id job-id name
0x0004 value-length 0x0004 value-length
147 147 value 147 147 value
0x45 uri type value-tag 0x45 uri type value-tag
0x0008 name-length 0x0008 name-length
job-uri job-uri name job-uri job-uri name
0x000E value-length 0x000E value-length
http://foo/123 http://foo/123 value http://foo/123 http://foo/1 value
23
0x25 name type value-tag 0x25 name type value-tag
0x0008 name-length 0x0008 name-length
Moore and Turner Expires June 19, 1998
Octets Symbolic Value Protocol field
job-state job-state name job-state job-state name
0x0001 value-length 0x0001 value-length
0x03 pending value 0x03 pending value
0x03 end-of- end-of-attributes-tag 0x03 end-of- end-of-attributes-tag
attributes attributes
9.3 Print-Job Response (failure) 9.3 Print-Job Response (failure)
Here is an example of a Print-Job response which fails because the Here is an example of a Print-Job response which fails because the
printer does not support sides and because the value 20 for copies is printer does not support sides and because the value 20 for copies is
not supported: not supported:
Octets Symbolic Value Protocol field Octets Symbolic Value Protocol field
0x0100 1.0 version 0x0100 1.0 version-number
0x0400 client-error-bad-request status-code 0x0400 client-error-bad- status-code
request
0x00000001 1 request-id
0x01 start operation- operation-attribute tag 0x01 start operation- operation-attribute tag
attributes attributes
0x47 charset type value-tag 0x47 charset type value-tag
0x0012 name-length 0x0012 name-length
attributes- attributes-charset name attributes- attributes-charset name
charset charset
0x0008 value-length 0x0008 value-length
US-ASCII US-ASCII value US-ASCII US-ASCII value
0x48 natural-language type value-tag 0x48 natural-language type value-tag
0x001B name-length 0x001B name-length
attributes- name attributes- attributes-natural- name
natural- language attributes-natural- natural- language
language language
0x0005 value-length 0x0005 value-length
Moore and Turner Expires July 9, 1998
Octets Symbolic Value Protocol field
en-US en-US value en-US en-US value
0x41 text type value-tag 0x41 text type value-tag
0x000E name-length 0x000E name-length
status-message status-message name status-message status-message name
0x000D value-length 0x000D value-length
bad-request bad-request value bad-request bad-request value
0x04 start unsupported- unsupported- attributes- 0x04 start unsupported- unsupported- attributes-tag
attributes tag attributes
0x21 integer type value-tag 0x21 integer type value-tag
0x000C name-length 0x000C name-length
job-k-octets job-k-octets name job-k-octets job-k-octets name
0x0004 value-length 0x0004 value-length
0x001000000 16777216 value 0x001000000 16777216 value
0x21 integer type value-tag 0x21 integer type value-tag
0x0005 name-length 0x0005 name-length
copies copies name copies copies name
0x0004 value-length 0x0004 value-length
0x00000014 20 value 0x00000014 20 value
0x10 unsupported (type) value-tag 0x10 unsupported (type) value-tag
0x0005 name-length 0x0005 name-length
Moore and Turner Expires June 19, 1998
Octets Symbolic Value Protocol field
sides sides name sides sides name
0x0000 value-length 0x0000 value-length
0x03 end-of-attributes end-of-attributes-tag 0x03 end-of-attributes end-of-attributes-tag
9.4 Print-URI Request 9.4 Print-URI Request
The following is an example of Print-URI request with copies and job- The following is an example of Print-URI request with copies and job-
name parameters. name parameters.
Octets Symbolic Value Protocol field Octets Symbolic Value Protocol field
0x0100 1.0 version 0x0100 1.0 version-number
0x0003 Print-URI operation 0x0003 Print-URI operation-id
0x00000001 1 request-id
0x01 start operation- operation-attributes-tag 0x01 start operation- operation-attributes-tag
attributes attributes
0x47 charset type value-tag 0x47 charset type value-tag
0x0012 name-length 0x0012 name-length
attributes-charset attributes-charset name attributes-charset attributes- name
charset
0x0008 value-length 0x0008 value-length
US-ASCII US-ASCII value US-ASCII US-ASCII value
0x48 natural-language value-tag 0x48 natural-language value-tag
type type
0x001B name-length 0x001B name-length
attributes-natural- attributes- name attributes-natural- attributes- name
language natural-language language natural-language
0x0005 value-length 0x0005 value-length
en-US en-US value en-US en-US value
0x45 uri type value-tag 0x45 uri type value-tag
0x000A name-length 0x000A name-length
document-uri document-uri name document-uri document-uri name
Moore and Turner Expires July 9, 1998
Octets Symbolic Value Protocol field
0x11 value-length 0x11 value-length
ftp://foo.com/foo ftp://foo.com/foo value ftp://foo.com/foo ftp://foo.com/foo value
0x42 name type value-tag 0x42 name type value-tag
0x0008 name-length 0x0008 name-length
job-name job-name name job-name job-name name
0x0006 value-length 0x0006 value-length
foobar foobar value foobar foobar value
0x02 start job- job-attributes-tag 0x02 start job- job-attributes-tag
attributes attributes
0x21 integer type value-tag 0x21 integer type value-tag
skipping to change at page 26, line 5 skipping to change at page 26, line 30
0x0004 value-length 0x0004 value-length
0x00000001 1 value 0x00000001 1 value
0x03 end-of-attributes end-of-attributes-tag 0x03 end-of-attributes end-of-attributes-tag
%!PS... <PostScript> data %!PS... <PostScript> data
9.5 Create-Job Request 9.5 Create-Job Request
The following is an example of Create-Job request with no parameters and The following is an example of Create-Job request with no parameters and
no attributes no attributes
Moore and Turner Expires June 19, 1998
Octets Symbolic Value Protocol field Octets Symbolic Value Protocol field
0x0100 1.0 version 0x0100 1.0 version-number
0x0005 Create-Job operation 0x0005 Create-Job operation-id
0x00000001 1 request-id
0x01 start operation-attributes-tag 0x01 start operation-attributes-tag
operation- operation-
attributes attributes
0x47 charset type value-tag 0x47 charset type value-tag
0x0012 name-length 0x0012 name-length
attributes- attributes- name attributes- attributes- name
charset charset charset charset
0x0008 value-length 0x0008 value-length
US-ASCII US-ASCII value US-ASCII US-ASCII value
0x48 natural- value-tag 0x48 natural- value-tag
skipping to change at page 26, line 36 skipping to change at page 26, line 60
en-US en-US value en-US en-US value
0x03 end-of- end-of-attributes-tag 0x03 end-of- end-of-attributes-tag
attributes attributes
9.6 Get-Jobs Request 9.6 Get-Jobs Request
The following is an example of Get-Jobs request with parameters but no The following is an example of Get-Jobs request with parameters but no
attributes. attributes.
Octets Symbolic Value Protocol field Octets Symbolic Value Protocol field
0x0100 1.0 version 0x0100 1.0 version-number
0x000A Get-Jobs operation
Moore and Turner Expires July 9, 1998
Octets Symbolic Value Protocol field
0x000A Get-Jobs operation-id
0x00000123 0x123 request-id
0x01 start operation- operation-attributes- 0x01 start operation- operation-attributes-
attributes tag attributes tag
0x47 charset type value-tag 0x47 charset type value-tag
0x0012 name-length 0x0012 name-length
attributes-charset attributes-charset name attributes-charset attributes-charset name
0x0008 value-length 0x0008 value-length
US-ASCII US-ASCII value US-ASCII US-ASCII value
0x48 natural-language value-tag 0x48 natural-language value-tag
type type
0x001B name-length 0x001B name-length
skipping to change at page 27, line 4 skipping to change at page 27, line 33
en-US en-US value en-US en-US value
0x21 integer type value-tag 0x21 integer type value-tag
0x0005 name-length 0x0005 name-length
limit limit name limit limit name
0x0004 value-length 0x0004 value-length
0x00000032 50 value 0x00000032 50 value
0x44 keyword type value-tag 0x44 keyword type value-tag
0x0014 name-length 0x0014 name-length
requested-attributes requested-attributes name requested-attributes requested-attributes name
0x0006 value-length 0x0006 value-length
Moore and Turner Expires June 19, 1998
Octets Symbolic Value Protocol field
job-id job-id value job-id job-id value
0x44 keyword type value-tag 0x44 keyword type value-tag
0x0000 additional value name-length 0x0000 additional value name-length
0x0008 value-length 0x0008 value-length
job-name job-name value job-name job-name value
0x44 keyword type value-tag 0x44 keyword type value-tag
0x0000 additional value name-length 0x0000 additional value name-length
0x000F value-length 0x000F value-length
document-format document-format value document-format document-format value
0x03 end-of-attributes end-of-attributes-tag 0x03 end-of-attributes end-of-attributes-tag
9.7 Get-Jobs Response 9.7 Get-Jobs Response
The following is an of Get-Jobs response from previous request with 3 The following is an of Get-Jobs response from previous request with 3
jobs. The Printer returns no information about the second job. jobs. The Printer returns no information about the second job.
Octets Symbolic Value Protocol field Octets Symbolic Value Protocol field
0x0100 1.0 version 0x0100 1.0 version-number
0x0000 OK (successful) status-code 0x0000 OK (successful) status-code
0x00000123 0x123 request-id (echoed back)
0x01 start operation- operation-attribute-tag 0x01 start operation- operation-attribute-tag
attributes attributes
0x47 charset type value-tag 0x47 charset type value-tag
0x0012 name-length 0x0012 name-length
attributes- attributes-charset name attributes- attributes-charset name
charset charset
0x0008 value-length 0x0008 value-length
ISO-8859-1 ISO-8859-1 value ISO-8859-1 ISO-8859-1 value
Moore and Turner Expires July 9, 1998
Octets Symbolic Value Protocol field
0x48 natural-language value-tag 0x48 natural-language value-tag
type type
0x001B name-length 0x001B name-length
attributes- attributes-natural- name attributes- attributes-natural- name
natural-language language natural-language language
0x0005 value-length 0x0005 value-length
en-US en-US value en-US en-US value
0x41 text type value-tag 0x41 text type value-tag
0x000E name-length 0x000E name-length
status-message status-message name status-message status-message name
skipping to change at page 28, line 4 skipping to change at page 28, line 34
0x001B name-length 0x001B name-length
attributes- attributes-natural- name attributes- attributes-natural- name
natural-language language natural-language language
0x0005 value-length 0x0005 value-length
fr-CA fr-CA value fr-CA fr-CA value
0x21 integer type value-tag 0x21 integer type value-tag
0x0006 name-length 0x0006 name-length
job-id job-id name job-id job-id name
0x0004 value-length 0x0004 value-length
147 147 value 147 147 value
Moore and Turner Expires June 19, 1998
Octets Symbolic Value Protocol field
0x42 name type value-tag 0x42 name type value-tag
0x0008 name-length 0x0008 name-length
job-name job-name name job-name job-name name
0x0003 name-length 0x0003 name-length
fou fou name fou fou name
0x02 start job-attributes job-attributes-tag 0x02 start job-attributes job-attributes-tag
(2nd object) (2nd object)
0x02 start job-attributes job-attributes-tag 0x02 start job-attributes job-attributes-tag
(3rd object) (3rd object)
0x21 integer type value-tag 0x21 integer type value-tag
skipping to change at page 28, line 32 skipping to change at page 29, line 5
0x35 nameWithLanguage value-tag 0x35 nameWithLanguage value-tag
0x0008 name-length 0x0008 name-length
job-name job-name name job-name job-name name
0x0012 value-length 0x0012 value-length
0x0005 sub-value-length 0x0005 sub-value-length
de-CH de-CH value de-CH de-CH value
0x0009 sub-value-length 0x0009 sub-value-length
isch guet isch guet name isch guet isch guet name
0x03 end-of-attributes end-of-attributes-tag 0x03 end-of-attributes end-of-attributes-tag
Moore and Turner Expires July 9, 1998
10. Appendix B: Hints to implementors using IPP with SSL3 10. Appendix B: Hints to implementors using IPP with SSL3
WARNING: Clients and IPP objects using intermediate secure connection WARNING: Clients and IPP objects using intermediate secure connection
protocol solutions such as IPP in combination with Secure Socket Layer protocol solutions such as IPP in combination with Secure Socket Layer
Version 3 (SSL3), which are developed in advance of IPP and TLS Version 3 (SSL3), which are developed in advance of IPP and TLS
standardization, might not be interoperable with IPP and TLS standards- standardization, might not be interoperable with IPP and TLS standards-
conforming clients and IPP objects. conforming clients and IPP objects.
An assumption is that the URI for a secure IPP Printer object has been 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 found by means outside the IPP printing protocol, via a directory
skipping to change at page 29, line 5 skipping to change at page 29, line 37
the connection as returned by SSL to the user. The status values are the connection as returned by SSL to the user. The status values are
explained in section 5.4.2 of the SSL document [ssl]. explained in section 5.4.2 of the SSL document [ssl].
A session-id may also be retained to later resume a session. The SSL A session-id may also be retained to later resume a session. The SSL
handshake protocol may also require the cipher specifications handshake protocol may also require the cipher specifications
supported by the client, key length of the ciphers, compression supported by the client, key length of the ciphers, compression
methods, certificates, etc. These should be sent to the server and methods, certificates, etc. These should be sent to the server and
hence should be available to the IPP client (although as part of hence should be available to the IPP client (although as part of
administration features). administration features).
Moore and Turner Expires June 19, 1998
disconnect (session) disconnect (session)
to disconnect a particular session. to disconnect a particular session.
The session-id available from the "connect" could be used. The session-id available from the "connect" could be used.
resume (session) resume (session)
to reconnect using a previous session-id. to reconnect using a previous session-id.
skipping to change at page 29, line 31 skipping to change at page 30, line 5
"application/ipp" "application/ipp"
This appendix contains the information that IANA requires for This appendix contains the information that IANA requires for
registering a MIME media type. The information following this paragraph registering a MIME media type. The information following this paragraph
will be forwarded to IANA to register application/ipp whose contents are will be forwarded to IANA to register application/ipp whose contents are
defined in Section 3 "Encoding of the Operation Layer" in this defined in Section 3 "Encoding of the Operation Layer" in this
document. document.
MIME type name: application MIME type name: application
Moore and Turner Expires July 9, 1998
MIME subtype name: ipp MIME subtype name: ipp
A Content-Type of "application/ipp" indicates an Internet Printing A Content-Type of "application/ipp" indicates an Internet Printing
Protocol message body (request or response). Currently there is one Protocol message body (request or response). Currently there is one
version: IPP/1.0, whose syntax is described in Section 3 "Encoding of version: IPP/1.0, whose syntax is described in Section 3 "Encoding of
the Operation Layer" of [IPP-PRO], and whose semantics are described in the Operation Layer" of [IPP-PRO], and whose semantics are described in
[IPP-MOD] [IPP-MOD]
Required parameters: none Required parameters: none
skipping to change at page 30, line 4 skipping to change at page 30, line 36
IPP/1.0 protocol requests/responses do not introduce any security risks IPP/1.0 protocol requests/responses do not introduce any security risks
not already inherent in the underlying transport protocols. Protocol not already inherent in the underlying transport protocols. Protocol
mixed-version interworking rules in [IPP-MOD] as well as protocol mixed-version interworking rules in [IPP-MOD] as well as protocol
encoding rules in [IPP-PRO] are complete and unambiguous. encoding rules in [IPP-PRO] are complete and unambiguous.
Interoperability considerations: Interoperability considerations:
IPP/1.0 requests (generated by clients) and responses (generated by IPP/1.0 requests (generated by clients) and responses (generated by
servers) MUST comply with all conformance requirements imposed by the servers) MUST comply with all conformance requirements imposed by the
normative specifications [IPP-MOD] and [IPP-PRO]. Protocol encoding normative specifications [IPP-MOD] and [IPP-PRO]. Protocol encoding
Moore and Turner Expires June 19, 1998
rules specified in [IPP-PRO] are comprehensive, so that interoperability rules specified in [IPP-PRO] are comprehensive, so that interoperability
between conforming implementations is guaranteed (although support for between conforming implementations is guaranteed (although support for
specific optional features is not ensured). Both the "charset" and specific optional features is not ensured). Both the "charset" and
"natural-language" of all IPP/1.0 attribute values of syntax "text" or "natural-language" of all IPP/1.0 attribute values of syntax "text" or
"name" are explicit within IPP protocol requests/responses (without "name" are explicit within IPP protocol requests/responses (without
recourse to any external information in HTTP, SMTP, or other message recourse to any external information in HTTP, SMTP, or other message
transport headers). transport headers).
Published specification: Published specification:
[IPP-MOD] R. deBry, T. Hastings, R. Herriot, S. Isaacson, P. Powell, [IPP-MOD] R. deBry, T. Hastings, R. Herriot, S. Isaacson, P. Powell,
"Internet Printing Protocol/1.0: Model and Semantics", work in progress "Internet Printing Protocol/1.0: Model and Semantics", work in progress
<draft-ietf-ipp-model-08.txt>, December 1997. <draft-ietf-ipp-model-09.txt>, January 1998.
[IPP-PRO] R. Herriot , S. Butler, P. Moore, R. Turner, "Internet [IPP-PRO] R. Herriot , S. Butler, P. Moore, R. Turner, "Internet
Printing Protocol/1.0: Protocol Specification", work in progress <draft- Printing Protocol/1.0: Protocol Specification", work in progress <draft-
ietf-ipp-protocol-04.txt>, December 1997. ietf-ipp-protocol-05.txt>, January 1998.
Applications which use this media type: Applications which use this media type:
Internet Printing Protocol (IPP) print clients and print servers, Internet Printing Protocol (IPP) print clients and print servers,
communicating using HTTP/1.1 (see [IPP-PRO]), SMTP/ESMTP, FTP, or other communicating using HTTP/1.1 (see [IPP-PRO]), SMTP/ESMTP, FTP, or other
transport protocol. Messages of type "application/ipp" are self- transport protocol. Messages of type "application/ipp" are self-
contained and transport-independent, including "charset" and "natural- contained and transport-independent, including "charset" and "natural-
language" context for any "text" or "name" attributes. language" context for any "text" or "name" attributes.
Moore and Turner Expires July 9, 1998
Person & email address to contact for further information: Person & email address to contact for further information:
Scott A. Isaacson Scott A. Isaacson
Novell, Inc. Novell, Inc.
122 E 1700 S 122 E 1700 S
Provo, UT 84606 Provo, UT 84606
Phone: 801-861-7366 Phone: 801-861-7366
Fax: 801-861-4025 Fax: 801-861-4025
Email: sisaacson@novell.com Email: sisaacson@novell.com
skipping to change at page 31, line 5 skipping to change at page 31, line 33
Palo Alto, CA 94303 Palo Alto, CA 94303
Phone: 650-786-8995 Phone: 650-786-8995
Fax: 650-786-7077 Fax: 650-786-7077
Email: robert.herriot@eng.sun.com Email: robert.herriot@eng.sun.com
Intended usage: Intended usage:
COMMON COMMON
Moore and Turner Expires June 19, 1998
12. Appendix D: Full Copyright Statement 12. Appendix D: Full Copyright Statement
Copyright (C)The Internet Society (1997). All Rights Reserved Copyright (C)The Internet Society (1998). All Rights Reserved
This document and translations of it may be copied and furnished to This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it or others, and derivative works that comment on or otherwise explain it or
assist in its implementation may be prepared, copied, published and assist in its implementation may be prepared, copied, published and
distributed, in whole or in part, without restriction of any kind, distributed, in whole or in part, without restriction of any kind,
provided that the above copyright notice and this paragraph are included provided that the above copyright notice and this paragraph are included
on all such copies and derivative works. However, this document itself 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 may not be modified in any way, such as by removing the copyright notice
or references to the Internet Society or other Internet organizations, or references to the Internet Society or other Internet organizations,
except as needed for the purpose of developing Internet standards in except as needed for the purpose of developing Internet standards in
skipping to change at line 1613 skipping to change at line 1640
The limited permissions granted above are perpetual and will not be The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns. revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an "AS This document and the information contained herein is provided on an "AS
IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK
FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT
INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
FITNESS FOR A PARTICULAR PURPOSE. FITNESS FOR A PARTICULAR PURPOSE.
Moore and Turner Expires June 19, 1998 Moore and Turner Expires July 9, 1998
 End of changes. 

This html diff was produced by rfcdiff 1.25, available from http://www.levkowetz.com/ietf/tools/rfcdiff/