host unspecified conversion; job-
originating-host may be the
mapper's host
copies copies the mapper shall assume the
value of copies precedes the
string "copies of "; otherwise,
the value of copies is 1.
NOTE: This specification does not define how the mapper maps the LPD
Printer-name operand to the IPP printer-uri operation attribute.
RFC 2569 Mapping between LPD and IPP Protocols April 1999
3.5 Remove jobs
Command syntax:
remove-jobs = %x05 printer-name SP agent
*(SP(user-name / job-number)) LF
The agent operand is the user-name of the user initiating the
remove-jobs command. The special user-name 'root' indicates a
privileged user who can remove jobs whose user-name differs from the
agent.
The mapper SHALL issue one Cancel-Job operation for each job
referenced by the remove-jobs command. Each job-number in the
remove-jobs command references a single job. Each user-name in the
remove-jobs command implicitly references all jobs owned by the
specified user. The active job is implicitly referenced when the
remove-jobs command contains neither job-numbers nor user-names. The
mapper MAY use Get-Jobs to determine the job-uri of implicitly
referenced jobs.
The mapper SHALL not use the agent name of 'root' when end-users
cancel their own jobs. Violation of this rule creates a potential
security violation, and it may cause the printer to issue a
notification that misleads a user into thinking that some other
person canceled the job.
If the agent of a remove-jobs command for a job J is the same as the
user name specified with the 'P' function in the control file for job
J, then the mapper SHALL ensure that the initiator of the Cancel-Job
command for job J is the same as job-originating-user for job J.
Note: This requirement means that a mapper must be consistent in who
the receiver perceives as the initiator of IPP operations. The mapper
either acts as itself or acts on behalf of another user. The latter
is preferable if it is possible. This consistency is necessary
between Print-Job/Create-Job and Cancel-Job in order for Cancel-Job
to work, but it is also desirable for other operations. For example,
Get-Jobs may give more information about job submitted by the
initiator of this operation.
NOTE: This specification does not define how the mapper maps: (1) the
LPD printer-name to the IPP "printer-uri" or (2) the LPD job-number
to the IPP "job-uri".
NOTE: This specification does not specify how the mapper maps the LPD
user-name to the IPP job-originating-user because the mapper may use
its own user-name with jobs.
RFC 2569 Mapping between LPD and IPP Protocols April 1999
4. Mapping of LPD Control File Lines to IPP Operation and Job Template
Attributes
This section describes the mapping from LPD control file lines
(called 'functions') to IPP operation attributes and job template
attributes. The mapper receives the control file lines via the LPD
receive-control-file sub-command. Each of the LPD functions appear
as sub-sections of section 7 of RFC 1179.
In LPD control file lines, the text operands have a maximum length of
31 or 99 while IPP operation attribute and job template attribute
values have a maximum of 255 or 1023 octets, depending on the
attribute syntax. Therefore, no data is lost.
The mapper converts each supported LPD function to its corresponding
IPP operation or job template attribute as defined by tables in the
subsections that follow. These subsections group functions according
to whether they are:
- required with a job,
- optional with a job
- required with each document.
=7= |