📄 rfc2708.txt
字号:
jmJobSubmissionID table should not be needed by a management application. See Section 1.0.4.2 jmJobIndex Mapped to IPP The job index (jmJobIndex) assigned by the SNMP job monitoring agent is returned to the client by IPP as the job-id job description attribute. (Since IPP does not require consecutively generated job- ids, the agent may receive jobs from multiple clients and can assign jmJobIndex in an ascending sequence independent of the submitting job client.) The IPP job-id must be restricted to the range of 1 to 99,999,999 (decimal) to allow the value to be properly represented in jmJobSubmissionID.Bergman Informational [Page 7]RFC 2708 Job Submission Protocol Mapping November 19994.3 Other MIB Objects Mapped to IPP MIB Object | IPP Job attribute ---------------------------------+----------------------------------- jmJobState | job-state jmJobStateReasons1 | job-state-reasons (note 1) jmNumberOfInterveningJobs | number-of-intervening-jobs jmJobKOctetsPerCopyRequested | job-k-octets jmJobKOctetsProcessed | job-k-octets-processed jmJobImpressionsPerCopyRequested | job-impressions jmJobImpressionsCompleted | job-impressions-completed jmJobOwner | job-originating-user-name Notes: ------ 1. jmJobStateReasons1 is a bit map which can describe up to 31 job state reasons. Also the IPP "job-state-reasons" attribute is a multi-valued attribute with each value being a keyword. The IPP condition may change multiple bits in this object. The IPP "job- state-reasons" attribute may also change one or more of the jobStateReasonsN attributes (see section 4.4).4.4 The Attribute Group Mapped to IPP The following mappings are required if the listed IPP job template attribute is provided.Bergman Informational [Page 8]RFC 2708 Job Submission Protocol Mapping November 1999MIB attribute | IPP job attribute | Data type---------------------------+------------------------------+-------------jobStateReasonsN(N=2, 3, 4)| job-state-reasons (note 3) | IntegerjobCodedCharSet | attributes-charset (note 1) | Octet StringjobNaturalLanguageTag | attributes-natural-language | Octet StringjobURI | job-uri | Octet StringjobName | job-name | Octet StringphysicalDevice | output-device-assigned | Octet StringnumberOfDocuments | number-of-documents | IntegerjobPriority | job-priority | IntegerjobHoldUntil | job-hold-until | Octet Stringsides | sides (note 2) | Integerfinishing | finishings | IntegerprintQualityRequested | print-quality | IntegerprinterResolutionRequested | printer-resolution | IntegerjobCopiesRequested | copies (note 4) | IntegerdocumentCopiesRequested | copies (note 4) | IntegerjobCollationType | multiple-document-handling | IntegersheetsRequested | job-media-sheets | IntegersheetsCompleted | job-media-sheets-completed | IntegermediumRequested | media | Octet StringjobSubmissionTime | time-at-submission | IntegerjobStartedProcessingTime | time-at-processing | IntegerjobCompletionTime | time-at-completed | Integer Notes: ------ 1. jobCodedCharSet is an enum from the IANA registry which is also used in the Printer MIB. The IPP attributes-charset is the name (MIME preferred name) of the character set. 2. The Job MIB sides attribute uses the integer values "1" and "2". The IPP sides attribute uses three keywords. 3. jobStateReasonsN are three attributes (N=2, 3, 4). Also the IPP "job-state-reasons" attribute is a multi-valued attribute with each value being a keyword. The IPP condition may change multiple bits in one or more of these Job MIB attributes. See also jmJobStateReasons1 in section 4.3. 4. The IPP "copies" attribute maps to the Job MIB: (1) jobCopiesRequested when the job has only one document OR IPP "multiple-document-handling" is 'single-valued' (2) documentCopiesRequested, in which case the MIB value is the total number of document copies that the job will produce as a whole.Bergman Informational [Page 9]RFC 2708 Job Submission Protocol Mapping November 19995.0 INTELLIGENT PRINTER DATA STREAM (IPDS) The IPDS datastream facilitates a close relationship between the print supervisor (Print Services Facility - PSF) and the printer. There are PSF applications for UNIX, Windows, OS/2, OS/400 and host operating systems such as VM, MVS and VSE. Together, PSF and IPDS represent a complete, mature and robust job management framework which includes font and resource management, page progress tracking, job cancellation, complete error recovery and end-user notification. Because PSF and the printer correspond via the use of locally assigned ID苨, there is a limited amount of clear text information provided during submission for use by the Job MIB.5.1 jmJobSubmissionId Mapped to IPDS For IPDS on the MVS or VSE platform: octet 1: 'E' octets 2-40: Contains bytes 2-27 of the XOH Define Group Boundary Group ID triplet. Octet position 2 must carry the value x'01'. Bytes 28-40 must be filled with spaces. octets 41-48: Contains a decimal (ASCII coded) representation of the jmJobIndex assigned by the agent. Leading zeros shall be inserted to fill the entire 8 octet field. For IPDS on the VM platform: octet 1: 'F' octets 2-40: Contains bytes 2-31 of the XOH Define Group Boundary Group ID triplet. Octet position 2 must carry the value x'02'. Bytes 32-40 must be filled with spaces. octets 41-48: Contains a decimal (ASCII coded) representation of the jmJobIndex assigned by the agent. Leading zeros shall be inserted to fill the entire 8 octet field. For IPDS on the OS/400 platform: octet 1: 'G' octets 2-40: Contains bytes 2-36 of the XOH Define Group Boundary Group ID triplet. Octet position 2 must carry the value x'03'. Bytes 37-40 must be filled with spaces.Bergman Informational [Page 10]RFC 2708 Job Submission Protocol Mapping November 1999 octets 41-48: Contains a decimal (ASCII coded) representation of the jmJobIndex assigned by the agent. Leading zeros shall be inserted to fill the entire 8 octet field.5.2 The Attribute Group Mapped to IPDSFor MVS/VSE:MIB attribute | IPDS XOH DGB Group ID | Data type----------------------------------+-----------------------+-------------jobSourcePlatformType sptMVS(7) | Byte 2 = x'01' | IntegerjobName | Bytes 4-11 | Octet StringFor VM:MIB attribute | IPDS XOH DGB Group ID | Data type----------------------------------+-----------------------+-------------jobSourcePlatformType sptVM(8) | Byte 2 = x'02' | IntegerfileName | Bytes 4-11 | Octet StringFor OS/400:MIB attribute | IPDS XOH DGB Group ID | Data type----------------------------------+-----------------------+-------------jobSourcePlatformType sptOS400(9) | byte 2 = x'03' | IntegerfileName | Bytes 23-32 | Octet StringjobName | Bytes 37-46 | Octet String6.0 DOCUMENT PRINTING APPLICATION (DPA) The ISO 10175 Document Printing Application (DPA) [DPA] supports printing using any one of the three possible configurations. For configuration 2, the mapping defined herein is performed on a server. Otherwise, the mapping is performed on an agent within the printer.6.1 jmJobSubmissionID Mapped to DPA DPA contains a rich set of parameters which allow several methods of creating the jmJobSubmissionID object. To prevent interoperability problems, the preferred method is to use the DPA job-owner attribute as follows:Bergman Informational [Page 11]RFC 2708 Job Submission Protocol Mapping November 1999 octet 1: '0' octets 2-40: Contains the DPA job-owner attribute supplied by the submitter. If the job-owner is less than 40 octets, the left-most character in the string shall appear in octet position 2. Any unused portion of this field shall be filled with spaces. Otherwise, only the last 39 bytes shall be included. octets 41-48: Contains an 8-digit sequential decimal number.6.2 jmJobIndex Mapped to DPA The job index (jmJobIndex) assigned by the SNMP job monitoring agent is returned to the client by DPA as a decimal digit string as the value of the DPA job-identifier attribute. (Since DPA does not require consecutively generated job-identifiers, the agent may receive jobs from multiple clients and can assign the jmJobIndex in an ascending sequence independent of the submitting job client.) The DPA job-identifier must be restricted to the range of 1 to 99,999,999 (decimal) to allow the value to be properly represented in jmJobSubmissionID. NOTE - Since DPA returns the "job-identifier" attribute with the jmJobIndex value for a job when the job is submitted, the use of the jmJobSubmissionID table should not be needed by a management application. See Section 1.0.6.3 Other MIB Objects Mapped to DPA MIB Object | DPA Job attribute ---------------------------------+------------------------------------ jmJobState | job-state jmJobStateReasons1 | job-state-reasons (note 2) jmNumberOfInterveningJobs | intervening-jobs jmJobKOctetsPerCopyRequested | total-job-octets (notes 1, 3) jmJobKOctetsProcessed | job-octets-completed (note 1) jmJobImpressionsPerCopyRequested | job-impression-count (note 3) jmJobImpressionsCompleted | impressions-completed jmJobOwner | job-owner Notes: ------ 1. jmJobKOctetsPerCopyRequested and jmJobKOctetsProcessed is in K octets while the DPA job-total-octets and job-octets-completed is in octets and is 63-bits of significance.Bergman Informational [Page 12]RFC 2708 Job Submission Protocol Mapping November 1999 2. jmJobStateReasons1 is a bit map which can describe up to 31 job state reasons. Also the DPA "job-state-reasons" attribute is a multi-valued attribute with each value being an object identifier (OID). The DPA condition may change multiple bits in this object. The DPA condition may also change one or more of the jobStateReasonsN attributes (see section 4.4) 3. DPA octets include the multiplication factor due to job and document copies, while the MIB values do not.6.4 The Attribute Group Mapped to DPA The following mappings are required if the listed DPA job attribute is provided.MIB attribute | DPA job attribute |IPP Data type---------------------------+------------------------------+-------------jobStateReasonsN(N=2, 3, 4)| job-state-reasons (note 2) | IntegerjobCodedCharSet | (note 1) | Octet StringjobAccountName | accounting-information | Octet StringjobName | job-name | Octet StringdeviceNameRequested | printer-name-requested | Octet StringphysicalDevice | printers-assigned | Octet StringnumberOfDocuments | number-of-documents | IntegerfileName | file-name | Octet StringdocumentName | document-name | Octet StringjobComment | job-comment | Octet StringdocumentFormat | document-format | Octet StringjobPriority | job-priority | IntegerjobProcessAfterDateAndTime | job-print-after | Octet StringoutputBin | results-profile.output-bin | Octet Stringsides | sides (note 3) | Integerfinishing | job-finishing, finishing | IntegerprintQualityRequested | print-quality | IntegerprinterResolutionRequested | default-printer-resolution | Integer | (note 4) |jobCopiesRequested | results-profile.job-copies | IntegerjobCopiesCompleted | job-copies-completed | IntegerdocumentCopiesRequested | copy-count (note 5) | IntegerdocumentCopiesCompleted | copies-completed (note 6) | IntegersheetsRequested | job-media-sheet-count | IntegersheetsCompleted | job-media-sheets-completed | IntegerpagesRequested | job-page-count | IntegerpagesCompleted | pages-completed | IntegermediumRequested | page-media-select, | Octet String | default-medium |jobSubmissionTime | submission-time (note 7) | Octet StringjobStartedProcessingTime | started-printing-time (note 7) Octet StringjobCompletionTime | completion-time (note 7) | Octet StringBergman Informational [Page 13]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -