Attributes
introduction
Here are some readable attributes and their values, as described in RFC 2911.
Warning
attributes names returned by print-ipp are written with underscores
and not with dashes (which are interpreted like minus operation
by PHP).
eg: 'printer-uri'
will be written 'printer_uri'.
This rewriting do not affects attributes data
common attributes
(charset)
in which charset is returned the response
(naturalLanguage)
in which language is returned the response
Job Attributes
Job description attributes
(uri)
Uniform Resource Identifier of the job
-
this attribute defined job unique identification
and can be used in
cancelJob, getJobAttributes, holdJob,
releaseJob, restartJob and setJobAttributes
operations.
(integer(1:MAX))
- id nbr of the job
(uri)
- which Printer
object has created the Job object
(name(MAX))
- self-explanatory
(name(MAX))
- who created the job
(type1 enum)
- job's current state
(1set Of type2 keyword)
- self-explanatory
(text(MAX))
- self-explanatory
(1set Of text(MAX))
- self-explanatory
(1set Of text(MAX))
-
especially for printUri operation, returns
error code of given protocol and document uri,
eg: (404) http://www.foobar.com/mydocument.ps
[ encountered a 404 http error (document not found) ]
(integer(0:MAX))
- self-explanatory
(name(127))
- Useful when a printer objects
support multiple devices (fan-out).
Event Time Job Description Attributes
(integer(MIN:MAX))
- self-explanatory
(integer(MIN:MAX))
- self-explanatory
(integer(MIN:MAX))
- self-explanatory
(integer(1:MAX))
- printer uptime
(dateTime)
- self-explanatory
(dateTime)
- self-explanatory
(dateTime)
- self-explanatory
(integer(0:MAX))
- Jobs count before to process this one
(text(127))
- self-explanatory
Job Size Attributes
(integer(0:MAX))
- self-explanatory
(integer(0:MAX))
- total number of impressions
- an impression is the image
(can be more than one print-stream page, see number-up)
onto a single media page.
(integer(0:MAX))
- the
total number of media sheets to be
produced for this job
Job Progress Attributes
(integer(0:MAX))
- self-explanatory
(integer(0:MAX))
- the impressions completed
includes interpreting, marking, and
stacking the output
(integer(0:MAX))
- self-explanatory
Printer Attributes
Printer Description Attributes
(1set Of uri)
- printer uri
(1set Of type2 keyword)
- authentication mechanism (if any)
same count than printer-uri-supported
(1set Of type2 keyword)
- indicate the security mechanisms
(if any) used for each URI listed
in "printer-uri-supported"
(name(127))
- self-explanatory
(text(127))
- where is the printer, physically
(text(127))
- descriptive information about
the printer object
(uri)
- URI of printer's information
(uri)
- contains a URI to use to locate the driver
installer for the printer
(uri)
- manufacturer URI of printer information
(type1 enum)
- self-explanatory
(1set Of type2 keyword)
- self-explanatory
(text(MAX))
- self-explanatory
(1set Of type2 keyword)
- 1.0 or/and 1.1
(1set Of type2 enum)
- self-explanatory
(boolean)
- self-explanatory
(charset)
- in which charset are sent 'text' and 'name'
information (nothing to do with printed document)
(1set Of charset)
- Idem (s/sent/can be sent/). at least UTF-8
(naturalLanguage)
- identifies the natural language that
the Printer object has been configured to represent
'text' and 'name' printer attributes that are set
by the operator, system
administrator, or manufacturer (i.e. printer-location,
printer-info ...)
(1set Of naturalLanguage)
- see above
(mimeMediaType)
- document format that
the Printer object has been configured to assume
if the client does not supply a "document-format"
operation attribute (MIME type, like 'application/pdf')
(1set Of mimeMediaType)
- see above
(boolean)
- self-explanatory
(integer(0:MAX))
- number of jobs that are either
'pending', 'processing', 'pending-held', or
'processing-stopped'
(text(127))
- end user information or
status of the printer
(boolean)
- self-explanatory
(1set Of uriScheme)
- URI schemes supported by
printUri operation
if printUri is supported, at least ftp
(type2 keyword)
- ability for a particular printer
implementation to either attempt to override
document data instructions with IPP
attributes or not
(integer(1:MAX))
- self-explanatory
(dateTime)
- self-explanatory
(integer(1:MAX))
- the minimum time (in seconds) that
the Printer object waits for additional sendDocument or
sendURI operations to follow a still-open Job object
before taking any recovery actions
(1set Of type3 keyword)
- standard values: 'none', 'deflate'
(ZIP public domain),
'gzip', 'compress' (RFC 1977 UNIX compression
technology)
(rangeOfInteger(0:MAX))
- max size of job
(rangeOfInteger(0:MAX))
- max pages of job
(rangeOfInteger(0:MAX))
- max sheets
(integer(0:MAX))
- self-explanatory
(integer(0:MAX))
- self-explanatory
Copyrights
RFC 2911 Copyright
Copyright (C) The Internet Society (2000). All Rights Reserved.
Rewriting: Copyright © 2006 Thomas Harding.
These files are free software; you can redistribute them and/or modify
them under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This documentation is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this documentation; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA