In the tables below, each LPD value is given a name, such as 'h'. If
an IPP value uses the LPD value, then the IPP value column contains
the LPD name, such as 'h' to denote this. Otherwise, the IPP value
column specifies the literal value.
4.1 Required Job Functions
The following LPD functions MUST be in a received LPD job. The mapper
SHALL receive each of the following LPD functions and SHALL include
the information as a operation or job template attribute with each
IPP job. The functions SHOULD be in the order 'H', 'P' and they
SHOULD be the first two functions in the control file, but they MAY
be anywhere in the control file and in any order:
LPD function IPP
name value description name value
H h Originating Host h (in security layer)
P u User identification requesting- u (and in security
user-name layer)
none ipp- 'true'
attribute-
fidelity
RFC 2569 Mapping between LPD and IPP Protocols April 1999
A mapper MAY send its own host rather than the client's host, and a
mapper MAY send its own user-name as user identification rather than
the client user. But in any case, the values sent SHALL be compatible
with the Cancel-Job operation. The IPP operation MAY have no way to
specify an originating host-name.
The mapper SHALL include ipp-attribute-fidelity = true so that it
doesn't have to determine which attributes a printer supports.
4.2 Optional Job Functions
The following LPD functions MAY be present in a received job. These
functions SHOULD follow the required job functions and precede the
document functions, but they MAY be anywhere in the control file.
If the mapper receives such an LPD function, the mapper SHALL include
the corresponding IPP attribute with the value converted as specified
in the table below. If the mapper does not receive such an LPD
attribute, the mapper SHALL NOT include the corresponding IPP
attribute, except the 'L' LPD function whose absence has a special
meaning as noted in the table.
LPD function IPP
name value description name value
J j Job name for job-name j
banner page
L l Print banner page job-sheets 'standard' if 'L' is
present
'none' if 'L' is present
M m Mail When Printed IPP has no notification
mechanism. To support
this LPD feature, the
gateway must poll using
the Get-Job-Attributes
operation.
4.3 Required Document Functions
The mapper SHALL receive one set of the required document functions
with each copy of a document, and SHALL include the converted
information as operation or job template attributes with each IPP
document.
If the control file contains required and recommended document
functions, the required functions SHOULD precede the recommended ones
and if the job contains multiple documents, all the functions for
RFC 2569 Mapping between LPD and IPP Protocols April 1999
each document are grouped together as shown in the example of section
6.3 "Required Document Functions". However, the document functions
MAY be in any order.
LPD function IPP
name value description name value
f fff Print formatted document-format 'application/octet-
file stream'
l fff Print file leaving document-format 'application/octet-
=8= |