home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_j_p / draft-ietf-printmib-job-monitor-05.txt < prev    next >
Text File  |  1997-08-26  |  213KB  |  6,002 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  8.  
  9.  
  10. INTERNET-DRAFT                                              Ron Bergman
  11.                                                       Dataproducts Corp.
  12.                                                             Tom Hastings
  13.                                                        Xerox Corporation
  14.                                                           Scott Isaacson
  15.                                                             Novell, Inc.
  16.                                                              Harry Lewis
  17.                                                                IBM Corp.
  18.                                                           August 8, 1997
  19.  
  20.  
  21.                        Job Monitoring MIB - V0.85
  22.  
  23.                 <draft-ietf-printmib-job-monitor-05.txt>
  24.  
  25.                           Expires Feb 8, 1997
  26.  
  27.  
  28. Status of this Memo
  29.  
  30.      This document is an Internet-Draft.  Internet-Drafts are working
  31.      documents of the Internet Engineering Task Force (IETF), its areas,
  32.      and its working groups.  Note that other groups may also distribute
  33.      working documents as Internet-Drafts.
  34.  
  35.      Internet-Drafts are draft documents valid for a maximum of six
  36.      months and may be updated, replaced, or obsoleted by other
  37.      documents at any time.  It is inappropriate to use Internet-Drafts
  38.      as reference material or to cite them other than as "work in
  39.      progress."
  40.  
  41.      To learn the current status of any Internet-Draft, please check the
  42.      "1id-abstracts.txt" listing contained in the Internet-Drafts Shadow
  43.      Directories on ftp.is.co.za (Africa), nic.nordu.net (Europe),
  44.      munnari.oz.au (Pacific Rim), ds.internic.net (US East Coast), or
  45.      ftp.isi.edu (US West Coast).
  46.  
  47.                                 Abstract
  48.  
  49.      This Internet-Draft specifies a small set of read-only SNMP MIB
  50.      objects for (1) monitoring the status and progress of print jobs
  51.      (2) obtaining resource requirements before a job is processed, (3)
  52.      monitoring resource consumption while a job is being processed and
  53.      (4) collecting resource accounting data after the completion of a
  54.      job.  This MIB is intended to be implemented (1) in a printer or
  55.      (2) in a server that supports one or more printers.  Use of the
  56.      object set is not limited to printing.  However, support for
  57.      services other than printing is outside the scope of this Job
  58.  
  59.  
  60.  
  61. Bergman, Hastings, Isaacson, Lewis                  [Page 1]
  62.  
  63.  
  64.  
  65.  
  66.  
  67.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  68.  
  69.  
  70.      Monitoring MIB.  Future extensions to this MIB may include, but are
  71.      not limited to, fax machines and scanners.
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121. Bergman, Hastings, Isaacson, Lewis                  [Page 2]
  122.  
  123.  
  124.  
  125.  
  126.  
  127.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  128.  
  129.  
  130.  
  131.  
  132.                            TABLE OF CONTENTS
  133.  
  134.  
  135. 1. INTRODUCTION                                                        8
  136.  
  137.  1.1 Types of Information in the MIB                                   8
  138.  
  139.  1.2 Types of Job Monitoring Applications                             10
  140.  
  141.  
  142. 2. TERMINOLOGY AND JOB MODEL                                          11
  143.  
  144.  2.1 System Configurations for the Job Monitoring MIB                 13
  145.    2.1.1 Configuration 1 - client-printer                             14
  146.    2.1.2 Configuration 2 - client-server-printer - agent in the server14
  147.    2.1.3 Configuration 3 - client-server-printer - client monitors
  148.    printer agent and server                                           16
  149.  
  150.  
  151. 3. MANAGED OBJECT USAGE                                               17
  152.  
  153.  3.1 Conformance Considerations                                       17
  154.    3.1.1 Conformance Terminology                                      18
  155.    3.1.2 Agent Conformance Requirements                               18
  156.      3.1.2.1 MIB II System Group objects                              18
  157.      3.1.2.2 MIB II Interface Group objects                           19
  158.      3.1.2.3 Printer MIB objects                                      19
  159.    3.1.3 Job Monitoring Application Conformance Requirements          19
  160.  
  161.  3.2 The Job Tables and the Oldest Active and Newest Active Indexes   19
  162.  
  163.  3.3 The Attribute Mechanism                                          21
  164.    3.3.1 Conformance of Attribute Implementation                      22
  165.    3.3.2 Useful, 'Unknown', and 'Other' Values for Objects and
  166.    Attributes                                                         23
  167.    3.3.3 Data Sub-types and Attribute Naming Conventions              23
  168.    3.3.4 Single-Value (Row) Versus Multi-Value (MULTI-ROW) Attributes 24
  169.    3.3.5 Requested Attributes                                         24
  170.    3.3.6 Consumption Attributes                                       26
  171.    3.3.7 Index Value Attributes                                       26
  172.  
  173.  3.4 Job Identification .............................................26
  174.  
  175.  3.5 Internationalization Considerations                              26
  176.    3.5.1 'JmUTF8StringTC' for text generated by the server or device  25
  177.    3.5.2 'JmJobStringTC' for text generated by the job submitter      25
  178.  
  179.  
  180.  
  181. Bergman, Hastings, Isaacson, Lewis                  [Page 3]
  182.  
  183.  
  184.  
  185.  
  186.  
  187.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  188.  
  189.  
  190.    3.5.3 'DateAndTime' for representing the date and time             25
  191.  
  192.  3.6 IANA Considerations                                              27
  193.    3.6.1 IANA Registration of enums                                   28
  194.      3.6.1.1 Type 1 enumerations                                      28
  195.      3.6.1.2 Type 2 enumerations                                      28
  196.      3.6.1.3 Type 3 enumeration                                       29
  197.    3.6.2 IANA Registration of type 2 bit values                       29
  198.    3.6.3 IANA Registration of Job Submission Id Formats               29
  199.    3.6.4 IANA Registration of MIME types/sub-types for document-formats29
  200.  
  201.  3.7 Security Considerations                                          30
  202.    3.7.1 Read-Write objects                                           30
  203.    3.7.2 Read-Only Objects In Other User's Jobs                       30
  204.  
  205.  3.8 Values for Objects                                               23
  206.  
  207.  3.9 Notifications                                                    30
  208.  
  209.  
  210. 4. MIB SPECIFICATION                                                  30
  211.  
  212.  Textual conventions for this MIB module                              32
  213.    JmUTF8StringTC                                                     33
  214.    JmJobStringTC                                                      33
  215.    JmTimeStampTC                                                      33
  216.    JmJobSourcePlatformTypeTC                                          33
  217.    JmFinishingTC                                                      34
  218.    JmPrintQualityTC                                                   36
  219.    JmPrinterResolutionTC                                              36
  220.    JmTonerEconomyTC                                                   37
  221.    JmBooleanTC                                                        37
  222.    JmMediumTypeTC                                                     38
  223.    JmJobSubmissionIDTypeTC                                            39
  224.    JmJobStateTC                                                       41
  225.    JmAttributeTypeTC                                                  44
  226.       other   (Int32(-2..) and/or Octets63)                           45
  227.      Job State attributes                                             45
  228.       jobStateReasons2   (JmJobStateReasons2TC)                       45
  229.       jobStateReasons3   (JmJobStateReasons3TC)                       45
  230.       jobStateReasons4   (JmJobStateReasons4TC)                       45
  231.       processingMessage   (UTF8String63)                              45
  232.       jobCodedCharSet   (CodedCharSet)                                45
  233.      Job Identification attributes                                    46
  234.       jobAccountName   (JobString63)                                  46
  235.       serverAssignedJobName   (JobString63)                           47
  236.       jobName   (JobString63)                                         47
  237.       jobServiceTypes   (JmJobServiceTypesTC)                         48
  238.  
  239.  
  240.  
  241. Bergman, Hastings, Isaacson, Lewis                  [Page 4]
  242.  
  243.  
  244.  
  245.  
  246.  
  247.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  248.  
  249.  
  250.       jobSourceChannelIndex   (Int32(0..))                            48
  251.       jobSourcePlatformType   (JmJobSourcePlatformTypeTC)             48
  252.       submittingServerName   (JobString63)                            48
  253.       submittingApplicationName   (JobString63)                       49
  254.       jobOriginatingHost   (JobString63)                              49
  255.       deviceNameRequested   (JobString63)                             49
  256.       queueNameRequested   (JobString63)                              49
  257.       physicalDevice   (hrDeviceIndex and/or UTF8String63)            49
  258.       numberOfDocuments   (Int32(-2..))                               49
  259.       fileName   (JobString63)                                        50
  260.       documentName   (JobString63)                                    50
  261.       jobComment   (JobString63)                                      50
  262.       documentFormatIndex   (Int32(0..))                              50
  263.       documentFormat   (PrtInterpreterLangFamilyTC and/or Octets63)   50
  264.      Job Parameter attributes                                         51
  265.       jobPriority   (Int32(1..100))                                   51
  266.       jobProcessAfterDateAndTime   (DateAndTime)                      51
  267.       jobHold   (JmBooleanTC)                                         51
  268.       jobHoldUntil   (JobString63)                                    52
  269.       outputBin   (Int32(0..) and/or JobString63)                     52
  270.       sides   (Int32(-2..2))                                          52
  271.       finishing   (JmFinishingTC)                                     52
  272.      Image Quality attributes (requested and used)                    52
  273.       printQualityRequested   (JmPrintQualityTC)                      52
  274.       printQualityUsed   (JmPrintQualityTC)                           53
  275.       printerResolutionRequested   (JmPrinterResolutionTC)            53
  276.       printerResolutionUsed   (JmPrinterResolutionTC)                 53
  277.       tonerEcomonyRequested   (JmTonerEconomyTC)                      53
  278.       tonerEcomonyUsed   (JmTonerEconomyTC)                           53
  279.       tonerDensityRequested   (Int32(-2..100))                        53
  280.       tonerDensityUsed   (Int32(-2..100))                             53
  281.      Job Progress attributes (requested and consumed)                 53
  282.       jobCopiesRequested   (Int32(-2..))                              54
  283.       jobCopiesCompleted   (Int32(-2..))                              54
  284.       documentCopiesRequested   (Int32(-2..))                         54
  285.       documentCopiesCompleted   (Int32(-2..))                         54
  286.       jobKOctetsTransferred   (Int32(-2..))                           54
  287.      Impression attributes (requested and consumed)                   55
  288.       impressionsSpooled   (Int32(-2..))                              55
  289.       impressionsSentToDevice   (Int32(-2..))                         55
  290.       impressionsInterpreted   (Int32(-2..))                          55
  291.       impressionsCompletedCurrentCopy   (Int32(-2..))                 55
  292.       fullColorImpressionsCompleted   (Int32(-2..))                   55
  293.       highlightColorImpressionsCompleted   (Int32(-2..))              55
  294.      Page attributes (requested and consumed)                         56
  295.       pagesRequested   (Int32(-2..))                                  56
  296.       pagesCompleted   (Int32(-2..))                                  56
  297.       pagesCompletedCurrentCopy   (Int32(-2..))                       56
  298.  
  299.  
  300.  
  301. Bergman, Hastings, Isaacson, Lewis                  [Page 5]
  302.  
  303.  
  304.  
  305.  
  306.  
  307.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  308.  
  309.  
  310.      Sheet attributes (requested and consumed)                        57
  311.       sheetsRequested   (Int32(-2..))                                 57
  312.       sheetsCompleted   (Int32(-2..))                                 57
  313.       sheetsCompletedCurrentCopy   (Int32(-2..))                      57
  314.      Resource attributes (requested and consumed)                     57
  315.       mediumRequested   (JmMediumTypeTC and/or JobString63)           57
  316.       mediumConsumed   (JobString63)                                  57
  317.       colorantRequested   (Int32(-2..) and/or JobString63)            58
  318.       colorantConsumed   (Int32(-2..) and/or JobString63)             58
  319.      Time attributes (set by server or device)                        58
  320.       jobSubmissionToServerTime   (JmTimeStampTC and/or DateAndTime)  59
  321.       jobSubmissionTime   (JmTimeStampTC and/or DateAndTime)          59
  322.       jobStartedBeingHeldTime   (JmTimeStampTC and/or DateAndTime)    59
  323.       jobStartedProcessingTime   (JmTimeStampTC and/or DateAndTime)   59
  324.       jobCompletedTime   (JmTimeStampTC and/or DateAndTime)           59
  325.       jobProcessingCPUTime   (Int32(-2..))                            59
  326.    JmJobServiceTypesTC                                                61
  327.    JmJobStateReasons1TC                                               63
  328.    JmJobStateReasons2TC                                               67
  329.    JmJobStateReasons3TC                                               71
  330.    JmJobStateReasons4TC                                               72
  331.  
  332.  The General Group (MANDATORY)                                        73
  333.    jmGeneralJobSetIndex   (Int32(1..32767))                           73
  334.    jmGeneralNumberOfActiveJobs   (Int32(0..))                         74
  335.    jmGeneralOldestActiveJobIndex   (Int32(0..))                       74
  336.    jmGeneralNewestActiveJobIndex   (Int32(0..))                       75
  337.    jmGeneralJobPersistence   (Int32(15..))                            75
  338.    jmGeneralAttributePersistence   (Int32(15..))                      75
  339.    jmGeneralJobSetName   (UTF8String63)                               76
  340.  
  341.  The Job ID Group (MANDATORY)                                         76
  342.    jmJobSubmissionID   (OCTET STRING(SIZE(48)))                       77
  343.    jmJobIDJobSetIndex   (Int32(1..32767))                             78
  344.    jmJobIDJobIndex   (Int32(1..))                                     78
  345.  
  346.  The Job Group (MANDATORY)                                            79
  347.    jmJobIndex   (Int32(1..))                                          80
  348.    jmJobState   (JmJobStateTC)                                        80
  349.    jmJobStateReasons1   (JmJobStateReasons1TC)                        81
  350.    jmNumberOfInterveningJobs   (Int32(-2..))                          81
  351.    jmJobKOctetsRequested   (Int32(-2..))                              81
  352.    jmJobKOctetsProcessed   (Int32(-2..))                              82
  353.    jmJobImpressionsRequested   (Int32(-2..))                          83
  354.    jmJobImpressionsCompleted   (Int32(-2..))                          83
  355.    jmJobOwner   (JobString63)                                         83
  356.  
  357.  The Attribute Group (MANDATORY)                                      84
  358.  
  359.  
  360.  
  361. Bergman, Hastings, Isaacson, Lewis                  [Page 6]
  362.  
  363.  
  364.  
  365.  
  366.  
  367.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  368.  
  369.  
  370.    jmAttributeTypeIndex   (JmAttributeTypeTC)                         86
  371.    jmAttributeInstanceIndex   (Int32(1..32767))                       86
  372.    jmAttributeValueAsInteger   (Int32(-2..))                          87
  373.    jmAttributeValueAsOctets   (Octets63)                              88
  374.  
  375.  
  376. 5. APPENDIX A - IMPLEMENTING THE JOB LIFE CYCLE                       91
  377.  
  378.  
  379. 6. APPENDIX B - SUPPORT OF THE JOB SUBMISSION ID IN JOB SUBMISSION
  380. PROTOCOLS                                                             92
  381.  
  382.  6.1 Hewlett-Packard's Printer Job Language (PJL)                     92
  383.  
  384.  6.2 ISO DPA                                                          92
  385.  
  386.  
  387. 7. REFERENCES                                                         93
  388.  
  389.  
  390. 8. AUTHOR'S ADDRESSES                                                 94
  391.  
  392.  
  393. 9. INDEX                                                              97
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421. Bergman, Hastings, Isaacson, Lewis                  [Page 7]
  422.  
  423.  
  424.  
  425.  
  426.  
  427.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  428.  
  429.  
  430.  
  431.                            Job Monitoring MIB
  432.  
  433. 1. Introduction
  434.  
  435. The Job Monitoring MIB is intended to be implemented by an agent within
  436. a printer or the first server closest to the printer, where the printer
  437. is either directly connected to the server only or the printer does not
  438. contain the job monitoring MIB agent.  It is recommended that
  439. implementations place the SNMP agent as close as possible to the
  440. processing of the print job.  This MIB applies to printers with and
  441. without spooling capabilities.  This MIB is designed to be compatible
  442. with most current commonly-used job submission protocols.  In most
  443. environments that support high function job submission/job control
  444. protocols, like ISO DPA[iso-dpa], those protocols would be used to
  445. monitor and manage print jobs rather than using the Job Monitoring MIB.
  446.  
  447. The Job Monitoring MIB consists of a General Group, a Job Submission ID
  448. Group, a Job Group, and an Attribute Group.  Each group is a table.  All
  449. accessible objects are read-only.  The General Group contains general
  450. information that applies to all jobs in a job set.  The Job Submission
  451. ID table maps the job submission ID that the client uses to identify a
  452. job to the jmJobIndex that the Job Monitoring Agent uses to identify
  453. jobs in the Job and Attribute tables.  The Job table contains the
  454. MANDATORY integer job state and status objects.  The Attribute table
  455. consists of multiple entries per job that specify (1) job and document
  456. identification and parameters,  (2) requested resources, and (3)
  457. consumed resources during and after job processing/printing.  A larger
  458. number of job attributes are defined as textual conventions that an
  459. agent SHALL return if the server or device implements the functionality
  460. so represented and the agent has access to the information.
  461.  
  462. 1.1 Types of Information in the MIB
  463.  
  464. The job MIB is intended to provide the following information for the
  465. indicated Role Models in the Printer MIB[print-mib] (Appendix D - Roles
  466. of Users).
  467.  
  468.    User:
  469.  
  470.       Provide the ability to identify the least busy printer.  The user
  471.       will be able to determine the number and size of jobs waiting for
  472.       each printer.  No attempt is made to actually predict the length
  473.       of time that jobs will take.
  474.  
  475.       Provide the ability to identify the current status of the user's
  476.       job (user queries).
  477.  
  478.  
  479.  
  480.  
  481. Bergman, Hastings, Isaacson, Lewis                  [Page 8]
  482.  
  483.  
  484.  
  485.  
  486.  
  487.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  488.  
  489.  
  490.       Provide a timely indication that the job has completed and where
  491.       it can be found.
  492.  
  493.       Provide error and diagnostic information for jobs that did not
  494.       successfully complete.
  495.  
  496.    Operator:
  497.  
  498.       Provide a presentation of the state of all the jobs in the print
  499.       system.
  500.  
  501.       Provide the ability to identify the user that submitted the print
  502.       job.
  503.  
  504.       Provide the ability to identify the resources required by each
  505.       job.
  506.  
  507.       Provide the ability to define which physical printers are
  508.       candidates for the print job.
  509.  
  510.       Provide some idea of how long each job will take.  However, exact
  511.       estimates of time to process a job is not being attempted.
  512.       Instead, objects are included that allow the operator to be able
  513.       to make gross estimates.
  514.  
  515.    Capacity Planner:
  516.  
  517.       Provide the ability to determine printer utilization as a function
  518.       of time.
  519.  
  520.       Provide the ability to determine how long jobs wait before
  521.       starting to print.
  522.  
  523.    Accountant:
  524.  
  525.       Provide information to allow the creation of a record of resources
  526.       consumed and printer usage data for charging users or groups for
  527.       resources consumed.
  528.  
  529.       Provide information to allow the prediction of consumable usage
  530.       and resource need.
  531.  
  532. The MIB supports printers that can contain more than one job at a time,
  533. but still be usable for low end printers that only contain a single job
  534. at a time.  In particular, the MIB supports the needs of Windows and
  535. other PC environments for managing low-end direct-connect (serial or
  536. parallel) and networked devices without unnecessary overhead or
  537. complexity, while also providing for higher end systems and devices.
  538.  
  539.  
  540.  
  541. Bergman, Hastings, Isaacson, Lewis                  [Page 9]
  542.  
  543.  
  544.  
  545.  
  546.  
  547.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  548.  
  549.  
  550. 1.2 Types of Job Monitoring Applications
  551.  
  552. The Job Monitoring MIB is designed for the following types of monitoring
  553. applications:
  554.  
  555.    1. Monitor a single job starting when the job is submitted and ending
  556.       a defined period after the job completes.  The Job Submission ID
  557.       table provides the map to find the specific job to be monitored.
  558.  
  559.    2. Monitor all 'active' jobs in a queue, which this specification
  560.       generalizes to a "job set".  End users may use such a program when
  561.       selecting a least busy printer, so the MIB is designed for such a
  562.       program to start up quickly and find the information needed
  563.       quickly without having to read all (completed) jobs in order to
  564.       find the active jobs.  System operators may also use such a
  565.       program, in which case it would be running for a long period of
  566.       time and may also be interested in the jobs that have completed.
  567.       Finally such a program may be used to provide an enhanced console
  568.       and logging capability.
  569.  
  570.    3. Collect resource usage for accounting or system utilization
  571.       purposes that copy the completed job statistics to an accounting
  572.       system. It is recognized that depending on accounting programs to
  573.       copy MIB data during the job-retention period is somewhat
  574.       unreliable, since the accounting program may not be running (or
  575.       may have crashed).  Such a program is also expected to keep a
  576.       shadow copy of the entire Job Attribute table including completed,
  577.       canceled, and aborted jobs which the program updates on each
  578.       polling cycle.  Such a program polls at the rate of the
  579.       persistence of the Attribute table.  The design is not optimized
  580.       to help such an application determine which jobs are completed,
  581.       canceled, or aborted.  Instead, the application SHALL query each
  582.       job that the application's shadow copy shows was not complete,
  583.       canceled, or aborted at the previous poll cycle to see if it is
  584.       now complete or canceled, plus any new jobs that have been
  585.       submitted.
  586.  
  587. The MIB provides a set of objects that represent a compatible subset of
  588. job and document attributes of the ISO DPA standard[iso-dpa] and the
  589. Internet Printing Protocol (IPP)[ipp-model], so that coherence is
  590. maintained between these two protocols and the information presented to
  591. end users and system operators by monitoring applications.  However, the
  592. job monitoring MIB is intended to be used with printers that implement
  593. other job submitting and management protocols, such as IEEE 1284.1
  594. (TIPSI)[tipsi], as well as with ones that do implement ISO DPA.  Thus
  595. the job monitoring MIB does not require implementation of either the ISO
  596. DPA or IPP protocols.
  597.  
  598.  
  599.  
  600.  
  601. Bergman, Hastings, Isaacson, Lewis                 [Page 10]
  602.  
  603.  
  604.  
  605.  
  606.  
  607.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  608.  
  609.  
  610. The MIB is designed so that an additional MIB(s) can be specified in the
  611. future for  monitoring  multi-function  (scan, FAX,  copy)  jobs  as  an
  612. augmentation to this MIB.
  613.  
  614. 2. Terminology and Job Model
  615.  
  616. This section defines the terms that are used in this specification and
  617. the general model for jobs.
  618.  
  619.   NOTE - Existing systems use conflicting terms, so these terms are
  620.   drawn from the ISO 10175 Document Printing Application (DPA)
  621.   standard[iso-dpa].  For example, PostScript systems use the term
  622.   session for what is called a job in this specification and the term
  623.   job to mean what is called a document in this specification.  PJL
  624.   systems use the term job to mean what is called a job in this
  625.   specification.  PJL also supports multiple documents per job, but does
  626.   not support specifying per-document attributes independently for each
  627.   document.
  628.  
  629. Job:  a unit of work whose results are expected together without
  630. interjection of unrelated results.  A job contains one or more
  631. documents.
  632.  
  633. Job Set:  a group of jobs that are queued and scheduled together
  634. according to a specified scheduling algorithm for a specified device or
  635. set of devices.  For implementations that embed the SNMP agent in the
  636. device, the MIB job set normally represents all the jobs known to the
  637. device, so that the implementation only implements a single job set.  If
  638. the SNMP agent is implemented in a server that controls one or more
  639. devices, each MIB job set represents a job queue for (1) a specific
  640. device or (2) set of devices, if the server uses a single queue to load
  641. balance between several devices.  Each job set is disjoint; no job SHALL
  642. be represented in more than one MIB job set.
  643.  
  644. Document:  a sub-section within a job that contains print data and
  645. document instructions that apply to just the document.
  646.  
  647. Client:  the network entity that end users use to submit jobs to
  648. spoolers, servers, or printers and other devices, depending on the
  649. configuration, using any job submission protocol over a serial or
  650. parallel port to a directly-connected device or over the network to a
  651. networked-connected device.
  652.  
  653. Server:  a network entity that accepts jobs from clients and in turn
  654. submits the jobs to printers and other devices that may be directly
  655. connected to the server via a serial or parallel port or may be on the
  656. network.  A server MAY be a printer supervisor control program, or a
  657. print spooler.
  658.  
  659.  
  660.  
  661. Bergman, Hastings, Isaacson, Lewis                 [Page 11]
  662.  
  663.  
  664.  
  665.  
  666.  
  667.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  668.  
  669.  
  670. Device:  a hardware entity that (1) interfaces to humans in human
  671. perceptible means, such as produces marks on paper, scans marks on paper
  672. to produce an electronic representations, or writes CD-ROMs or (2)
  673. interfaces electronically to another device, such as sends FAX data to
  674. another FAX device.
  675.  
  676. Printer:  a device that puts marks on media.
  677.  
  678. Supervisor:  a server that contains a control program that controls a
  679. printer or other device.  A supervisor is a client to the printer or
  680. other device.
  681.  
  682. Spooler:  a server that accepts jobs, spools the data, and decides when
  683. and on which printer to print the job.  A spooler is a client to a
  684. printer or a printer supervisor, depending on implementation.
  685.  
  686. Spooling:  the act of a device or server of (1) accepting jobs and (2)
  687. writing the job's attributes and document data on to secondary storage.
  688.  
  689. Queuing:  the act of a device or server of ordering (queuing) the jobs
  690. for the purposes of scheduling the jobs to be processed.
  691.  
  692. Monitor or Job Monitoring Application:  the SNMP management application
  693. that End Users, and System Operators use to monitor jobs using SNMP.  A
  694. monitor MAY be either a separate application or MAY be part of the
  695. client that also submits jobs.
  696.  
  697. Accounting Application:  the SNMP management application that copies job
  698. information to some more permanent medium so that another application
  699. can perform accounting on the data for Accountants, Asset Managers, and
  700. Capacity Planners use.
  701.  
  702. Agent:  the network entity that accepts SNMP requests from a monitor or
  703. accounting application and provides access to the instrumentation for
  704. managing jobs modeled by the management objects defined in the Job
  705. Monitoring MIB module for a server or a device.
  706.  
  707. Proxy:  an agent that acts as a concentrator for one or more other
  708. agents by accepting SNMP operations on the behalf of one or more other
  709. agents, forwarding them on to those other agents, gathering responses
  710. from those other agents and returning them to the original requesting
  711. monitor.
  712.  
  713. User:  a person that uses a client or a monitor.
  714.  
  715. End User:  a user that uses a client to submit a print job.
  716.  
  717.  
  718.  
  719.  
  720.  
  721. Bergman, Hastings, Isaacson, Lewis                 [Page 12]
  722.  
  723.  
  724.  
  725.  
  726.  
  727.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  728.  
  729.  
  730. System Operator:  a user that uses a monitor to monitor the system and
  731. carries out tasks to keep the system running.
  732.  
  733. System Administrator:  a user that specifies policy for the system.
  734.  
  735. Job Instruction:  an instruction specifying how, when, or where the job
  736. is to be processed.  Job instructions MAY be passed in the job
  737. submission protocol or MAY be embedded in the document data or a
  738. combination depending on the job submission protocol and implementation.
  739.  
  740. Document Instruction:  an instruction specifying how to process the
  741. document.  Document instructions MAY be passed in the job submission
  742. protocol separate from the actual document data, or MAY be embedded in
  743. the document data or a combination, depending on the job submission
  744. protocol and implementation.
  745.  
  746. SNMP Information Object:  a name, value-pair that specifies an action, a
  747. status, or a condition in an SNMP MIB.  Objects are identified in SNMP
  748. by an OBJECT IDENTIFIER.
  749.  
  750. Attribute:  a name, value-pair that specifies a job or document
  751. instruction, a status, or a condition of a job or a document that has
  752. been submitted to a server or device.  A particular attribute NEED NOT
  753. be present in each job instance.  In other words, attributes are present
  754. in a job instance only when there is a need to express the value, either
  755. because (1) the client supplied a value in the job submission protocol,
  756. (2) the document data contained an embedded attribute, or (3) the server
  757. or device supplied a default value.  An agent SHALL represent an
  758. attribute as an entry (row) in the Attribute table in this MIB in which
  759. entries are present only when necessary.  Attributes are identified in
  760. this MIB by an enum.
  761.  
  762. Job Monitoring (using SNMP):  the activity of a management application
  763. of accessing the MIB and (1) identifying jobs in the job tables being
  764. processed by the server, printer or other devices, and (2) displaying
  765. information to the user about the processing of the job.
  766.  
  767. Job Accounting:  the activity of a management application of accessing
  768. the MIB and recording what happens to the job during and after the
  769. processing of the job.
  770.  
  771. 2.1 System Configurations for the Job Monitoring MIB
  772.  
  773. This section enumerates the three configurations in which the Job
  774. Monitoring MIB is intended to be used.  To simplify the pictures, the
  775. devices are shown as printers.  See section 1.1 entitled "Types of
  776. Information in the MIB".
  777.  
  778.  
  779.  
  780.  
  781. Bergman, Hastings, Isaacson, Lewis                 [Page 13]
  782.  
  783.  
  784.  
  785.  
  786.  
  787.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  788.  
  789.  
  790. The diagram in the Printer MIB[print-mib] entitled: "One Printer's View
  791. of the Network" is assumed for this MIB as well.  Please refer to that
  792. diagram to aid in understanding the following system configurations.
  793.  
  794. 2.1.1 Configuration 1 - client-printer
  795.  
  796. In the client-printer configuration 1, the client(s) submit jobs
  797. directly to the printer, either by some direct connect, or by network
  798. connection.
  799.  
  800. The job submitting client and/or monitoring application monitor jobs by
  801. communicating directly with an agent that is part of the printer.  The
  802. agent in the printer SHALL keep the job in the Job Monitoring MIB as
  803. long as the job is in the printer, plus a defined time period after the
  804. job enters the completed state in which accounting programs can copy out
  805. the accounting data from the Job Monitoring MIB.
  806.  
  807.  
  808.                all         end-user     ######## SNMP query
  809.             +-------+     +--------+    ---- job submission
  810.             |monitor|     | client |
  811.             +---#---+     +--#--+--+
  812.                 #            #  |
  813.                 # ############  |
  814.                 # #             |
  815.          +==+===#=#=+==+        |
  816.          |  | agent |  |        |
  817.          |  +-------+  |        |
  818.          |   PRINTER   <--------+
  819.          |             | Print Job Delivery Channel
  820.          |             |
  821.          +=============+
  822.  
  823. Figure 2-1 - Configuration 1 - client-printer - agent in the printer
  824.  
  825.  
  826. The Job Monitoring MIB is designed to support the following
  827. relationships (not shown in Figure 2-1):
  828.      1. Multiple clients MAY submit jobs to a printer.
  829.      2. Multiple clients MAY monitor a printer.
  830.      3. Multiple monitors MAY monitor a printer.
  831.      4. A client MAY submit jobs to multiple printers.
  832.      5. A monitor MAY monitor multiple printers.
  833.  
  834. 2.1.2 Configuration 2 - client-server-printer - agent in the server
  835.  
  836. In the client-server-printer configuration 2, the client(s) submit jobs
  837. to an intermediate server by some network connection, not directly to
  838.  
  839.  
  840.  
  841. Bergman, Hastings, Isaacson, Lewis                 [Page 14]
  842.  
  843.  
  844.  
  845.  
  846.  
  847.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  848.  
  849.  
  850. the printer.  While configuration 2 is included, the design center for
  851. this MIB is configurations 1 and 3.
  852.  
  853. The job submitting client and/or monitoring application monitor jobs by
  854. communicating directly with:
  855.  
  856.     A Job Monitoring MIB agent that is part of the server (or a front
  857.     for the server)
  858.  
  859. There is no SNMP Job Monitoring MIB agent in the printer in
  860. configuration 2, at least that the client or monitor are aware.  In this
  861. configuration, the agent SHALL return the current values of the objects
  862. in the Job Monitoring MIB both for jobs the server keeps and jobs that
  863. the server has submitted to the printer.  The Job Monitoring MIB agent
  864. SHALL obtain the required information from the printer by a method that
  865. is beyond the scope of this document.  The agent in the server SHALL
  866. keep the job in the Job Monitoring MIB in the server as long as the job
  867. is in the printer, plus a defined time period after the job enters the
  868. completed state in which accounting programs can copy out the accounting
  869. data from the Job Monitoring MIB.
  870.  
  871.              all          end-user
  872.           +-------+     +----------+
  873.           |monitor|     |  client  |     ######## SNMP query
  874.           +---+---#     +---#----+-+     **** non-SNMP cntrl
  875.                    #        #    |       ---- job submission
  876.                     #       #    |
  877.                      #      #    |
  878.                       #=====#=+==v==+
  879.                       | agent |     |
  880.                       +-------+     |
  881.                       |    server   |
  882.                       +----+-----+--+
  883.                    control *     |
  884.                   **********     |
  885.                   *              |
  886.          +========v====+         |
  887.          |             |         |
  888.          |             |         |
  889.          |   PRINTER   <---------+
  890.          |             | Print Job Delivery Channel
  891.          |             |
  892.          +=============+
  893.  
  894. Figure 2-2 - Configuration 2 - client-server-printer - agent in the
  895. server
  896.  
  897.  
  898.  
  899.  
  900.  
  901. Bergman, Hastings, Isaacson, Lewis                 [Page 15]
  902.  
  903.  
  904.  
  905.  
  906.  
  907.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  908.  
  909.  
  910. The Job Monitoring MIB is designed to support the following
  911. relationships (not shown in Figure 2-2):
  912.      1. Multiple clients MAY submit jobs to a server.
  913.      2. Multiple clients MAY monitor a server.
  914.      3. Multiple monitors MAY monitor a server.
  915.      4. A client MAY submit jobs to multiple servers.
  916.      5. A monitor MAY monitor multiple servers.
  917.      6. Multiple servers MAY submit jobs to a printer.
  918.      7. Multiple servers MAY control a printer.
  919.  
  920. 2.1.3 Configuration 3 - client-server-printer - client monitors printer
  921. agent and server
  922.  
  923. In the client-server-printer configuration 3, the client(s) submit jobs
  924. to an intermediate server by some network connection, not directly to
  925. the printer.  That server does not contain a Job Monitoring MIB agent.
  926.  
  927. The job submitting client and/or monitoring application monitor jobs by
  928. communicating directly with:
  929.  
  930.    1. The server using some undefined protocol to monitor jobs in the
  931.       server (that does not contain the Job Monitoring MIB) AND
  932.  
  933.    2. A Job Monitoring MIB agent that is part of the printer to monitor
  934.       jobs after the server passes the jobs to the printer.  In such
  935.       configurations, the server deletes its copy of the job from the
  936.       server after submitting the job to the printer usually almost
  937.       immediately (before the job does much processing, if any).
  938.  
  939. In configuration 3, the agent (in the printer) SHALL keep the values of
  940. the objects in the Job Monitoring MIB that the agent implements updated
  941. for a job that the server has submitted to the printer.  The agent SHALL
  942. obtain information about the jobs submitted to the printer from the
  943. server (either in the job submission protocol, in the document data, or
  944. by direct query of the server), in order to populate some of the objects
  945. the Job Monitoring MIB in the printer.  The agent in the printer SHALL
  946. keep the job in the Job Monitoring MIB as long as the job is in the
  947. Printer, and longer in order to implement the completed state in which
  948. monitoring programs can copy out the accounting data from the Job
  949. Monitoring MIB.
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961. Bergman, Hastings, Isaacson, Lewis                 [Page 16]
  962.  
  963.  
  964.  
  965.  
  966.  
  967.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  968.  
  969.  
  970.  
  971.              all          end-user
  972.           +-------+     +----------+
  973.           |monitor|     |  client  |     ######## SNMP query
  974.           +---+---*     +---*----+-+     **** non-SNMP query
  975.               #    *        *    |       ---- job submission
  976.               #     *       *    |
  977.               #      *      *    |
  978.               #       *=====v====v==+
  979.               #       |             |
  980.               #       |    server   |
  981.               #       |             |
  982.               #       +----#-----+--+
  983.               #    optional#     |
  984.               #   ##########     |
  985.               #   #              |
  986.          +==+=v===v=+==+         |
  987.          |  | agent |  |         |
  988.          |  +-------+  |         |
  989.          |   PRINTER   <---------+
  990.          |             | Print Job Delivery Channel
  991.          |             |
  992.          +=============+
  993.  
  994. Figure 2-3 - Configuration 3 - client-server-printer - client monitors
  995. printer agent and server
  996.  
  997.  
  998. The Job Monitoring MIB is designed to support the following
  999. relationships (not shown in Figure 2-3):
  1000.      1. Multiple clients MAY submit jobs to a server.
  1001.      2. Multiple clients MAY monitor a server.
  1002.      3. Multiple monitors MAY monitor a server.
  1003.      4. A client MAY submit jobs to multiple servers.
  1004.      5. A monitor MAY monitor multiple servers.
  1005.      6. Multiple servers MAY submit jobs to a printer.
  1006.      7. Multiple servers MAY control a printer.
  1007.  
  1008. 3. Managed Object Usage
  1009.  
  1010. This section describes the usage of the objects in the MIB.
  1011.  
  1012. 3.1 Conformance Considerations
  1013.  
  1014. In order to achieve interoperability between job monitoring applications
  1015. and job monitoring agents, this specification includes the conformance
  1016. requirements for both monitoring applications and agents.
  1017.  
  1018.  
  1019.  
  1020.  
  1021. Bergman, Hastings, Isaacson, Lewis                 [Page 17]
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1028.  
  1029.  
  1030. 3.1.1 Conformance Terminology
  1031.  
  1032. This specification uses the verbs: "SHALL", "SHOULD", "MAY", and "NEED
  1033. NOT" to specify conformance requirements according to RFC 2119 [req-
  1034. words] as follows:
  1035.  
  1036.   . "SHALL":  indicates an action that the subject of the sentence must
  1037.     implement in order to claim conformance to this specification
  1038.  
  1039.   . "MAY":  indicates an action that the subject of the sentence does
  1040.     not have to implement in order to claim conformance to this
  1041.     specification, in other words that action is an implementation
  1042.     option
  1043.  
  1044.   . "NEED NOT":  indicates an action that the subject of the sentence
  1045.     does not have to implement in order to claim conformance to this
  1046.     specification.  The verb "NEED NOT" is used instead of "may not",
  1047.     since "may not" sounds like a prohibition.
  1048.  
  1049.   . "SHOULD":  indicates an action that is recommended for the subject
  1050.     of the sentence to implement, but is not required, in order to
  1051.     claim conformance to this specification.
  1052.  
  1053. 3.1.2 Agent Conformance Requirements
  1054.  
  1055. A conforming agent:
  1056.  
  1057.    1. SHALL implement all MANDATORY groups in this specification.
  1058.  
  1059.    2. SHALL implement any attributes if (1) the server or device
  1060.       supports the functionality represented by the attribute and (2)
  1061.       the information is available to the agent.
  1062.  
  1063.    3. SHOULD implement both forms of an attribute if it implements an
  1064.       attribute that permits a choice of INTEGER and OCTET STRING forms,
  1065.       since implementing both forms may help management applications by
  1066.       giving them a choice of representations, since the representation
  1067.       are equivalent.  See the JmAttributeTypeTC textual-convention.
  1068.  
  1069.    4. NOTE - This MIB, like the Printer MIB, is written following the
  1070.       subset of SMIv2 that can be supported by SMIv1 and SNMPv1
  1071.       implementations.
  1072.  
  1073. 3.1.2.1 MIB II System Group objects
  1074.  
  1075. The Job Monitoring MIB agent SHALL implement all objects in the System
  1076. Group of MIB-II[mib-II], whether the Printer MIB[print-mib] is
  1077. implemented or not.
  1078.  
  1079.  
  1080.  
  1081. Bergman, Hastings, Isaacson, Lewis                 [Page 18]
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1088.  
  1089.  
  1090. 3.1.2.2 MIB II Interface Group objects
  1091.  
  1092. The Job Monitoring MIB agent SHALL implement all objects in the
  1093. Interfaces Group of MIB-II[mib-II], whether the Printer MIB[print-mib]
  1094. is implemented or not.
  1095.  
  1096. 3.1.2.3 Printer MIB objects
  1097.  
  1098. If the agent is providing access to a device that is a printer, the
  1099. agent SHALL implement all of the MANDATORY objects in the Printer
  1100. MIB[print-mib] and all the objects in other MIBs that conformance to the
  1101. Printer MIB requires, such as the Host Resources MIB[hr-mib].  If the
  1102. agent is providing access to a server that controls one or more direct-
  1103. connect or networked printers, the agent NEED NOT implement the Printer
  1104. MIB and NEED NOT implement the Host Resources MIB.
  1105.  
  1106. 3.1.3 Job Monitoring Application Conformance Requirements
  1107.  
  1108. A conforming job monitoring application:
  1109.  
  1110.    1. SHALL accept the full syntactic range for all objects in all
  1111.       MANDATORY groups and all MANDATORY attributes that are required to
  1112.       be implemented by an agent according to Section 3.1.2 and SHALL
  1113.       either present them to the user or ignore them.
  1114.  
  1115.    2. SHALL accept the full syntactic range for all attributes,
  1116.       including enum and bit values specified in this specification and
  1117.       additional ones that may be registered with IANA and SHALL either
  1118.       present them to the user or ignore them.  In particular, a
  1119.       conforming job monitoring application SHALL not malfunction when
  1120.       receiving any standard or registered enum or bit values.  See
  1121.       Section 3.6 entitled "IANA Considerations".
  1122.  
  1123.    3. SHALL NOT fail when operating with agents that materialize
  1124.       attributes after the job has been submitted, as opposed to when
  1125.       the job is submitted.
  1126.  
  1127.    4. SHALL, if it supports a time attribute, accept either form of the
  1128.       time attribute, since agents are free to implement either time
  1129.       form.
  1130.  
  1131. 3.2 The Job Tables and the Oldest Active and Newest Active Indexes
  1132.  
  1133. The jmJobTable and jmAttributeTable contain objects and attributes,
  1134. respectively, for each job in a job set.  These first two indexes are:
  1135.      1. jmGeneralJobSetIndex - which job set
  1136.      2. jmJobIndex - which job in the job set
  1137.  
  1138.  
  1139.  
  1140.  
  1141. Bergman, Hastings, Isaacson, Lewis                 [Page 19]
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1148.  
  1149.  
  1150. In order for a monitoring application to quickly find that active jobs
  1151. (jobs in the pending, processing, or processingStopped states), the MIB
  1152. contains two indexes:
  1153.  
  1154.    1. jmGeneralOldestActiveJobIndex - the index of the active job that
  1155.       has been in the tables the longest.
  1156.  
  1157.    2. jmGeneralNewestActiveJobIndex - the index of the active job that
  1158.       has been most recently added to the tables.
  1159.  
  1160. The agent SHALL assign the next incremental value of jmJobIndex to the
  1161. job, when a new job is accepted by the server or device to which the
  1162. agent is providing access.  If the incremented value of jmJobIndex would
  1163. exceed the implementation-defined maximum value for jmJobIndex, the
  1164. agent SHALL 'wrap' back to 1.  An agent uses the resulting value of
  1165. jmJobIndex for storing information in the jmJobTable and the
  1166. jmAttributeTable about the job.
  1167.  
  1168. It is recommended that the largest value for jmJobIndex be much larger
  1169. than the maximum number of jobs that the implementation can contain at a
  1170. single time, so as to minimize the premature re-use of a jmJobIndex
  1171. value for a newer job while clients retain the same 'stale' value for an
  1172. older job.
  1173.  
  1174. It is recommended that agents that are providing access to
  1175. servers/devices that already allocate job-identifiers for jobs as
  1176. integers use the same integer value for the jmJobIndex.  Then the jobs
  1177. will have the same job identifier value as the jmJobIndex value, so that
  1178. users viewing jobs by management applications using this MIB and
  1179. applications using other protocols will see the same job identifiers for
  1180. the same jobs.  Agents providing access to systems that contain jobs
  1181. with a job identifier of 0 SHALL map the job identifier value 0 to a
  1182. jmJobIndex value that is one higher than the highest job identifier
  1183. value that any job can have on that system.  Then only job 0 will have a
  1184. different job-identifier value than the job's jmJobIndex value.
  1185.  
  1186. NOTE - If a server or device accepts jobs using multiple job submission
  1187. protocols, it may be difficult for the agent to meet the recommendation
  1188. to use the job-identifier values that the server or device assigns as
  1189. the jmJobIndex value, unless the server/device assigns job-identifiers
  1190. for each of its job submission protocols from the same job-identifier
  1191. number space.
  1192.  
  1193. Each time a new job is accepted by the server or device that the agent
  1194. is providing access to AND that job is to be 'active' (pending,
  1195. processing, or processingStopped, but not pendingHeld), the agent SHALL
  1196. copy the value of the job's jmJobIndex to the
  1197. jmGeneralNewestActiveJobIndex object.  If the new job is to be
  1198.  
  1199.  
  1200.  
  1201. Bergman, Hastings, Isaacson, Lewis                 [Page 20]
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1208.  
  1209.  
  1210. 'inactive' (pendingHeld state), the agent SHALL not change the value of
  1211. jmGeneralNewestActiveJobIndex object (though the agent SHALL assign the
  1212. next incremental jmJobIndex value to the job).
  1213.  
  1214. When a job transitions from one of the 'active' job states (pending,
  1215. processing, processingStopped) to one of the 'inactive' job states
  1216. (pendingHeld, completed, canceled, or aborted), with a jmJobIndex value
  1217. that matches the jmGeneralOldestActiveJobIndex object, the agent SHALL
  1218. advance (or wrap) the value to the next oldest 'active' job, if any.
  1219. See the JmJobStateTC textual-convention for a definition of the job
  1220. states.
  1221.  
  1222. Whenever a job transitions from one of the 'inactive' job states to one
  1223. of the 'active' job states (from pendingHeld to pending or processing),
  1224. the agent SHALL update the value of either the
  1225. jmGeneralOldestActiveJobIndex or the jmGeneralNewestActiveJobIndex
  1226. objects, or both, if the job's jmJobIndex value is outside the range
  1227. between jmGeneralOldestActiveJobIndex and jmGeneralNewestActiveJobIndex.
  1228.  
  1229. When all jobs become 'inactive', i.e., enter the pendingHeld, completed,
  1230. canceled, or aborted states, the agent SHALL set the value of both the
  1231. jmGeneralOldestActiveJobIndex and jmGeneralNewestActiveJobIndex objects
  1232. to 0.
  1233.  
  1234. NOTE - Applications that wish to efficiently access all of the active
  1235. jobs MAY use jmGeneralOldestActiveJobIndex value to start with the
  1236. oldest active job and continue until they reach the index value equal to
  1237. jmGeneralNewestActiveJobIndex, skipping over any pendingHeld, completed,
  1238. canceled, or aborted jobs that might intervene.
  1239.  
  1240. If an application detects that the jmGeneralNewestActiveJobIndex is
  1241. smaller than jmGeneralOldestActiveJobIndex, the job index has wrapped.
  1242. In this case, the application SHALL reset the index to 1 when the end of
  1243. the table is reached and continue the GetNext operations to find the
  1244. rest of the active jobs.
  1245.  
  1246. NOTE - Application detect the end of the jmAttributeTable table when the
  1247. OID returned by the GetNext operation is an OID in a different MIB.
  1248. There is no object in this MIB that specifies the maximum value for the
  1249. jmJobIndex supported by the implementation.
  1250.  
  1251. When the server or device is power-cycled, the agent SHALL remember the
  1252. next jmJobIndex value to be assigned, so that new jobs are not assigned
  1253. the same jmJobIndex as recent jobs before the power cycle.
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261. Bergman, Hastings, Isaacson, Lewis                 [Page 21]
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1268.  
  1269.  
  1270. 3.3 The Attribute Mechanism
  1271.  
  1272. Attributes are similar to information objects, except that attributes
  1273. are identified by an enum, instead of an OID, so that attributes may be
  1274. registered without requiring a new MIB.  Also an implementation that
  1275. does not have the functionality represented by the attribute can omit
  1276. the attribute entirely, rather than having to return a distinguished
  1277. value.  The agent is free to materialize an attribute in the
  1278. jmAttributeTable as soon as the agent is aware of the value of the
  1279. attribute.
  1280.  
  1281. The agent materializes job attributes in a four-indexed
  1282. jmAttributeTable:
  1283.  
  1284.    1. jmGeneralJobSetIndex - which job set
  1285.  
  1286.    2. jmJobIndex - which job in the job set
  1287.  
  1288.    3. jmAttributeTypeIndex - which attribute
  1289.  
  1290.    4. jmAttributeInstanceIndex - which attribute instance for those
  1291.       attributes that can have multiple values per job.
  1292.  
  1293. Some attributes represent information about a job, such as a file-name,
  1294. a document-name, a submission-time or a completion time.  Other
  1295. attributes represent resources required, e.g., a medium or a colorant,
  1296. etc. to process the job before the job starts processing OR to indicate
  1297. the amount of the resource consumed during and after processing, e.g.,
  1298. pages completed or impressions completed.  If both a required and a
  1299. consumed value of a resource is needed, this specification assigns two
  1300. separate attribute enums in the textual convention.
  1301.  
  1302. NOTE - The table of contents lists all the attributes in order.  This
  1303. order is the order of enum assignments which is the order that the SNMP
  1304. GetNext operation returns attributes.  Most attributes apply to all
  1305. three configurations covered by this MIB specification (see section 2.1
  1306. entitled "System Configurations for the Job Monitoring MIB").  Those
  1307. attributes that apply to a particular configuration are indicated as
  1308. 'Configuration n:' and SHALL NOT be used with other configurations.
  1309.  
  1310. 3.3.1 Conformance of Attribute Implementation
  1311.  
  1312. An agent SHALL implement any attribute if (1) the server or device
  1313. supports the functionality represented by the attribute and (2) the
  1314. information is available to the agent.  The agent MAY create the
  1315. attribute row in the jmAttributeTable when the information is available
  1316. or MAY create the row earlier with the designated 'unknown' value
  1317. appropriate for that attribute.  See next section.
  1318.  
  1319.  
  1320.  
  1321. Bergman, Hastings, Isaacson, Lewis                 [Page 22]
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1328.  
  1329.  
  1330. If the server or device does not implement or does not provide access to
  1331. the information about an attribute, the agent SHOULD NOT create the
  1332. corresponding row in the jmAttributeTable.
  1333.  
  1334. 3.3.2 Useful, 'Unknown', and 'Other' Values for Objects and Attributes
  1335.  
  1336. Some attributes have a 'useful' Integer32 value, some have a 'useful'
  1337. OCTET STRING value, some MAY have either or both depending on
  1338. implementation, and some MUST have both.  See the JmAttributeTypeTC
  1339. textual convention for the specification of each attribute.
  1340.  
  1341. SNMP requires that if an object cannot be implemented because its values
  1342. cannot be accessed, then a compliant agent SHALL return an SNMP error in
  1343. SNMPv1 or an exception value in SNMPv2.  However, this MIB has been
  1344. designed so that 'all' objects can and SHALL be implemented by an agent,
  1345. so that neither the SNMPv1 error nor the SNMPv2 exception value SHALL be
  1346. generated by the agent.  This MIB has also been designed so that when an
  1347. agent materializes an attribute, the agent SHALL materialize a row
  1348. consisting of both the jmAttributeValueAsInteger and
  1349. jmAttributeValueAsOctets objects.
  1350.  
  1351. In general, values for objects and attributes have been chosen so that a
  1352. management application will be able to determine whether a 'useful',
  1353. 'unknown', or 'other' value is available.  When a useful value is not
  1354. available for an object that agent SHALL return a zero-length string for
  1355. octet strings, the value 'unknown(2)' for enums, a '0' value for an
  1356. object that represents an index in another table, and a value '-2' for
  1357. counting integers.
  1358.  
  1359. Since each attribute is represented by a row consisting of both the
  1360. jmAttributeValueAsInteger and jmAttributeValueAsOctets MANDATORY
  1361. objects, SNMP requires that the agent SHALL always create an attribute
  1362. row with both objects specified.  However, for most attributes the agent
  1363. SHALL return a "useful" value for one of the objects and SHALL return
  1364. the 'other' value for the other object.  For integer only attributes,
  1365. the agent SHALL always return a zero-length string value for the
  1366. jmAttributeValueAsOctets object.  For octet string only attributes, the
  1367. agent SHALL always return a '-1' value for the jmAttributeValueAsInteger
  1368. object.
  1369.  
  1370. 3.3.3 Data Sub-types and Attribute Naming Conventions
  1371.  
  1372. Many attributes are sub-typed to give a more specific data type than
  1373. Integer32 or OCTET STRING.  The data sub-type of each attribute is
  1374. indicated on the first line(s) of the description.  Some attributes have
  1375. several different data sub-type representations.  When an attribute has
  1376. both an Integer32 data sub-type and an OCTET STRING data sub-type, the
  1377. attribute can be represented in a single row in the jmAttributeTable.
  1378.  
  1379.  
  1380.  
  1381. Bergman, Hastings, Isaacson, Lewis                 [Page 23]
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1388.  
  1389.  
  1390. In this case, the data sub-type name is not included as the last part of
  1391. the name of the attribute, e.g., documentFormat(38) which is both an
  1392. enum and/or a name.  When the data sub-types cannot be represented by a
  1393. single row in the jmAttributeTable, each such representation is
  1394. considered a separate attribute and is assigned a separate name and enum
  1395. value.  For these attributes, the name of the data sub-type is the last
  1396. part of the name of the attribute: Name, Index, DateAndTime, TimeStamp,
  1397. etc.  For example, documentFormatIndex(37) is an index.
  1398.  
  1399. NOTE: The Table of Contents also lists the data sub-type and/or data
  1400. sub-types of each attribute, using the textual-convention name when such
  1401. is defined.  The following abbreviations are used in the Table of
  1402. Contents as shown:
  1403.   'Int32(-2..)'     Integer32(-2..2147483647)
  1404.   'Int32(0..)'      Integer32(0..2147483647)
  1405.   'Int32(1..)'      Integer32(1..2147483647)
  1406.   'Int32(m..n)'     For all other Integer ranges, the lower
  1407.                     and upper bound of the range is
  1408.                     indicated.
  1409.   'UTF8String63'    JmUTF8StringTC(SIZE(0..63))
  1410.   'JobString63'     JmJobStringTC(SIZE(0..63))
  1411.   'Octets63'        OCTET STRING(SIZE(0..63))
  1412.   'Octets(m..n)'    For all other OCTET STRING ranges, the
  1413.                     exact range is indicated.
  1414.  
  1415. 3.3.4 Single-Value (Row) Versus Multi-Value (MULTI-ROW) Attributes
  1416.  
  1417. Most attributes SHALL have only one row per job.  However, a few
  1418. attributes can have multiple values per job or even per document, where
  1419. each value is a separate row in the jmAttributeTable.  Unless indicated
  1420. with 'MULTI-ROW:' in the JmAttributeTypeTC description, an agent SHALL
  1421. ensure that each attribute occurs only once in the jmAttributeTable for
  1422. a job.  Most of the 'MULTI-ROW' attributes do not allow duplicate
  1423. values, i.e., the agent SHALL ensure that each value occurs only once
  1424. for a job.  Only if the specification of the 'MULTI-ROW' attribute also
  1425. says "the values NEED NOT be unique" can the agent allow duplicate
  1426. values to occur for the job.
  1427.  
  1428. NOTE - Duplicates are allowed for 'extensive' 'MULTI-ROW' attributes,
  1429. such as fileName(34) or documentName(35) which are specified to be 'per-
  1430. document' attributes, but are not allowed for 'intensive' 'MULTI-ROW'
  1431. attributes, such as mediumConsumed(171) and documentFormat(38) which are
  1432. specified to be 'per-job' attributes.
  1433.  
  1434. 3.3.5 Requested Attributes
  1435.  
  1436. A number of attributes record requirements for the job.  Such attribute
  1437. names end with the word 'Requested'.  In the interests of brevity, the
  1438.  
  1439.  
  1440.  
  1441. Bergman, Hastings, Isaacson, Lewis                 [Page 24]
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1448.  
  1449.  
  1450. phrase 'requested' SHALL mean: (1) requested by the client (or
  1451. intervening server) in the job submission protocol and MAY also mean (2)
  1452. embedded in the submitted document data, and/or (3) defaulted by the
  1453. recipient device or server with the same semantics as if the requester
  1454. had supplied, depending on implementation.
  1455.  
  1456. 3.3.6 Consumption Attributes
  1457.  
  1458. A number of attributes record consumption.  Such attribute names end
  1459. with the word 'Completed' or 'Consumed'.  If the job has not yet
  1460. consumed what that resource is metering, the agent either: (1) SHALL
  1461. return the value 0 or (2) SHALL not add this attribute to the
  1462. jmAttributeTable until the consumption begins.  In the interests of
  1463. brevity, the semantics for 0 is specified once here and is not repeated
  1464. for each consumptive attribute specification.
  1465.  
  1466. 3.3.7 Index Value Attributes
  1467.  
  1468. A number of attributes are indexes in other tables.  Such attribute
  1469. names end with the word 'Index'.  If the agent has not (yet) assigned an
  1470. index value for a particular index attribute for a job, the agent SHALL
  1471. either: (1) return the value 0 or (2) not add this attribute to the
  1472. jmAttributeTable until the index value is assigned.  In the interests of
  1473. brevity, the semantics for 0 is specified once here and is not repeated
  1474. for each index attribute specification.
  1475.  
  1476. 3.4 Job Identification
  1477.  
  1478. There are a number of attributes that permit a user, operator or system
  1479. administrator to identify jobs of interest, such as jobName,
  1480. jobOriginatingHost, etc.  In addition, there is a jmJobSubmissionID
  1481. object that is a text string table index.  Being a table index allows a
  1482. monitoring application to quickly locate and identify a particular job
  1483. of interest that was submitted from a particular client by the user
  1484. invoking the monitoring application.  The Job Monitoring MIB needs to
  1485. provide for identification of the job at both sides of the job
  1486. submission process.  The primary identification point is the client
  1487. side.  The jmJobSubmissionID allows the monitoring application to
  1488. identify the job of interest from all the jobs currently "known" by the
  1489. server or device.  The value of jmJobSubmissionID can be assigned by
  1490. either the client's local system or a downstream server or device.  The
  1491. point of assignment depends on the job submission protocol in use.
  1492.  
  1493. The server/device-side identifier, called the jmJobIndex object, SHALL
  1494. be assigned by the SNMP Job Monitoring MIB agent when the server or
  1495. device accepts the jobs from submitting clients.  The jmJobIndex object
  1496. allows the interested party to obtain all objects desired that relate to
  1497. a particular job.  See Section 3.2, entitled 'The Job Tables and the
  1498.  
  1499.  
  1500.  
  1501. Bergman, Hastings, Isaacson, Lewis                 [Page 25]
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1508.  
  1509.  
  1510. Oldest Active and Newest Active Indexes' for the specification of how
  1511. the agent shall assign the jmJobIndex values.
  1512.  
  1513. NOTE - For a number of job submission protocols the server/device
  1514. assigns an integer job identifier when accepting a job so that the
  1515. submitting client can reference the job in subsequent protocol
  1516. operations (For example, see IPP [ipp]).  For such implementations, it
  1517. is recommended that the value of the job identifier and the value of
  1518. jmJobIndex be the same, so that
  1519.  
  1520. The MIB provides a mapping table that maps each jmJobSubmissionID value
  1521. to the corresponding jmJobIndex value generated by the agent, so that an
  1522. application can determine the correct value for the jmJobIndex value for
  1523. the job of interest in a single Get operation, given the Job Submission
  1524. ID.  See the jmJobIDGroup.
  1525.  
  1526. The jobName attribute provides a name that the user supplies as a job
  1527. attribute with the job.  The jobName attribute is not necessarily
  1528. unique, even for one user, let alone across users.
  1529.  
  1530. 3.5 Internationalization Considerations
  1531.  
  1532. This section describes the internationalization considerations included
  1533. in this MIB.
  1534.  
  1535. 3.5.1 'JmUTF8StringTC' for text generated by the server or device
  1536.  
  1537. There are a few objects and attributes that are represented using the
  1538. Universal Multiple-Octet Coded Character Set (UCS) [ISO-10646] encoded
  1539. as an octet string using the UTF-8 [UTF-8] character encoding scheme.
  1540. The 'JmUTF8StringTC' textual convention is used to indicate UTF-8 text
  1541. strings.  These objects and attributes are always supplied (if
  1542. implemented) by the agent, not by the job submitting client:
  1543.      1. jmGeneralJobSetName object
  1544.      2. processingMessage(6) attribute
  1545.      3. physicalDevice(32) (name value) attribute
  1546.  
  1547. The coded character set for representing these objects and attributes
  1548. SHALL be UTF-8 as recommended by RFC 2130 [RFC 2130] and the "IETF
  1549. Policy on Character Sets and Language" [char-set policy].
  1550.  
  1551. NOTE - For strings in 7-bit US-ASCII, there is no impact since the UTF-8
  1552. representation is identical to the US-ASCII [US-ASCII] encoding.
  1553.  
  1554. 3.5.2 'JmJobStringTC' for text generated by the job submitter
  1555.  
  1556. All of the objects and attributes represented by the 'JmJobStringTC'
  1557. textual-convention are either (1) supplied in the job submission
  1558.  
  1559.  
  1560.  
  1561. Bergman, Hastings, Isaacson, Lewis                 [Page 26]
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1568.  
  1569.  
  1570. protocol by the client that submits the job to the server or device or
  1571. (2) are defaulted by the server or device if the job submitting client
  1572. does not supply values.  The agent SHALL represent these objects and
  1573. attributes in the MIB either (1) in the coded character set as they were
  1574. submitted or (2) MAY convert the coded character set to another coded
  1575. character set or encoding scheme.  In any case, the resulting coded
  1576. character set representation SHOULD be UTF-8 [UTF-8], but SHALL be one
  1577. in which the code positions from 0 to 31 SHALL not be used, 32 to 127
  1578. SHALL be US-ASCII [US-ASCII], 127 SHALL be unused, and the remaining
  1579. code positions 128 to 255 SHALL represent single-byte or multi-byte
  1580. graphic characters structured according to ISO 2022 [ISO 2022] or SHALL
  1581. be unused.
  1582.  
  1583. The coded character set SHALL be one of the ones registered with IANA
  1584. [IANA] and SHALL be identified by the jobCodedCharSet attribute in the
  1585. jmJobAttributeTable for the job.  If the agent does not know what coded
  1586. character set was used by the job submitting client, the agent SHALL
  1587. return the 'unknown(2)' value for the jobCodedCharSet attribute for the
  1588. job.
  1589.  
  1590. Examples of coded character sets which meet this criteria for use as the
  1591. value of the jobCodedCharSet job attribute are: US-ASCII [US-ASCII], ISO
  1592. 8859-1 (Latin-1) [ISO 8859-1], any ISO 8859-n, HP Roman8, IBM Code Page
  1593. 850, Windows Default 8-bit set, UTF-8 [UTF-8], US-ASCII plus JIS X0208-
  1594. 1990 Japanese [JIS X0208], US-ASCII plus GB2312-1980 PRC Chinese
  1595. [GB2312].  See the IANA registry of coded character sets [IANA
  1596. charsets].
  1597.  
  1598. Examples of coded character sets which do not meet this criteria are:
  1599. national 7-bit sets conforming to ISO 646 (except US-ASCII), EBCDIC, and
  1600. ISO 10646 (Unicode) [ISO-10646].  In order to represent Unicode
  1601. characters, the UTF-8 [UTF-8] encoding scheme SHALL be used which has
  1602. been assigned the MIBenum value of '106' by IANA.
  1603.  
  1604. The jobCodedCharSet attribute uses the imported 'CodedCharSet' textual-
  1605. convention from the Printer MIB [printmib].
  1606.  
  1607. 3.5.3 'DateAndTime' for representing the date and time
  1608.  
  1609. This MIB also contains objects that are represented using the
  1610. DateAndTime textual convention from SMIv2 [SMIv2-TC].  The job
  1611. management application SHALL display such objects in the locale of the
  1612. user running the monitoring application.
  1613.  
  1614. 3.6 IANA Considerations
  1615.  
  1616. During the development of this standard, the Printer Working Group (PWG)
  1617. working with IANA [iana] will register additional enums while the
  1618.  
  1619.  
  1620.  
  1621. Bergman, Hastings, Isaacson, Lewis                 [Page 27]
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1628.  
  1629.  
  1630. standard is in the proposed and draft states according to the procedures
  1631. described in this section.  IANA will handle registration of additional
  1632. enums after this standard is approved in cooperation with an IANA-
  1633. appointed registration editor from the PWG according to the procedures
  1634. described in this section:
  1635.  
  1636. 3.6.1 IANA Registration of enums
  1637.  
  1638. This specification uses textual conventions to define enumerated values
  1639. (enums) and bit values.  Enumerations (enums) and bit values are sets of
  1640. symbolic values defined for use with one or more objects or attributes.
  1641. All enumeration sets and bit value sets are assigned a symbolic data
  1642. type name (textual convention).  As a convention the symbolic name ends
  1643. in "TC" for textual convention.  These enumerations are defined at the
  1644. beginning of the MIB module specification.
  1645.  
  1646. This working group has defined several type of enumerations for use in
  1647. the Job Monitoring MIB and the Printer MIB[print-mib].  These types
  1648. differ in the method employed to control the addition of new
  1649. enumerations.  Throughout this document, references to "type n enum",
  1650. where n can be 1, 2 or 3 can be found in the various tables.  The
  1651. definitions of these types of enumerations are:
  1652.  
  1653. 3.6.1.1 Type 1 enumerations
  1654.  
  1655. Type 1 enumeration:  All the values are defined in the Job Monitoring
  1656. MIB specification (RFC for the Job Monitoring MIB).  Additional
  1657. enumerated values require a new RFC.
  1658.  
  1659. There are no type 1 enums in the current draft.
  1660.  
  1661. 3.6.1.2 Type 2 enumerations
  1662.  
  1663. Type 2 enumeration:  An initial set of values are defined in the Job
  1664. Monitoring MIB specification.  Additional enumerated values are
  1665. registered after review by this working group or an editor appointed by
  1666. IANA after this working group is no longer active.
  1667.  
  1668. The following type 2 enums are contained in the current draft :
  1669.     1. JmUTF8StringTC
  1670.     2. JmJobStringTC
  1671.     3. JmTimeStampTC
  1672.     4. JmFinishingTC [same enum values as IPP "finishing" attribute]
  1673.     5. JmPrintQualityTC [same enum values as IPP "print-quality"
  1674.        attribute]
  1675.     6. JmTonerEconomyTC
  1676.     7. JmMediumTypeTC
  1677.     8. JmJobSubmissionTypeTC
  1678.  
  1679.  
  1680.  
  1681. Bergman, Hastings, Isaacson, Lewis                 [Page 28]
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1688.  
  1689.  
  1690.     9. JmJobStateTC [same enum values as IPP  "job-state" attribute]
  1691.     10.JmAttributeTypeTC
  1692.  
  1693. For those textual conventions that have the same enum values as the
  1694. indicated IPP Job attribute SHALL be simultaneously registered by IANA
  1695. for use with IPP [ipp-model] and the Job Monitoring MIB.
  1696.  
  1697. 3.6.1.3 Type 3 enumeration
  1698.  
  1699. Type 3 enumeration:  An initial set of values are defined in the Job
  1700. Monitoring MIB specification.  Additional enumerated values are
  1701. registered through IANA without working group review.
  1702.  
  1703. There are no type 3 enums in the current draft.
  1704.  
  1705. 3.6.2 IANA Registration of type 2 bit values
  1706.  
  1707. This draft contains the following type 2 bit value textual-conventions:
  1708.      1. JmJobServiceTypesTC
  1709.      2. JmJobStateReasons1TC
  1710.      3. JmJobStateReasons2TC
  1711.      4. JmJobStateReasons3TC
  1712.      5. JmJobStateReasons4TC
  1713.  
  1714. These textual-conventions are defined as bits in an Integer so that they
  1715. can be used with SNMPv1 SMI.  The jobStateReasonsN (N=1..4) attributes
  1716. are defined as bit values using the corresponding JmJobStateReasonsNTC
  1717. textual-conventions.
  1718.  
  1719. The registration of JmJobServiceTypesTC and JmJobStateReasonsNTC bit
  1720. values SHALL follow the procedures for a type 2 enum as specified in
  1721. Section 3.6.1.2.
  1722.  
  1723. 3.6.3 IANA Registration of Job Submission Id Formats
  1724.  
  1725. In addition to enums and bit values, this specification assigns a single
  1726. ASCII digit or letter to various job submission ID formats.  See the
  1727. JmJobSubmissionIDTypeTC textual-convention and the  object.  The
  1728. registration of  jmJobSubmissionID format numbers SHALL follow the
  1729. procedures for a type 2 enum as specified in Section 3.6.1.2.
  1730.  
  1731. 3.6.4 IANA Registration of MIME types/sub-types for document-formats
  1732.  
  1733. The documentFormat(38) attribute has MIME type/sub-type values for
  1734. indicating document formats which IANA registers as "media type" names.
  1735. The values of the documentFormat(38) attribute are the same as the
  1736. corresponding Internet Printing Protocol (IPP) "document-format" Job
  1737. attribute values [ipp-model].
  1738.  
  1739.  
  1740.  
  1741. Bergman, Hastings, Isaacson, Lewis                 [Page 29]
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1748.  
  1749.  
  1750. 3.7 Security Considerations
  1751.  
  1752. 3.7.1 Read-Write objects
  1753.  
  1754. All objects are read-only, greatly simplifying the security
  1755. considerations.  If another MIB augments this MIB, that MIB might accept
  1756. SNMP Write operations to objects in that MIB whose effect is to modify
  1757. the values of read-only objects in this MIB.  However, that MIB SHALL
  1758. have to support the required access control in order to achieve
  1759. security, not this MIB.
  1760.  
  1761. 3.7.2 Read-Only Objects In Other User's Jobs
  1762.  
  1763. The security policy of some sites MAY be that unprivileged users can
  1764. only get the objects from jobs that they submitted, plus a few minimal
  1765. objects from other jobs, such as the jmJobKOctetsRequested and
  1766. jmJobKOctetsProcessed objects, so that a user can tell how busy a
  1767. printer is.  Other sites MAY allow all unprivileged users to see all
  1768. objects of all jobs.  This MIB does not require, nor does it specify
  1769. how, such restrictions would be implemented.  A monitoring application
  1770. SHOULD enforce the site security policy with respect to returning
  1771. information to an unprivileged end user that is using the monitoring
  1772. application to monitor jobs that do not belong to that user, i.e., the
  1773. jmJobOwner object in the jmJobTable does not match the user's user name.
  1774.  
  1775. An operator is a privileged user that would be able to see all objects
  1776. of all jobs, independent of the policy for unprivileged users.
  1777.  
  1778. 3.8 Notifications
  1779.  
  1780. This MIB does not specify any notifications.  For simplicity, management
  1781. applications are expected to poll for status.  The
  1782. jmGeneralJobPersistence and jmGeneralAttributePersistence objects assist
  1783. an application to determine the polling rate.  The resulting network
  1784. traffic is not expected to be significant.
  1785.  
  1786. 4. MIB specification
  1787.  
  1788. The following pages constitute the actual Job Monitoring MIB.
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801. Bergman, Hastings, Isaacson, Lewis                 [Page 30]
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1808.  
  1809.  
  1810. Job-Monitoring-MIB DEFINITIONS ::= BEGIN
  1811.  
  1812. IMPORTS
  1813.     MODULE-IDENTITY, OBJECT-TYPE, experimental,
  1814.     Integer32                                        FROM SNMPv2-SMI
  1815.     TEXTUAL-CONVENTION                               FROM SNMPv2-TC
  1816.     MODULE-COMPLIANCE, OBJECT-GROUP                  FROM SNMPv2-CONF;
  1817.     -- The following textual-conventions are needed
  1818.     -- to implement certain attributes, but are not
  1819.     -- needed to compile this MIB.  They are
  1820.     -- provided here for convenience:
  1821.     -- hrDeviceIndex                         FROM HOST-RESOURCES-MIB
  1822.     -- DateAndTime                           FROM SNMPv2-TC
  1823.     -- PrtInterpreterLangFamilyTC,
  1824.     -- CodedCharSet                          FROM Printer-MIB
  1825.  
  1826. -- Use the experimental (54) OID assigned to the Printer MIB[print-mib]
  1827. -- before it was published as RFC 1759.
  1828. -- Upon publication of the Job Monitoring MIB as an RFC, delete this
  1829. -- comment and the line following this comment and change the
  1830. -- reference of { temp 105 } (below) to { mib-2 X }.
  1831. -- This will result in changing:
  1832. -- 1 3 6 1 3 54 jobmonMIB(105)    to:
  1833. -- 1 3 6 1 2  1 jobmonMIB(X)
  1834. -- This will make it easier to translate prototypes to
  1835. -- the standard namespace because the lengths of the OIDs won't
  1836. -- change.
  1837. temp OBJECT IDENTIFIER ::= { experimental 54 }
  1838.  
  1839. jobmonMIB MODULE-IDENTITY
  1840.     LAST-UPDATED "9708080000Z"
  1841.     ORGANIZATION "IETF Printer MIB Working Group"
  1842.     CONTACT-INFO
  1843.         "Tom Hastings
  1844.         Postal:  Xerox Corp.
  1845.                  Mail stop ESAE-231
  1846.                  701 S. Aviation Blvd.
  1847.                  El Segundo, CA 90245
  1848.  
  1849.         Tel:     (301)333-6413
  1850.         Fax:     (301)333-5514
  1851.         E-mail:  hastings@cp10.es.xerox.com
  1852.  
  1853.         Send comments to the printmib WG using the Job Monitoring
  1854.         Project (JMP) Mailing List:  jmp@pwg.org
  1855.  
  1856.         To learn how to subscribe to the JMP mailing list,
  1857.         send email to:  jmp-request@pwg.org
  1858.  
  1859.  
  1860.  
  1861. Bergman, Hastings, Isaacson, Lewis                 [Page 31]
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1868.  
  1869.  
  1870.  
  1871.         For further information, access the PWG web page under 'JMP':
  1872.         http://www.pwg.org/"
  1873.     DESCRIPTION
  1874.         "The MIB module for monitoring job in servers, printers, and
  1875.         other devices.
  1876.  
  1877.         File: draft-ietf-printmib-job-monitor-05.txt
  1878.         Version: 0.85"
  1879.     ::= { temp 105 }
  1880.  
  1881.  
  1882.  
  1883. -- Textual conventions for this MIB module
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889. JmUTF8StringTC ::= TEXTUAL-CONVENTION
  1890.     DISPLAY-HINT "255a"
  1891.     STATUS      current
  1892.     DESCRIPTION
  1893.         "To facilitate internationalization, this TC represents
  1894.         information taken from the ISO/IEC IS 10646-1 character set,
  1895.         encoded as an octet string using the UTF-8 character encoding
  1896.         scheme.
  1897.  
  1898.         NOTE - The values of objects and attributes using this textual
  1899.         convention are generated by the server or the device, not by the
  1900.         job submitter."
  1901.     REFERENCE
  1902.         "See section 3.5.1, ''JmUTF8StringTC' for text generated by the
  1903.         server or device'."
  1904.     SYNTAX      OCTET STRING (SIZE (0..63))
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910. JmJobStringTC ::= TEXTUAL-CONVENTION
  1911.     STATUS      current
  1912.     DESCRIPTION
  1913.         "To facilitate internationalization, this TC represents
  1914.         information using any coded character set registered by IANA
  1915.         that has the following properties:  (1) code positions from 0 to
  1916.         31 SHALL not be used, (2) 32 to 127 SHALL be US-ASCII [US-
  1917.         ASCII], (3) 127 SHALL be unused, and (4) the remaining code
  1918.  
  1919.  
  1920.  
  1921. Bergman, Hastings, Isaacson, Lewis                 [Page 32]
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1928.  
  1929.  
  1930.         positions 128 to 255 SHALL represent single-byte or multi-byte
  1931.         graphic characters structured according to ISO 2022 [ISO 2022]
  1932.         or SHALL be unused.  While it is recommended that the coded
  1933.         character set be UTF-8 [UTF-8], the actual coded character set
  1934.         SHALL be indicated by the value of the jobCodedCharSet(7)
  1935.         attribute for the job.
  1936.  
  1937.         NOTE - The values of objects and attributes using this textual
  1938.         convention are either generated by the job submitter or
  1939.         defaulted by the server or device when the job submitter does
  1940.         not supply values."
  1941.     REFERENCE
  1942.         "See section 3.5.2, ''JmJobStringTC' for text generated by the
  1943.         job submitter'."
  1944.     SYNTAX      OCTET STRING (SIZE (0..63))
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950. JmTimeStampTC ::= TEXTUAL-CONVENTION
  1951.     STATUS      current
  1952.     DESCRIPTION
  1953.         "The simple time at which an event took place.  The units SHALL
  1954.         be in seconds since the system was booted.
  1955.  
  1956.         NOTE - JmTimeStampTC is defined in units of seconds, rather than
  1957.         100ths of seconds, so as to be simpler for agents to implement
  1958.         (even if they have to implement the 100ths of a second to comply
  1959.         with implementing sysUpTime in MIB-II[mib-II].)
  1960.  
  1961.         NOTE - JmTimeStampTC is defined as an Integer32 so that it can
  1962.         be used as a value of an attribute, i.e., as a value of the
  1963.         jmAttributeValueAsInteger object.  The TimeStamp textual-
  1964.         convention defined in SMNPv2-TC is defined as an APPLICATION 3
  1965.         IMPLICIT INTEGER tag, not an Integer32, so cannot be used in
  1966.         this MIB as one of the values of jmAttributeValueAsInteger."
  1967.     SYNTAX      INTEGER(0..2147483647)
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973. JmJobSourcePlatformTypeTC ::= TEXTUAL-CONVENTION
  1974.     STATUS      current
  1975.     DESCRIPTION
  1976.         "The source platform type that can submit jobs to servers or
  1977.         devices in any of the 3 configurations."
  1978.  
  1979.  
  1980.  
  1981. Bergman, Hastings, Isaacson, Lewis                 [Page 33]
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  1988.  
  1989.  
  1990.     REFERENCE
  1991.         "This is a type 2 enumeration.  See Section 3.6.1.2."
  1992.     SYNTAX      INTEGER {
  1993.         other(1),
  1994.         unknown(2),
  1995.         sptUNIX(3),            -- UNIX(tm)
  1996.         sptOS2(4),             -- OS/2
  1997.         sptPCDOS(5),           -- DOS
  1998.         sptNT(6),              -- NT
  1999.         sptMVS(7),             -- MVS
  2000.         sptVM(8),              -- VM
  2001.         sptOS400(9),           -- OS/400
  2002.         sptVMS(10),            -- VMS
  2003.         sptWindows95(11),      -- Windows95
  2004.         sptNetWare(33)         -- NetWare
  2005.     }
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012. JmFinishingTC ::= TEXTUAL-CONVENTION
  2013.     STATUS      current
  2014.     DESCRIPTION
  2015.         "The type of finishing operation.
  2016.  
  2017.         These values are the same as the enum values of the IPP
  2018.         'finishings' attribute.  See Section 3.6.1.2.
  2019.  
  2020.         other(1),
  2021.             Some other finishing operation besides one of the specified
  2022.             or registered values.
  2023.  
  2024.         unknown(2),
  2025.             The finishing is unknown.
  2026.  
  2027.         none(3),
  2028.             Perform no finishing.
  2029.  
  2030.         staple(4),
  2031.             Bind the document(s) with one or more staples. The exact
  2032.             number and placement of the staples is site-defined.
  2033.  
  2034.         stapleTopLeft(5),
  2035.             Place one or more staples on the top left corner of the
  2036.             document(s).
  2037.  
  2038.  
  2039.  
  2040.  
  2041. Bergman, Hastings, Isaacson, Lewis                 [Page 34]
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2048.  
  2049.  
  2050.         stapleBottomLeft(6),
  2051.             Place one or more staples on the bottom left corner of the
  2052.             document(s).
  2053.  
  2054.         stapleTopRight(7),
  2055.             Place one or more staples on the top right corner of the
  2056.             document(s).
  2057.  
  2058.         stapleBottomRight(8),
  2059.             Place one or more staples on the bottom right corner of the
  2060.             document(s).
  2061.  
  2062.         saddleStitch(9),
  2063.             Bind the document(s) with one or more staples (wire
  2064.             stitches) along the middle fold.  The exact number and
  2065.             placement of the stitches is site-defined.
  2066.  
  2067.         edgeStitch(10),
  2068.             Bind the document(s) with one or more staples (wire
  2069.             stitches) along one edge.  The exact number and placement of
  2070.             the staples is site-defined.
  2071.  
  2072.         punch(11),
  2073.             This value indicates that holes are required in the finished
  2074.             document. The exact number and placement of the holes is
  2075.             site-defined  The punch specification MAY be satisfied (in a
  2076.             site- and implementation-specific manner) either by
  2077.             drilling/punching, or by substituting pre-drilled media.
  2078.  
  2079.         cover(12),
  2080.             This value is specified when it is desired to select a non-
  2081.             printed (or pre-printed) cover for the document. This does
  2082.             not supplant the specification of a printed cover (on cover
  2083.             stock medium) by the document itself.
  2084.  
  2085.         bind(13)
  2086.             This value indicates that a binding is to be applied to the
  2087.             document; the type and placement of the binding is product-
  2088.             specific."
  2089.     REFERENCE
  2090.         "This is a type 2 enumeration.  See Section 3.6.1.2."
  2091.     SYNTAX      INTEGER {
  2092.         other(1),
  2093.         unknown(2),
  2094.         none(3),
  2095.         staple(4),
  2096.         stapleTopLeft(5),
  2097.         stapleBottomLeft(6),
  2098.  
  2099.  
  2100.  
  2101. Bergman, Hastings, Isaacson, Lewis                 [Page 35]
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2108.  
  2109.  
  2110.         stapleTopRight(7),
  2111.         stapleBottomRight(8),
  2112.         saddleStitch(9),
  2113.         edgeStitch(10),
  2114.         punch(11),
  2115.         cover(12),
  2116.         bind(13)
  2117.     }
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124. JmPrintQualityTC ::= TEXTUAL-CONVENTION
  2125.     STATUS      current
  2126.     DESCRIPTION
  2127.         "Print quality settings.
  2128.  
  2129.         These values are the same as the enum values of the IPP 'print-
  2130.         quality' attribute.  See Section 3.6.1.2."
  2131.     REFERENCE
  2132.         "This is a type 2 enumeration.  See Section 3.6.1.2."
  2133.     SYNTAX      INTEGER {
  2134.         other(1),     -- Not one of the specified or registered
  2135.                       -- values.
  2136.         unknown(2),   -- The actual value is unknown.
  2137.         draft(3),     -- Lowest quality available on the printer.
  2138.         normal(4),    -- Normal or intermediate quality on the
  2139.                       -- printer.
  2140.         high(5)       -- Highest quality available on the printer.
  2141.     }
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147. JmPrinterResolutionTC ::= TEXTUAL-CONVENTION
  2148.     STATUS      current
  2149.     DESCRIPTION
  2150.         "Printer resolutions.
  2151.  
  2152.         Nine octets consisting of two 4-octet SIGNED-INTEGERs followed
  2153.         by a SIGNED-BYTE.  The values are the same as those specified in
  2154.         the Printer MIB [printmib]. The first SIGNED-INTEGER contains
  2155.         the value of prtMarkerAddressabilityXFeedDir.  The second
  2156.         SIGNED-INTEGER contains the value of
  2157.  
  2158.  
  2159.  
  2160.  
  2161. Bergman, Hastings, Isaacson, Lewis                 [Page 36]
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2168.  
  2169.  
  2170.         prtMarkerAddressabilityFeedDir.  The SIGNED-BYTE contains the
  2171.         value of prtMarkerAddressabilityUnit.
  2172.  
  2173.         Note: the latter value is either 3 (tenThousandsOfInches) or 4
  2174.         (micrometers) and the addressability is in 10,000 units of
  2175.         measure. Thus the SIGNED-INTEGERs represent integral values in
  2176.         either dots-per-inch or dots-per-centimeter.
  2177.  
  2178.         The syntax is the same as the IPP 'printer-resolution'
  2179.         attribute.  See Section 3.6.1.2."
  2180.     SYNTAX      OCTET STRING (SIZE(9))
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187. JmTonerEconomyTC ::= TEXTUAL-CONVENTION
  2188.     STATUS      current
  2189.     DESCRIPTION
  2190.         "Toner economy settings."
  2191.     REFERENCE
  2192.         "This is a type 2 enumeration.  See Section 3.6.1.2."
  2193.     SYNTAX      INTEGER {
  2194.         unknown(2),    --  unknown.
  2195.         off(3),        --  Off.  Normal.  Use full toner.
  2196.         on(4)          --  On.  Use less toner than normal.
  2197.     }
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204. JmBooleanTC ::= TEXTUAL-CONVENTION
  2205.     STATUS      current
  2206.     DESCRIPTION
  2207.         "Boolean true or false value."
  2208.     REFERENCE
  2209.         "This is a type 2 enumeration.  See Section 3.6.1.2."
  2210.     SYNTAX      INTEGER {
  2211.         unknown(2),    --  unknown.
  2212.         false(3),      --  FALSE.
  2213.         true(4)        --  TRUE.
  2214.     }
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221. Bergman, Hastings, Isaacson, Lewis                 [Page 37]
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233. JmMediumTypeTC ::= TEXTUAL-CONVENTION
  2234.     STATUS      current
  2235.     DESCRIPTION
  2236.         "Identifies the type of medium.
  2237.  
  2238.         other(1),
  2239.             The type is neither one of the values listed in this
  2240.             specification nor a registered value.
  2241.  
  2242.         unknown(2),
  2243.             The type is not known.
  2244.  
  2245.         stationery(3),
  2246.             Separately cut sheets of an opaque material.
  2247.  
  2248.         transparency(4),
  2249.             Separately cut sheets of a transparent material.
  2250.  
  2251.         envelope(5),
  2252.             Envelopes that can be used for conventional mailing
  2253.             purposes.
  2254.  
  2255.         envelopePlain(6),
  2256.             Envelopes that are not preprinted and have no windows.
  2257.  
  2258.         envelopeWindow(7),
  2259.             Envelopes that have windows for addressing purposes.
  2260.  
  2261.         continuousLong(8),
  2262.             Continuously connected sheets of an opaque material
  2263.             connected along the long edge.
  2264.  
  2265.         continuousShort(9),
  2266.             Continuously connected sheets of an opaque material
  2267.             connected along the short edge.
  2268.  
  2269.         tabStock(10),
  2270.             Media with tabs.
  2271.  
  2272.         multiPartForm(11),
  2273.             Form medium composed of multiple layers not pre-attached to
  2274.             one another;  each sheet MAY be drawn separately from an
  2275.             input source.
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281. Bergman, Hastings, Isaacson, Lewis                 [Page 38]
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2288.  
  2289.  
  2290.         labels(12),
  2291.             Label-stock.
  2292.  
  2293.         multiLayer(13)
  2294.             Form medium composed of multiple layers which are pre-
  2295.             attached to one another, e.g. for use with impact printers."
  2296.     REFERENCE
  2297.         "This is a type 2 enumeration.  See Section 3.6.1.2."
  2298.     SYNTAX      INTEGER {
  2299.         other(1),
  2300.         unknown(2),
  2301.         stationery(3),
  2302.         transparency(4),
  2303.         envelope(5),
  2304.         envelopePlain(6),
  2305.         envelopeWindow(7),
  2306.         continuousLong(8),
  2307.         continuousShort(9),
  2308.         tabStock(10),
  2309.         multiPartForm(11),
  2310.         labels(12),
  2311.         multiLayer(13)
  2312.     }
  2313.  
  2314.  
  2315.  
  2316.  
  2317.  
  2318.  
  2319. JmJobSubmissionTypeTC ::= TEXTUAL-CONVENTION
  2320.     STATUS      current
  2321.     DESCRIPTION
  2322.         "Identifies the format type of a job submission ID.
  2323.  
  2324.         The ASCII characters '0-9', 'A-Z', and 'a-z' are assigned in
  2325.         order giving 62 possible formats.
  2326.  
  2327.         Each job submission ID is a fixed-length, 48-octet printable
  2328.         ASCII coded character string, consisting of the following
  2329.         fields:
  2330.  
  2331.           octet  1      The format letter.
  2332.           octets 2-40   A 39-character, ASCII trailing SPACE filled
  2333.                         field specified by the format letter, if the
  2334.                         data is less than 39 ASCII characters.
  2335.           octets 41-48  A sequential or random number to make the ID
  2336.                         quasi-unique.
  2337.  
  2338.  
  2339.  
  2340.  
  2341. Bergman, Hastings, Isaacson, Lewis                 [Page 39]
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2348.  
  2349.  
  2350.         If the client does not supply a job submission ID in the job
  2351.         submission protocol, then the server SHALL assign a job
  2352.         submission ID using any of the standard formats that are
  2353.         reserved to the agent.  Clients SHALL not use formats that are
  2354.         reserved to agents.
  2355.  
  2356.         The format values defined at the time of completion of the
  2357.         specification are:
  2358.  
  2359.           Format
  2360.           Letter    Description
  2361.           ------    ------------
  2362.           '0'       octets 2-40: last 39 bytes of the jmJobOwner
  2363.                     object.
  2364.                     octets 41-48:  8-decimal-digit sequential number
  2365.                     This format is reserved to agents for use when
  2366.                     the client does not supply a job submission ID.
  2367.                     Clients wishing to use a job submission ID that
  2368.                     incorporates the job owner, SHALL use format '8',
  2369.                     not format '0', in order to reduce the chances of
  2370.                     one client assigning the same ID as the agent when
  2371.                     receiving a job from another client that does not
  2372.                     supply a job submission id.
  2373.  
  2374.                     NOTE - other formats may be registered that are
  2375.                     reserved to the agent for use when the client does
  2376.                     not supply a job submission ID.
  2377.  
  2378.           '1'       octets 2-40: last 39 bytes of the jobName attribute.
  2379.                     octets 41-48:  8-decimal-digit random number
  2380.  
  2381.           '2'       octets 2-40: Client MAC address: in hexadecimal
  2382.                     with each nibble of the 6 octet address being
  2383.                     '0'-'9' or 'A' - 'F' (uppercase only).
  2384.                     Most significant octet first.
  2385.                     octets 41-48:  8-decimal-digit sequential number
  2386.  
  2387.           '3'       octets 2-40: last 39 bytes of the client URL
  2388.                     [URI-spec].
  2389.                     octets 41-48:  8-decimal-digit sequential number
  2390.  
  2391.           '4'       octets 2-40: last 39 bytes of the URI [URI-spec]
  2392.                     assigned by the server or device to the job when
  2393.                     the job was submitted for processing.
  2394.                     octets 41-48:  8-decimal-digit sequential number
  2395.  
  2396.           '5'       octets 2-40: last 39 bytes of a user number, such
  2397.                     as POSIX user number.
  2398.  
  2399.  
  2400.  
  2401. Bergman, Hastings, Isaacson, Lewis                 [Page 40]
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2408.  
  2409.  
  2410.                     octets 41-48:  8-decimal-digit sequential number
  2411.  
  2412.           '6'       octets 2-40: last 39 bytes of the user account
  2413.                     number.
  2414.                     octets 41-48:  8-decimal-digit sequential number
  2415.  
  2416.           '7'       octets 2-40: last 39 bytes of the DTMF incoming
  2417.                     FAX routing number.
  2418.                     octets 41-48:  8-decimal-digit sequential number
  2419.  
  2420.           '8'       octets 2-40: last 39 bytes of the job owner name
  2421.                     (that the agent returns in the jmJobOwner object).
  2422.                     octets 41-48:  8-decimal-digit sequential number
  2423.  
  2424.         NOTE - the job submission id is only intended to be unique
  2425.         between a limited set of clients for a limited duration of time,
  2426.         namely, for the life time of the job in the context of the
  2427.         server or device that is processing the job.  Some of the
  2428.         formats include something that is unique per client and a random
  2429.         number so that the same job submitted by the same client will
  2430.         have a different job submission id.  For other formats, where
  2431.         part of the id is guaranteed to be unique for each client, such
  2432.         as the MAC address or URL, a sequential number SHOULD suffice
  2433.         for each client (and may be easier for each client to manage).
  2434.         Therefore, the length of the job submission id has been selected
  2435.         to reduce the probability of collision to an extremely low
  2436.         number, but is not intended to be an absolute guarantee of
  2437.         uniqueness.  None-the-less, collisions are remotely possible,
  2438.         but without bad consequences, since this MIB is intended to be
  2439.         used only for monitoring jobs, not for controlling and managing
  2440.         them."
  2441.     REFERENCE
  2442.         "This is like a type 2 enumeration.  See section 3.6.3."
  2443.     SYNTAX      OCTET STRING(SIZE(1)) -- ASCII '0'-'9', 'A'-'Z', 'a'-'z'
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450. JmJobStateTC ::= TEXTUAL-CONVENTION
  2451.     STATUS      current
  2452.     DESCRIPTION
  2453.         "The current state of the job (pending, processing, completed,
  2454.         etc.).
  2455.  
  2456.         The following figure shows the normal job state transitions:
  2457.  
  2458.  
  2459.  
  2460.  
  2461. Bergman, Hastings, Isaacson, Lewis                 [Page 41]
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2468.  
  2469.  
  2470.  
  2471.                                                      +----> canceled(7)
  2472.                                                     /
  2473.     +---> pending(3) --------> processing(5) ------+------> completed(9)
  2474.     |         ^                       ^             \
  2475. --->+         |                       |              +----> aborted(8)
  2476.     |         v                       v             /
  2477.     +---> pendingHeld(4)   processingStopped(6) ---+
  2478.  
  2479.  
  2480.                 Figure 4 - Normal Job State Transitions
  2481.  
  2482.  
  2483.         Normally a job progresses from left to right.  Other state
  2484.         transitions are unlikely, but are not forbidden.  Not shown are
  2485.         the transitions to the canceled state from the pending,
  2486.         pendingHeld, processing, and processingStopped states.
  2487.  
  2488.         Jobs in the pending, processing, and processingStopped states
  2489.         are called 'active', while jobs in the pendingHeld, canceled,
  2490.         aborted, and completed are called 'inactive'.
  2491.  
  2492.         These values are the same as the enum values of the IPP 'job-
  2493.         state' job attribute.  See Section 3.6.1.2.
  2494.  
  2495.         unknown(2),
  2496.             The job state is not known, or its state is indeterminate.
  2497.  
  2498.         pending(3),
  2499.             The job is a candidate to start processing, but is not yet
  2500.             processing.
  2501.  
  2502.         pendingHeld(4),
  2503.             The job is not a candidate for processing for any number of
  2504.             reasons but will return to the pending state as soon as the
  2505.             reasons are no longer present.  The job's jmJobStateReasons1
  2506.             object and/or jobStateReasonsN (N=2..4) attributes SHALL
  2507.             indicate why the job is no longer a candidate for
  2508.             processing.  The reasons are represented as bits in the
  2509.             jmJobStateReasons1 object and/or jobStateReasonsN (N=2..4)
  2510.             attributes.  See the JmJobStateReasonsNTC (N=1..4) textual
  2511.             convention for the specification of each reason.
  2512.  
  2513.         processing(5),
  2514.             Either:
  2515.  
  2516.             1.  The job is using, or is attempting to use, one or more
  2517.             document transforms which include (1) purely software
  2518.  
  2519.  
  2520.  
  2521. Bergman, Hastings, Isaacson, Lewis                 [Page 42]
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2528.  
  2529.  
  2530.             processes that are interpreting a PDL, and (2) hardware
  2531.             devices that are interpreting a PDL, making marks on a
  2532.             medium, and/or performing finishing, such as stapling, etc.
  2533.  
  2534.             OR
  2535.  
  2536.             2. (configuration 2) the server has made the job ready for
  2537.             printing, but the output device is not yet printing it,
  2538.             either because the job hasn't reached the output device or
  2539.             because the job is queued in the output device or some other
  2540.             spooler, awaiting the output device to print it.
  2541.  
  2542.             When the job is in the processing state, the entire job
  2543.             state includes the detailed status represented in the device
  2544.             MIB indicated by the hrDeviceIndex value of the job's
  2545.             physicalDevice attribute, if the agent implements such a
  2546.             device MIB.
  2547.  
  2548.             Implementations MAY, though they NEED NOT, include
  2549.             additional values in the job's jmJobStateReasons1 object to
  2550.             indicate the progress of the job, such as adding the
  2551.             jobPrinting value to indicate when the device is actually
  2552.             making marks on a medium.
  2553.  
  2554.         processingStopped(6),
  2555.             The job has stopped while processing for any number of
  2556.             reasons and will return to the processing state as soon as
  2557.             the reasons are no longer present.
  2558.  
  2559.             The job's jmJobStateReasons1 object and/or the job's
  2560.             jobStateReasonsN (N=2..4) attributes MAY indicate why the
  2561.             job has stopped processing.  For example, if the output
  2562.             device is stopped, the deviceStopped value MAY be included
  2563.             in the job's jmJobStateReasons1 object.
  2564.  
  2565.             NOTE - When an output device is stopped, the device usually
  2566.             indicates its condition in human readable form at the
  2567.             device.  The management application can obtain more complete
  2568.             device status remotely by querying the appropriate device
  2569.             MIB using the job's deviceIndex attribute(s), if the agent
  2570.             implements such a device MIB
  2571.  
  2572.         canceled(7),
  2573.             A client has canceled the job and the job is either: (1) in
  2574.             the process of being terminated by the server or device or
  2575.             (2) has completed terminating.  The job's jmJobStateReasons1
  2576.             object SHOULD contain either the canceledByUser or
  2577.             canceledByOperator value.
  2578.  
  2579.  
  2580.  
  2581. Bergman, Hastings, Isaacson, Lewis                 [Page 43]
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2588.  
  2589.  
  2590.  
  2591.         aborted(8),
  2592.             The job has been aborted by the system, usually while the
  2593.             job was in the processing or processingStopped state.
  2594.  
  2595.         completed(9)
  2596.             The job has completed successfully or with warnings or
  2597.             errors after processing and all of the media have been
  2598.             successfully stacked in the appropriate output bin(s).  The
  2599.             job's jmJobStateReasons1 object SHOULD contain one of:
  2600.             completedSuccessfully, completedWithWarnings, or
  2601.             completedWithErrors values."
  2602.     REFERENCE
  2603.         "This is a type 2 enumeration.  See Section 3.6.1.2."
  2604.     SYNTAX      INTEGER {
  2605.         unknown(2),
  2606.         pending(3),
  2607.         pendingHeld(4),
  2608.         processing(5),
  2609.         processingStopped(6),
  2610.         canceled(7),
  2611.         aborted(8),
  2612.         completed(9)
  2613.     }
  2614.  
  2615.  
  2616.  
  2617. JmAttributeTypeTC ::= TEXTUAL-CONVENTION
  2618.     STATUS      current
  2619.     DESCRIPTION
  2620.         "The type of the attribute which identifies the attribute.
  2621.  
  2622.         In the following definitions of the enums, each description
  2623.         indicates whether the useful value of the attribute SHALL be
  2624.         represented using the jmAttributeValueAsInteger or the
  2625.         jmAttributeValueAsOctets objects by the initial tag: 'INTEGER:'
  2626.         or 'OCTETS:', respectively.
  2627.  
  2628.         Some attributes allow the agent implementer a choice of useful
  2629.         values of either an integer, an octets representation, or both,
  2630.         depending on implementation.  These attributes are indicated
  2631.         with 'INTEGER:' AND/OR 'OCTETS:' tags.
  2632.  
  2633.         A very few attributes require both objects at the same time to
  2634.         represent a pair of useful values (see mediumConsumed(171)).
  2635.         These attributes are indicated with 'INTEGER:' AND 'OCTETS:'
  2636.         tags.  See the jmAttributeGroup for the descriptions of these
  2637.         two MANDATORY objects.
  2638.  
  2639.  
  2640.  
  2641. Bergman, Hastings, Isaacson, Lewis                 [Page 44]
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2648.  
  2649.  
  2650.  
  2651.         NOTE - The enum assignments are grouped logically with values
  2652.         assigned in groups of 20, so that additional values may be
  2653.         registered in the future and assigned a value that is part of
  2654.         their logical grouping.
  2655.  
  2656.         NOTE: No attribute name exceeds 31 characters.
  2657.  
  2658.         The standard attribute types defined at the time of completion
  2659.         of the specification are:
  2660.  
  2661.         jmAttributeTypeIndex              Datatype
  2662.         --------------------              --------
  2663.  
  2664.         other(1),                         Integer32(-2..2147483647)
  2665.                                           AND/OR
  2666.                                           OCTET STRING(SIZE(0..63))
  2667.             INTEGER:  and/or  OCTETS:  An attribute that is not in the
  2668.             list and/or that has not been approved and registered with
  2669.             IANA.
  2670.  
  2671.  
  2672.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  2673.         + Job State attributes
  2674.         +
  2675.         + The following attributes specify the state of a job.
  2676.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  2677.  
  2678.         jobStateReasons2(3),              JmJobStateReasons2TC
  2679.             INTEGER:  Additional information about the job's current
  2680.             state that augments the jmJobState object.  See the
  2681.             description under the JmJobStateReasons1TC textual-
  2682.             convention.
  2683.  
  2684.         jobStateReasons3(4),              JmJobStateReasons3TC
  2685.             INTEGER:  Additional information about the job's current
  2686.             state that augments the jmJobState object.  See the
  2687.             description under JmJobStateReasons1TC textual-convention.
  2688.  
  2689.         jobStateReasons4(5),              JmJobStateReasons4TC
  2690.             INTEGER:  Additional information about the job's current
  2691.             state that augments the jmJobState object.  See the
  2692.             description under JmJobStateReasons1TC textual-convention.
  2693.  
  2694.         processingMessage(6),             JmUTF8StringTC(SIZE(0..63))
  2695.             OCTETS:  MULTI-ROW:  A coded character set message that is
  2696.             generated by the server or device during the processing of
  2697.  
  2698.  
  2699.  
  2700.  
  2701. Bergman, Hastings, Isaacson, Lewis                 [Page 45]
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2708.  
  2709.  
  2710.             the job as a simple form of processing log to show progress
  2711.             and any problems.
  2712.  
  2713.             There is no restriction for the same message occurring in
  2714.             multiple rows.
  2715.  
  2716.         jobCodedCharSet(7),               CodedCharSet
  2717.             INTEGER:  The MIBenum identifier of the coded character set
  2718.             that the agent is using to represent coded character set
  2719.             objects and attributes of type 'JmJobStringTC'.  These coded
  2720.             character set objects and attributes are either: (1)
  2721.             supplied by the job submitting client or (2) defaulted by
  2722.             the server or device when omitted by the job submitting
  2723.             client.  The agent SHALL represent these objects and
  2724.             attributes in the MIB either (1) in the coded character set
  2725.             as they were submitted or (2) MAY convert the coded
  2726.             character set to another coded character set or encoding
  2727.             scheme as identified by the jobCodedCharSet attribute.
  2728.  
  2729.             These MIBenum values are assigned by IANA [IANA-charsets]
  2730.             when the coded character sets are registered.  The coded
  2731.             character set SHALL be one of the ones registered with IANA
  2732.             [IANA] and the enum value uses the CodedCharSet textual-
  2733.             convention from the Printer MIB.  See the JmJobStringTC
  2734.             textual-convention.
  2735.  
  2736.             If the agent does not know what coded character set was used
  2737.             by the job submitting client, the agent SHALL return the
  2738.             'unknown(2)' value for the jobCodedCharSet attribute for the
  2739.             job.  See Section 3.5.2, entitled ''JmJobStringTC' for text
  2740.             generated by the job submitter'.
  2741.  
  2742.  
  2743.  
  2744.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  2745.         + Job Identification attributes
  2746.         +
  2747.         + The following attributes help an end user, a system
  2748.         + operator, or an accounting program identify a job.
  2749.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  2750.  
  2751.  
  2752.  
  2753.         jobAccountName(21),               JmJobStringTC(SIZE(0..63))
  2754.             OCTETS:  Arbitrary binary information which MAY be coded
  2755.             character set data or encrypted data supplied by the
  2756.             submitting user for use by accounting services to allocate
  2757.  
  2758.  
  2759.  
  2760.  
  2761. Bergman, Hastings, Isaacson, Lewis                 [Page 46]
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2768.  
  2769.  
  2770.             or categorize charges for services provided, such as a
  2771.             customer account name or number.
  2772.  
  2773.             NOTE: This attribute NEED NOT be printable characters.
  2774.  
  2775.         serverAssignedJobName(22),        JmJobStringTC(SIZE(0..63))
  2776.             OCTETS:  Configuration 3 only:  The human readable string
  2777.             name, number, or ID of the job as assigned by the server
  2778.             that submitted the job to the device that the agent is
  2779.             providing access to with this MIB.
  2780.  
  2781.             NOTE - This attribute is intended for enabling a user to
  2782.             find his/her job that a server submitted to a device when
  2783.             either the client does not support the jmJobSubmissionID or
  2784.             the server does not pass the jmJobSubmissionID through to
  2785.             the device.
  2786.  
  2787.         jobName(23),                      JmJobStringTC(SIZE(0..63))
  2788.             OCTETS:  The human readable string name of the job as
  2789.             assigned by the submitting user to help the user distinguish
  2790.             between his/her various jobs.  This name does not need to be
  2791.             unique.
  2792.  
  2793.             This attribute is intended for enabling a user or the user's
  2794.             application to convey a job name that MAY be printed on a
  2795.             start sheet, returned in a query result, or used in
  2796.             notification or logging messages.
  2797.  
  2798.             In order to assist users to find their jobs for job
  2799.             submission protocols that don't supply a jmJobSubmissionID,
  2800.             the agent SHOULD maintain the jobName attribute for the time
  2801.             specified by the jmGeneralJobPersistence object, rather than
  2802.             the (shorter) jmGeneralAttributePersistence object.
  2803.  
  2804.             If this attribute is not specified when the job is
  2805.             submitted, no job name is assumed, but implementation
  2806.             specific defaults are allowed, such as the value of the
  2807.             documentName attribute of the first document in the job or
  2808.             the fileName attribute of the first document in the job.
  2809.  
  2810.             The jobName attribute is distinguished from the jobComment
  2811.             attribute, in that the jobName attribute is intended to
  2812.             permit the submitting user to distinguish between different
  2813.             jobs that he/she has submitted.  The jobComment attribute is
  2814.             intended to be free form additional information that a user
  2815.             might wish to use to communicate with himself/herself, such
  2816.             as a reminder of what to do with the results or to indicate
  2817.  
  2818.  
  2819.  
  2820.  
  2821. Bergman, Hastings, Isaacson, Lewis                 [Page 47]
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2828.  
  2829.  
  2830.             a different set of input parameters were tried in several
  2831.             different job submissions.
  2832.  
  2833.         jobServiceTypes(24),              JmJobServiceTypesTC
  2834.             INTEGER:  Specifies the type(s) of service to which the job
  2835.             has been submitted (print, fax, scan, etc.).  The service
  2836.             type is bit encoded with each job service type so that more
  2837.             general and arbitrary services can be created, such as
  2838.             services with more than one destination type, or ones with
  2839.             only a source or only a destination.  For example, a job
  2840.             service might scan, faxOut, and print a single job.  In this
  2841.             case, three bits would be set in the jobServiceTypes
  2842.             attribute, corresponding to the hexadecimal values: 0x8 +
  2843.             0x20 + 0x4, respectively, yielding: 0x2C.
  2844.  
  2845.             Whether this attribute is set from a job attribute supplied
  2846.             by the job submission client or is set by the recipient job
  2847.             submission server or device depends on the job submission
  2848.             protocol.  This attribute SHALL be implemented if the server
  2849.             or device has other types in addition to or instead of
  2850.             printing.
  2851.  
  2852.             One of the purposes of this attribute is to permit a
  2853.             requester to filter out jobs that are not of interest.  For
  2854.             example, a printer operator may only be interested in jobs
  2855.             that include printing.
  2856.  
  2857.         jobSourceChannelIndex(25),        Integer32(0..2147483647)
  2858.             INTEGER:  The index of the row in the associated Printer
  2859.             MIB[print-mib] of the channel which is the source of the
  2860.             print job.
  2861.  
  2862.         jobSourcePlatformType(26),        JmJobSourcePlatformTypeTC
  2863.             INTEGER:  The source platform type of the immediate upstream
  2864.             submitter that submitted the job to the server
  2865.             (configuration 2) or device (configuration 1 and 3) to which
  2866.             the agent is providing access.  For configuration 1, this is
  2867.             the type of the client that submitted the job to the device;
  2868.             for configuration 2, this is the type of the client that
  2869.             submitted the job to the server; and for configuration 3,
  2870.             this is the type of the server that submitted the job to the
  2871.             device.
  2872.  
  2873.         submittingServerName(27),         JmJobStringTC(SIZE(0..63))
  2874.             OCTETS:  For configuration 3 only:  The administrative name
  2875.             of the server that submitted the job to the device.
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881. Bergman, Hastings, Isaacson, Lewis                 [Page 48]
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2888.  
  2889.  
  2890.         submittingApplicationName(28),    JmJobStringTC(SIZE(0..63))
  2891.             OCTETS:  The name of the client application (not the server
  2892.             in configuration 3) that submitted the job to the server or
  2893.             device.
  2894.  
  2895.         jobOriginatingHost(29),           JmJobStringTC(SIZE(0..63))
  2896.             OCTETS:  The name of the client host (not the server host
  2897.             name in configuration 3) that submitted the job to the
  2898.             server or device.
  2899.  
  2900.         deviceNameRequested(30),          JmJobStringTC(SIZE(0..63))
  2901.             OCTETS:  The administratively defined coded character set
  2902.             name of the target device requested by the submitting user.
  2903.             For configuration 1, its value corresponds to the Printer
  2904.             MIB[print-mib]: prtGeneralPrinterName object.  For
  2905.             configuration 2 and 3, its value is the name of the logical
  2906.             or physical device that the user supplied to indicate to the
  2907.             server on which device(s) they wanted the job to be
  2908.             processed.
  2909.  
  2910.         queueNameRequested(31),           JmJobStringTC(SIZE(0..63))
  2911.             OCTETS:  The administratively defined coded character set
  2912.             name of the target queue requested by the submitting user.
  2913.             For configuration 1, its value corresponds to the queue in
  2914.             the device for which the agent is providing access.  For
  2915.             configuration 2 and 3, its value is the name of the queue
  2916.             that the user supplied to indicate to the server on which
  2917.             device(s) they wanted the job to be processed.
  2918.  
  2919.             NOTE - typically an implementation SHOULD support either the
  2920.             deviceNameRequested or queueNameRequested attribute, but not
  2921.             both.
  2922.  
  2923.         physicalDevice(32),               hrDeviceIndex
  2924.                                           AND/OR
  2925.                                           JmUTF8StringTC(SIZE(0..63))
  2926.             INTEGER:  MULTI-ROW:  The index of the physical device MIB
  2927.             instance requested/used, such as the Printer MIB[print-mib].
  2928.             This value is an hrDeviceIndex value.  See the Host
  2929.             Resources MIB[hr-mib].
  2930.  
  2931.             AND/OR
  2932.  
  2933.             OCTETS:  MULTI-ROW:  The name of the physical device to
  2934.             which the job is assigned.
  2935.  
  2936.         numberOfDocuments(33),            Integer32(-2..2147483647)
  2937.             INTEGER:  The number of documents in this job.
  2938.  
  2939.  
  2940.  
  2941. Bergman, Hastings, Isaacson, Lewis                 [Page 49]
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  2948.  
  2949.  
  2950.  
  2951.         fileName(34),                     JmJobStringTC(SIZE(0..63))
  2952.             OCTETS:  MULTI-ROW:  The coded character set file name or
  2953.             URI[URI-spec] of the document.
  2954.  
  2955.             There is no restriction on the same file name occurring in
  2956.             multiple rows.
  2957.  
  2958.         documentName(35),                 JmJobStringTC(SIZE(0..63))
  2959.             OCTETS:  MULTI-ROW:  The coded character set name of the
  2960.             document.
  2961.  
  2962.             There is no restriction on the same document name occurring
  2963.             in multiple rows.
  2964.  
  2965.         jobComment(36),                   JmJobStringTC(SIZE(0..63))
  2966.             OCTETS:  An arbitrary human-readable coded character text
  2967.             string supplied by the submitting user or the job submitting
  2968.             application program for any purpose.  For example, a user
  2969.             might indicate what he/she is going to do with the printed
  2970.             output or the job submitting application program might
  2971.             indicate how the document was produced.
  2972.  
  2973.             The jobComment attribute is not intended to be a name; see
  2974.             the jobName attribute.
  2975.  
  2976.         documentFormatIndex(37),          Integer32(0..2147483647)
  2977.             INTEGER:  MULTI-ROW:  The index in the prtInterpreterTable
  2978.             in the Printer MIB[print-mib] of the page description
  2979.             language (PDL) or control language interpreter that this job
  2980.             requires/uses.  A document or a job MAY use more than one
  2981.             PDL or control language.
  2982.  
  2983.             NOTE - As with all intensive attributes where multiple rows
  2984.             are allowed, there SHALL be only one distinct row for each
  2985.             distinct interpreter; there SHALL be no duplicates.
  2986.  
  2987.             NOTE - This attribute type is intended to be used with an
  2988.             agent that implements the Printer MIB and SHALL not be used
  2989.             if the agent does not implement the Printer MIB.  Such an
  2990.             agent SHALL use the documentFormat attribute instead.
  2991.  
  2992.         documentFormat(38),               PrtInterpreterLangFamilyTC
  2993.                                           AND/OR
  2994.                                           OCTET STRING(SIZE(0..63))
  2995.             INTEGER:  MULTI-ROW:  The interpreter language family
  2996.             corresponding to the Printer MIB[print-mib]
  2997.             prtInterpreterLangFamily object, that this job
  2998.  
  2999.  
  3000.  
  3001. Bergman, Hastings, Isaacson, Lewis                 [Page 50]
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3008.  
  3009.  
  3010.             requires/uses.  A document or a job MAY use more than one
  3011.             PDL or control language.
  3012.  
  3013.             AND/OR
  3014.  
  3015.             OCTETS:  MULTI-ROW:  The document format registered as a
  3016.             media type[iana-media-types], i.e., the name of the MIME
  3017.             content-type/subtype.  Examples: 'application/postscript',
  3018.             'application/vnd.hp-PCL', and 'application/pdf'
  3019.  
  3020.  
  3021.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3022.         + Job Parameter attributes
  3023.         +
  3024.         + The following attributes represent input parameters
  3025.         + supplied by the submitting client in the job submission
  3026.         + protocol.
  3027.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3028.  
  3029.         jobPriority(50),                  Integer32(1..100)
  3030.             INTEGER:  The priority for scheduling the job. It is used by
  3031.             servers and devices that employ a priority-based scheduling
  3032.             algorithm.
  3033.  
  3034.             A higher value specifies a higher priority. The value 1 is
  3035.             defined to indicate the lowest possible priority (a job
  3036.             which a priority-based scheduling algorithm SHALL pass over
  3037.             in favor of higher priority jobs). The value 100 is defined
  3038.             to indicate the highest possible priority. Priority is
  3039.             expected to be evenly or 'normally' distributed across this
  3040.             range. The mapping of vendor-defined priority over this
  3041.             range is implementation-specific.
  3042.  
  3043.         jobProcessAfterDateAndTime(51),   DateAndTime (SNMPv2-TC)
  3044.             OCTETS:  The calendar date and time of day after which the
  3045.             job SHALL become a candidate to be scheduled for processing.
  3046.             If the value of this attribute is in the future, the server
  3047.             SHALL set the value of the job's jmJobState object to
  3048.             pendingHeld and add the jobProcessAfterSpecified bit value
  3049.             to the job's jmJobStateReasons1 object.  When the specified
  3050.             date and time arrives, the server SHALL remove the
  3051.             jobProcessAfterSpecified bit value from the job's
  3052.             jmJobStateReasons1 object and, if no other reasons remain,
  3053.             SHALL change the job's jmJobState object to pending.
  3054.  
  3055.         jobHold(52),                      JmBooleanTC
  3056.             INTEGER:  If the value is 'true(4)', a client has explicitly
  3057.             specified that the job is to be held until explicitly
  3058.  
  3059.  
  3060.  
  3061. Bergman, Hastings, Isaacson, Lewis                 [Page 51]
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3068.  
  3069.  
  3070.             released.  Until the job is explicitly released by a client,
  3071.             the job SHALL be in the pendingHeld state with the
  3072.             jobHoldSpecified value in the jmJobStateReasons1 attribute.
  3073.  
  3074.         jobHoldUntil(53),                 JmJobStringTC(SIZE(0..63))
  3075.             OCTETS:  The named time period during which the job SHALL
  3076.             become a candidate for processing, such as 'evening',
  3077.             'night', 'weekend', 'second-shift', 'third-shift', etc., as
  3078.             defined by the system administrator.  See IPP [ipp-model]
  3079.             for the standard keyword values.  Until that time period
  3080.             arrives, the job SHALL be in the pendingHeld state with the
  3081.             jobHoldUntilSpecified value in the jmJobStateReasons1
  3082.             object.  The value 'no-hold' SHALL indicate explicitly that
  3083.             no time period has been specified; the absence of this
  3084.             attribute SHALL indicate implicitly that no time period has
  3085.             been specified.
  3086.  
  3087.         outputBin(54),                    Integer32(0..2147483647)
  3088.                                           AND/OR
  3089.                                           JmJobStringTC(SIZE(0..63))
  3090.             INTEGER:  MULTI-ROW:  The output subunit index in the
  3091.             Printer MIB[print-mib]
  3092.  
  3093.             AND/OR
  3094.  
  3095.             OCTETS:  the name or number (represented as ASCII digits) of
  3096.             the output bin to which all or part of the job is placed in.
  3097.  
  3098.         sides(55),                        Integer32(-2..2)
  3099.             INTEGER:  MULTI-ROW:  The number of sides, '1' or '2', that
  3100.             any document in this job requires/used.
  3101.  
  3102.         finishing(56),                    JmFinishingTC
  3103.             INTEGER:  MULTI-ROW:  Type of finishing that any document in
  3104.             this job requires/used.
  3105.  
  3106.  
  3107.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3108.         + Image Quality attributes (requested and consumed)
  3109.         +
  3110.         + For devices that can vary the image quality.
  3111.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3112.  
  3113.         printQualityRequested(70),        JmPrintQualityTC
  3114.             INTEGER:  MULTI-ROW:  The print quality selection requested
  3115.             for a document in the job for printers that allow quality
  3116.             differentiation.
  3117.  
  3118.  
  3119.  
  3120.  
  3121. Bergman, Hastings, Isaacson, Lewis                 [Page 52]
  3122.  
  3123.  
  3124.  
  3125.  
  3126.  
  3127.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3128.  
  3129.  
  3130.         printQualityUsed(71),             JmPrintQualityTC
  3131.             INTEGER:  MULTI-ROW:  The print quality selection actually
  3132.             used by a document in the job for printers that allow
  3133.             quality differentiation.
  3134.  
  3135.         printerResolutionRequested(72),   JmPrinterResolutionTC
  3136.             OCTETS:  MULTI-ROW:  The printer resolution requested for a
  3137.             document in the job for printers that support resolution
  3138.             selection.
  3139.  
  3140.         printerResolutionUsed(73),        JmPrinterResolutionTC
  3141.             OCTETS:  MULTI-ROW:  The printer resolution actually used by
  3142.             a document in the job for printers that support resolution
  3143.             selection.
  3144.  
  3145.         tonerEcomonyRequested(74),        JmTonerEconomyTC
  3146.             INTEGER:  MULTI-ROW:  The toner economy selection requested
  3147.             for documents in the job for printers that allow toner
  3148.             economy differentiation.
  3149.  
  3150.         tonerEcomonyUsed(75),             JmTonerEconomyTC
  3151.             INTEGER:  MULTI-ROW:  The toner economy selection actually
  3152.             used by documents in the job for printers that allow toner
  3153.             economy differentiation.
  3154.  
  3155.         tonerDensityRequested(76),        Integer32(-2..100)
  3156.             INTEGER:  MULTI-ROW:  The toner density requested for a
  3157.             document in this job for devices that can vary toner density
  3158.             levels.  Level 1 is the lowest density and level 100 is the
  3159.             highest density level.  Devices with a smaller range, SHALL
  3160.             map the 1-100 range evenly onto the implemented range.
  3161.  
  3162.         tonerDensityUsed(77),             Integer32(-2..100)
  3163.             INTEGER:  MULTI-ROW:  The toner density used by documents in
  3164.             this job for devices that can vary toner density levels.
  3165.             Level 1 is the lowest density and level 100 is the highest
  3166.             density level.  Devices with a smaller range, SHALL map the
  3167.             1-100 range evenly onto the implemented range.
  3168.  
  3169.  
  3170.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3171.         + Job Progress attributes (requested and consumed)
  3172.         +
  3173.         + Pairs of these attributes can be used by monitoring
  3174.         + applications to show an indication of relative progress
  3175.         + to users.
  3176.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3177.  
  3178.  
  3179.  
  3180.  
  3181. Bergman, Hastings, Isaacson, Lewis                 [Page 53]
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3188.  
  3189.  
  3190.         jobCopiesRequested(90),           Integer32(-2..2147483647)
  3191.             INTEGER:  The number of copies of the entire job that are to
  3192.             be produced.
  3193.  
  3194.         jobCopiesCompleted(91),           Integer32(-2..2147483647)
  3195.             INTEGER:  The number of copies of the entire job that have
  3196.             been completed so far.
  3197.  
  3198.         documentCopiesRequested(92),      Integer32(-2..2147483647)
  3199.             INTEGER:  The total count of the number of document copies
  3200.             requested for the job as a whole.  If there are documents A,
  3201.             B, and C, and document B is specified to produce 4 copies,
  3202.             the number of document copies requested is 6 for the job.
  3203.  
  3204.             This attribute SHALL be used only when a job has multiple
  3205.             documents.  The jobCopiesRequested attribute SHALL be used
  3206.             when the job has only one document.
  3207.  
  3208.         documentCopiesCompleted(93),      Integer32(-2..2147483647)
  3209.             INTEGER:  The total count of the number of document copies
  3210.             completed so far for the job as a whole.  If there are
  3211.             documents A, B, and C, and document B is specified to
  3212.             produce 4 copies, the number of document copies starts a 0
  3213.             and runs up to 6 for the job as the job processes.
  3214.  
  3215.             This attribute SHALL be used only when a job has multiple
  3216.             documents.  The jobCopiesCompleted attribute SHALL be used
  3217.             when the job has only one document.
  3218.  
  3219.         jobKOctetsTransferred(94),        Integer32(-2..2147483647)
  3220.             INTEGER:  The number of K (1024) octets transferred to the
  3221.             server or device to which the agent is providing access.
  3222.             This count is independent of the number of copies of the job
  3223.             or documents that will be produced, but it is only a measure
  3224.             of the number of bytes transferred to the server or device.
  3225.  
  3226.             The agent SHALL round the actual number of octets
  3227.             transferred up to the next higher K.  Thus 0 octets SHALL be
  3228.             represented as '0', 1-1024 octets SHALL BE represented as
  3229.             '1', 1025-2048 SHALL be '2', etc.  When the job completes,
  3230.             the values of the jmJobKOctetsRequested object and the
  3231.             jobKOctetsTransferred attribute SHALL be equal.
  3232.  
  3233.             NOTE - The jobKOctetsTransferred can be used with the
  3234.             jmJobKOctetsRequested object in order to produce a relative
  3235.             indication of the progress of the job for agents that do not
  3236.             implement the jmJobKOctetsProcessed object.
  3237.  
  3238.  
  3239.  
  3240.  
  3241. Bergman, Hastings, Isaacson, Lewis                 [Page 54]
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3248.  
  3249.  
  3250.  
  3251.         ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3252.         + Impression attributes
  3253.         +
  3254.         + For a print job, an impression is the marking of the
  3255.         + entire side of a sheet.  Two-sided processing involves two
  3256.         + impressions per sheet.  Two-up is the placement of two
  3257.         + logical pages on one side of a sheet and so is still a
  3258.         + single impression.  See also jmJobImpressionsRequested and
  3259.         + jmJobImpressionsCompleted objects in the jmJobTable.
  3260.         ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3261.  
  3262.         impressionsSpooled(110),          Integer32(-2..2147483647)
  3263.             INTEGER:  The number of impressions spooled to the server or
  3264.             device for the job so far.
  3265.  
  3266.         impressionsSentToDevice(111),     Integer32(-2..2147483647)
  3267.             INTEGER:  The number of impressions sent to the device for
  3268.             the job so far.
  3269.  
  3270.         impressionsInterpreted(112),      Integer32(-2..2147483647)
  3271.             INTEGER:  The number of impressions interpreted for the job
  3272.             so far.
  3273.  
  3274.         impressionsCompletedCurrentCopy(113), Integer32(-2..2147483647)
  3275.             INTEGER:  The number of impressions completed by the device
  3276.             for the current copy of the current document so far.  For
  3277.             printing, the impressions completed includes interpreting,
  3278.             marking, and stacking the output.  For other types of job
  3279.             services, the number of impressions completed includes the
  3280.             number of impressions processed.
  3281.  
  3282.             This value SHALL be reset to 0 for each document in the job
  3283.             and for each document copy.
  3284.  
  3285.         fullColorImpressionsCompleted(114), Integer32(-2..2147483647)
  3286.             INTEGER:  The number of full color impressions completed by
  3287.             the device for this job so far.  For printing, the
  3288.             impressions completed includes interpreting, marking, and
  3289.             stacking the output.  For other types of job services, the
  3290.             number of impressions completed includes the number of
  3291.             impressions processed. Full color impressions are typically
  3292.             defined as those requiring 3 or more colorants, but this MAY
  3293.             vary by implementation.
  3294.  
  3295.         highlightColorImpressionsCompleted(115),  Integer32(-2..
  3296.                                           2147483647)
  3297.             INTEGER:  The number of highlight color impressions
  3298.  
  3299.  
  3300.  
  3301. Bergman, Hastings, Isaacson, Lewis                 [Page 55]
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3308.  
  3309.  
  3310.             completed by the device for this job so far.  For printing,
  3311.             the impressions completed includes interpreting, marking,
  3312.             and stacking the output.  For other types of job services,
  3313.             the number of impressions completed includes the number of
  3314.             impressions processed.  Highlight color impressions are
  3315.             typically defined as those requiring black plus one other
  3316.             colorant, but this MAY vary by implementation.
  3317.  
  3318.  
  3319.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3320.         + Page attributes
  3321.         +
  3322.         + A page is a logical page.  Number up can impose more than
  3323.         + one page on a single side of a sheet.  Two-up is the
  3324.         + placement of two logical pages on one side of a sheet so
  3325.         + that each side counts as two pages.
  3326.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3327.  
  3328.         pagesRequested(130),              Integer32(-2..2147483647)
  3329.             INTEGER:  The number of logical pages requested by the job
  3330.             to be processed.
  3331.  
  3332.         pagesCompleted(131),              Integer32(-2..2147483647)
  3333.             INTEGER:  The number of logical pages completed for this job
  3334.             so far.
  3335.  
  3336.             For implementations where multiple copies are produced by
  3337.             the interpreter with only a single pass over the data, the
  3338.             final value SHALL be equal to the value of the
  3339.             pagesRequested object.  For implementations where multiple
  3340.             copies are produced by the interpreter by processing the
  3341.             data for each copy, the final value SHALL be a multiple of
  3342.             the value of the pagesRequested object.
  3343.  
  3344.             NOTE - See the impressionsCompletedCurrentCopy and
  3345.             pagesCompletedCurrentCopy attributes for attributes that are
  3346.             reset on each document copy.
  3347.  
  3348.             NOTE - The pagesCompleted object can be used with the
  3349.             pagesRequested object to provide an indication of the
  3350.             relative progress of the job, provided that the
  3351.             multiplicative factor is taken into account for some
  3352.             implementations of multiple copies.
  3353.  
  3354.         pagesCompletedCurrentCopy(132),   Integer32(-2..2147483647)
  3355.             INTEGER:  The number of logical pages completed for the
  3356.             current copy of the document so far.  This value SHALL be
  3357.  
  3358.  
  3359.  
  3360.  
  3361. Bergman, Hastings, Isaacson, Lewis                 [Page 56]
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3368.  
  3369.  
  3370.             reset to 0 for each document in the job and for each
  3371.             document copy.
  3372.  
  3373.  
  3374.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3375.         + Sheet attributes
  3376.         +
  3377.         + The sheet is a single piece of a medium, whether printing
  3378.         + on one or both sides.
  3379.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3380.  
  3381.         sheetsRequested(150),             Integer32(-2..2147483647)
  3382.             INTEGER:  The number of medium sheets requested to be
  3383.             processed for this job.
  3384.  
  3385.         sheetsCompleted(151),             Integer32(-2..2147483647)
  3386.             INTEGER:  The number of medium sheets that have completed
  3387.             marking and stacking for the entire job so far whether those
  3388.             sheets have been processed on one side or on both.
  3389.  
  3390.         sheetsCompletedCurrentCopy(152),  Integer32(-2..2147483647)
  3391.             INTEGER:  The number of medium sheets that have completed
  3392.             marking and stacking for the current copy of a document in
  3393.             the job so far whether those sheets have been processed on
  3394.             one side or on both.
  3395.  
  3396.             The value of this attribute SHALL be reset to 0 as each
  3397.             document in the job starts being processed and for each
  3398.             document copy as it starts being processed.
  3399.  
  3400.  
  3401.         ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3402.         + Resources attributes (requested and consumed)
  3403.         +
  3404.         + Pairs of these attributes can be used by monitoring
  3405.         + applications to show an indication of relative usage to
  3406.         + users.
  3407.         ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3408.  
  3409.         mediumRequested(170),             JmMediumTypeTC
  3410.                                           AND/OR
  3411.                                           JmJobStringTC(SIZE(0..63))
  3412.             INTEGER:  MULTI-ROW:  The type
  3413.             AND/OR
  3414.             OCTETS:  the name of the medium that is required by the job.
  3415.  
  3416.         mediumConsumed(171),              Integer32(-2..2147483647)
  3417.                                           AND
  3418.  
  3419.  
  3420.  
  3421. Bergman, Hastings, Isaacson, Lewis                 [Page 57]
  3422.  
  3423.  
  3424.  
  3425.  
  3426.  
  3427.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3428.  
  3429.  
  3430.                                           JmJobStringTC(SIZE(0..63))
  3431.             INTEGER:  The number of sheets
  3432.             AND
  3433.             OCTETS: MULTI-ROW:  the name of the medium that has been
  3434.             consumed so far whether those sheets have been processed on
  3435.             one side or on both.
  3436.  
  3437.             This attribute SHALL have both Integer32 and OCTET STRING
  3438.             (represented as JmJobStringTC) values.
  3439.  
  3440.         colorantRequested(172),           Integer32(-2..2147483647)
  3441.                                           AND/OR
  3442.                                           JmJobStringTC(SIZE(0..63))
  3443.             INTEGER:  MULTI-ROW:  The index (prtMarkerColorantIndex) in
  3444.             the Printer MIB[print-mib]
  3445.             AND/OR
  3446.             OCTETS:  the name of the colorant requested.
  3447.  
  3448.         colorantConsumed(173),            Integer32(-2..2147483647)
  3449.                                           AND/OR
  3450.                                           JmJobStringTC(SIZE(0..63))
  3451.             INTEGER:  MULTI-ROW:  The index (prtMarkerColorantIndex) in
  3452.             the Printer MIB[print-mib]
  3453.             AND/OR
  3454.             OCTETS: the name of the colorant consumed.
  3455.  
  3456.  
  3457.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3458.         + Time attributes (set by server or device)
  3459.         +
  3460.         + This section of attributes are ones that are set by the
  3461.         + server or device that accepts jobs.  Two forms of time are
  3462.         + provided.  Each form is represented in a separate attribute.
  3463.         + See section 3.1.2 and section 3.1.3 for the
  3464.         + conformance requirements for time attribute for agents and
  3465.         + monitoring applications, respectively.  The two forms are:
  3466.         +
  3467.         + 'DateAndTime' is an 8 or 11 octet binary encoded year,
  3468.         + month, day, hour, minute, second, deci-second with
  3469.         + optional offset from UTC.  See SNMPv2-TC [SMIv2-TC].
  3470.         +
  3471.         + NOTE: 'DateAndTime' is not printable characters; it is
  3472.         + binary.
  3473.         +
  3474.         + 'JmTimeStampTC' is the time of day measured in the number of
  3475.         + seconds since the system was booted.
  3476.         +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3477.  
  3478.  
  3479.  
  3480.  
  3481. Bergman, Hastings, Isaacson, Lewis                 [Page 58]
  3482.  
  3483.  
  3484.  
  3485.  
  3486.  
  3487.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3488.  
  3489.  
  3490.         jobSubmissionToServerTime(190),   JmTimeStampTC
  3491.                                           AND/OR
  3492.                                           DateAndTime
  3493.             INTEGER:  Configuration 3 only:  The time
  3494.             AND/OR
  3495.             OCTETS:  the date and time that the job was submitted to the
  3496.             server (as distinguished from the device which uses
  3497.             jobSubmissionTime).
  3498.  
  3499.         jobSubmissionTime(191),           JmTimeStampTC
  3500.                                           AND/OR
  3501.                                           DateAndTime
  3502.             INTEGER:  Configurations 1, 2, and 3:  The time
  3503.             AND/OR
  3504.             OCTETS:  the date and time that the job was submitted to the
  3505.             server or device to which the agent is providing access.
  3506.  
  3507.  
  3508.  
  3509.         jobStartedBeingHeldTime(192),     JmTimeStampTC
  3510.                                           AND/OR
  3511.                                           DateAndTime
  3512.             INTEGER:  The time
  3513.             AND/OR
  3514.             OCTETS:  the date and time that the job last entered the
  3515.             pendingHeld state.  If the job has never entered the
  3516.             pendingHeld state, then the value SHALL be '0' or the
  3517.             attribute SHALL not be present in the table.
  3518.  
  3519.         jobStartedProcessingTime(193),    JmTimeStampTC
  3520.                                           AND/OR
  3521.                                           DateAndTime
  3522.             INTEGER:  The time
  3523.             AND/OR
  3524.             OCTETS:  the date and time that the job started processing.
  3525.  
  3526.         jobCompletedTime(194),            JmTimeStampTC
  3527.                                           AND/OR
  3528.                                           DateAndTime
  3529.             INTEGER:  The time
  3530.             AND/OR
  3531.             OCTETS:  the date and time that the job entered the
  3532.             completed, canceled, or aborted state.
  3533.  
  3534.         jobProcessingCPUTime(195)         Integer32(-2..2147483647)
  3535.             UNITS     'seconds'
  3536.             INTEGER:  The amount of CPU time in seconds that the job has
  3537.             been in the processing state.  If the job enters the
  3538.  
  3539.  
  3540.  
  3541. Bergman, Hastings, Isaacson, Lewis                 [Page 59]
  3542.  
  3543.  
  3544.  
  3545.  
  3546.  
  3547.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3548.  
  3549.  
  3550.             processingStopped state, that elapsed time SHALL not be
  3551.             included.  In other words, the jobProcessingCPUTime value
  3552.             SHOULD be relatively repeatable when the same job is
  3553.             processed again on the same device."
  3554.  
  3555.     REFERENCE
  3556.         "See Section 3.2 entitled 'The Attribute Mechanism' for a
  3557.         description of this textual-convention and its use in the
  3558.         jmAttributeTable.
  3559.  
  3560.         This is a type 2 enumeration.  See Section 3.6.1.2."
  3561.     SYNTAX      INTEGER {
  3562.         other(1),
  3563.         unknown(2),
  3564.         jobStateReasons2(3),
  3565.         jobStateReasons3(4),
  3566.         jobStateReasons4(5),
  3567.         processingMessage(6),
  3568.         jobCodedCharSet(7),
  3569.  
  3570.         jobAccountName(21),
  3571.         serverAssignedJobName(22),
  3572.         jobName(23),
  3573.         jobServiceTypes(24),
  3574.         jobSourceChannelIndex(25),
  3575.         jobSourcePlatformType(26),
  3576.         submittingServerName(27),
  3577.         submittingApplicationName(28),
  3578.         jobOriginatingHost(29),
  3579.         deviceNameRequested(30),
  3580.         queueNameRequested(31),
  3581.         physicalDevice(32),
  3582.         numberOfDocuments(33),
  3583.         fileName(34),
  3584.         documentName(35),
  3585.         jobComment(36),
  3586.         documentFormatIndex(37),
  3587.         documentFormat(38),
  3588.  
  3589.         jobPriority(50),
  3590.         jobProcessAfterDateAndTime(51),
  3591.         jobHold(52),
  3592.         jobHoldUntil(53),
  3593.         outputBin(54),
  3594.         sides(55),
  3595.         finishing(56),
  3596.  
  3597.         printQualityRequested(70),
  3598.  
  3599.  
  3600.  
  3601. Bergman, Hastings, Isaacson, Lewis                 [Page 60]
  3602.  
  3603.  
  3604.  
  3605.  
  3606.  
  3607.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3608.  
  3609.  
  3610.         printQualityUsed(71),
  3611.         printerResolutionRequested(72),
  3612.         printerResolutionUsed(73),
  3613.         tonerEcomonyRequested(74),
  3614.         tonerEcomonyUsed(75),
  3615.         tonerDensityRequested(76),
  3616.         tonerDensityUsed(77),
  3617.  
  3618.         jobCopiesRequested(90),
  3619.         jobCopiesCompleted(91),
  3620.         documentCopiesRequested(92),
  3621.         documentCopiesCompleted(93),
  3622.         jobKOctetsTransferred(94),
  3623.  
  3624.         impressionsSpooled(110),
  3625.         impressionsSentToDevice(111),
  3626.         impressionsInterpreted(112),
  3627.         impressionsCompletedCurrentCopy(113),
  3628.         fullColorImpressionsCompleted(114),
  3629.         highlightColorImpressionsCompleted(115),
  3630.  
  3631.         pagesRequested(130),
  3632.         pagesCompleted(131),
  3633.         pagesCompletedCurrentCopy(132),
  3634.  
  3635.         sheetsRequested(150),
  3636.         sheetsCompleted(151),
  3637.         sheetsCompletedCurrentCopy(152),
  3638.  
  3639.         mediumRequested(170),
  3640.         mediumConsumed(171),
  3641.         colorantRequested(172),
  3642.         colorantConsumed(173),
  3643.  
  3644.         jobSubmissionToServerTime(190),
  3645.         jobSubmissionTime(191),
  3646.         jobStartedBeingHeldTime(192),
  3647.         jobStartedProcessingTime(193),
  3648.         jobCompletedTime(194),
  3649.         jobProcessingCPUTime(195)
  3650.     }
  3651.  
  3652.  
  3653.  
  3654.  
  3655.  
  3656. JmJobServiceTypesTC ::= TEXTUAL-CONVENTION
  3657.     STATUS      current
  3658.  
  3659.  
  3660.  
  3661. Bergman, Hastings, Isaacson, Lewis                 [Page 61]
  3662.  
  3663.  
  3664.  
  3665.  
  3666.  
  3667.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3668.  
  3669.  
  3670.     DESCRIPTION
  3671.         "Specifies the type(s) of service to which the job has been
  3672.         submitted (print, fax, scan, etc.).  The service type is
  3673.         represented as an enum that is bit encoded with each job service
  3674.         type so that more general and arbitrary services can be created,
  3675.         such as services with more than one destination type, or ones
  3676.         with only a source or only a destination.  For example, a job
  3677.         service might scan, faxOut, and print a single job.  In this
  3678.         case, three bits would be set in the jobServiceTypes attribute,
  3679.         corresponding to the hexadecimal values: 0x8 + 0x20 + 0x4,
  3680.         respectively, yielding: 0x2C.
  3681.  
  3682.         Whether this attribute is set from a job attribute supplied by
  3683.         the job submission client or is set by the recipient job
  3684.         submission server or device depends on the job submission
  3685.         protocol.  With either implementation, the agent SHALL return a
  3686.         non-zero value for this attribute indicating the type of the
  3687.         job.
  3688.  
  3689.         One of the purposes of this attribute is to permit a requester
  3690.         to filter out jobs that are not of interest.  For example, a
  3691.         printer operator MAY only be interested in jobs that include
  3692.         printing.  That is why the attribute is in the job
  3693.         identification category.
  3694.  
  3695.         The following service component types are defined (in
  3696.         hexadecimal) and are assigned a separate bit value for use with
  3697.         the jobServiceTypes attribute:
  3698.  
  3699.         other                             0x1
  3700.             The job contains some instructions that are not one of the
  3701.             identified types.
  3702.  
  3703.         unknown                           0x2
  3704.             The job contains some instructions whose type is unknown to
  3705.             the agent.
  3706.  
  3707.         print                             0x4
  3708.             The job contains some instructions that specify printing
  3709.  
  3710.         scan                              0x8
  3711.             The job contains some instructions that specify scanning
  3712.  
  3713.         faxIn                             0x10
  3714.             The job contains some instructions that specify receive fax
  3715.  
  3716.         faxOut                            0x20
  3717.             The job contains some instructions that specify sending fax
  3718.  
  3719.  
  3720.  
  3721. Bergman, Hastings, Isaacson, Lewis                 [Page 62]
  3722.  
  3723.  
  3724.  
  3725.  
  3726.  
  3727.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3728.  
  3729.  
  3730.  
  3731.         getFile                           0x40
  3732.             The job contains some instructions that specify accessing
  3733.             files or documents
  3734.  
  3735.         putFile                           0x80
  3736.             The job contains some instructions that specify storing
  3737.             files or documents
  3738.  
  3739.         mailList                          0x100
  3740.             The job contains some instructions that specify distribution
  3741.             of documents using an electronic mail system."
  3742.     REFERENCE
  3743.         "These bit definitions are the equivalent of a type 2 enum
  3744.         except that combinations of them MAY be used together.  See
  3745.         section 3.6.1.2."
  3746.     SYNTAX      INTEGER(0..2147483647)   -- 31 bits, all but sign bit
  3747.  
  3748.  
  3749.  
  3750.  
  3751.  
  3752.  
  3753.  
  3754.  
  3755. JmJobStateReasons1TC ::= TEXTUAL-CONVENTION
  3756.     STATUS      current
  3757.     DESCRIPTION
  3758.         "The JmJobStateReasonsNTC (N=1..4) textual-conventions are used
  3759.         with the jmJobStateReasons1 object and jobStateReasonsN
  3760.         (N=2..4), respectively, to provide additional information
  3761.         regarding the current jmJobState object value.  These values MAY
  3762.         be used with any job state or states for which the reason makes
  3763.         sense.
  3764.  
  3765.         NOTE - While values cannot be added to the jmJobState object
  3766.         without impacting deployed clients that take actions upon
  3767.         receiving jmJobState values, it is the intent that additional
  3768.         JmJobStateReasonsNTC enums can be defined and registered without
  3769.         impacting such deployed clients.  In other words, the
  3770.         jmJobStateReasons1 object and jobStateReasonsN attributes are
  3771.         intended to be extensible.
  3772.  
  3773.         NOTE - The Job Monitoring MIB contains a superset of the IPP
  3774.         values[ipp-model] for the IPP 'job-state-reasons' attribute,
  3775.         since the Job Monitoring MIB is intended to cover other job
  3776.         submission protocols as well.  Also some of the names of the
  3777.         reasons have been changed from 'printer' to 'device', since the
  3778.  
  3779.  
  3780.  
  3781. Bergman, Hastings, Isaacson, Lewis                 [Page 63]
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  
  3787.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3788.  
  3789.  
  3790.         Job Monitoring MIB is intended to cover additional types of
  3791.         devices, including input devices, such as scanners.
  3792.  
  3793.         The following standard values are defined (in hexadecimal) as
  3794.         powers of two, since multiple values MAY be used at the same
  3795.         time.  For ease of understanding, the JmJobStateReasons1TC
  3796.         reasons are presented in the order in which the reasons are
  3797.         likely to occur (if implemented), starting with the
  3798.         'jobIncoming' value and ending with the 'jobCompletedWithErrors'
  3799.         value.
  3800.  
  3801.         other                             0x1
  3802.             The job state reason is not one of the standardized or
  3803.             registered reasons.
  3804.  
  3805.         unknown                           0x2
  3806.             The job state reason is not known to the agent or is
  3807.             indeterminent.
  3808.  
  3809.         jobIncoming                       0x4
  3810.             The job has been accepted by the server or device, but the
  3811.             server or device is expecting (1) additional operations from
  3812.             the client to finish creating the job and/or (2) is
  3813.             accessing/accepting document data.
  3814.  
  3815.         jobOutgoing                       0x8
  3816.             Configuration 2 only:  The server is transmitting the job to
  3817.             the device.
  3818.  
  3819.         jobHoldSpecified                  0x10
  3820.             The value of the job's jobHold(52) attribute is TRUE.  The
  3821.             job SHALL NOT be a candidate for processing until this
  3822.             reason is removed and there are no other reasons to hold the
  3823.             job.
  3824.  
  3825.         jobHoldUntilSpecified             0x20
  3826.             The value of the job's jobHoldUntil(53) attribute specifies
  3827.             a time period that is still in the future.  The job SHALL
  3828.             NOT be a candidate for processing until this reason is
  3829.             removed and there are no other reasons to hold the job.
  3830.  
  3831.         jobProcessAfterSpecified          0x40
  3832.             The value of the job's jobProcessAfterDateAndTime(51)
  3833.             attribute specifies a time that is still in the future.  The
  3834.             job SHALL NOT be a candidate for processing until this
  3835.             reason is removed and there are no other reasons to hold the
  3836.             job.
  3837.  
  3838.  
  3839.  
  3840.  
  3841. Bergman, Hastings, Isaacson, Lewis                 [Page 64]
  3842.  
  3843.  
  3844.  
  3845.  
  3846.  
  3847.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3848.  
  3849.  
  3850.         resourcesAreNotReady              0x80
  3851.             At least one of the resources needed by the job, such as
  3852.             media, fonts, resource objects, etc., is not ready on any of
  3853.             the physical devices for which the job is a candidate.  This
  3854.             condition MAY be detected when the job is accepted, or
  3855.             subsequently while the job is pending or processing,
  3856.             depending on implementation.
  3857.  
  3858.         deviceStoppedPartly               0x100
  3859.             One or more, but not all, of the devices to which the job is
  3860.             assigned are stopped.  If all of the devices are stopped (or
  3861.             the only device is stopped), the deviceStopped reason SHALL
  3862.             be used.
  3863.  
  3864.         deviceStopped                     0x200
  3865.             The device(s) to which the job is assigned is (are all)
  3866.             stopped.
  3867.  
  3868.         jobPrinting                       0x400
  3869.             The output device is marking media. This attribute is useful
  3870.             for servers and output devices which spend a great deal of
  3871.             time processing when no marking is happening and then want
  3872.             to show that marking is now happening or when the job is in
  3873.             the canceled or aborted state, but the marking has not yet
  3874.             stopped so that impression or sheet counts are still
  3875.             increasing for the job.
  3876.  
  3877.         jobCanceledByUser                 0x800
  3878.             The job was canceled by the user, i.e., by an unknown user
  3879.             or by a user whose name is the same as the value of the
  3880.             job's jmJobOwner object.
  3881.  
  3882.         jobCanceledByOperator             0x1000
  3883.             The job was canceled by the operator, i.e., by a user whose
  3884.             name is different than the value of the job's jmJobOwner
  3885.             object.
  3886.  
  3887.         abortedBySystem                   0x2000
  3888.             The job was aborted by the system.
  3889.  
  3890.             NOTE - When the system puts a job into the 'aborted' job
  3891.             state, this reason is not needed.  This reason is needed
  3892.             only when the system aborts a job, but, instead of placing
  3893.             the job in the aborted job state, places the job in the
  3894.             pendingHeld state, so that a user or operator can manually
  3895.             try the job again.
  3896.  
  3897.  
  3898.  
  3899.  
  3900.  
  3901. Bergman, Hastings, Isaacson, Lewis                 [Page 65]
  3902.  
  3903.  
  3904.  
  3905.  
  3906.  
  3907.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3908.  
  3909.  
  3910.         processingToStopPoint             0x4000
  3911.             The requester has issued an operation to cancel or interrupt
  3912.             the job or the server/device has aborted the job but the
  3913.             server/device is still performing some actions on the job
  3914.             until a specified stop point occurs or job
  3915.             termination/cleanup is completed.
  3916.  
  3917.             This reason is recommended to be used in conjunction with
  3918.             the canceled or aborted job state to indicate that the
  3919.             server/device is still performing some actions on the job
  3920.             after the job leaves the processing state, so that some of
  3921.             the jobs resources consumed counters may still be
  3922.             incrementing while the job is in the canceled or aborted job
  3923.             states.
  3924.  
  3925.         jobCompletedSuccessfully          0x8000
  3926.             The job completed successfully.
  3927.  
  3928.         jobCompletedWithWarnings          0x10000
  3929.             The job completed with warnings.
  3930.  
  3931.         jobCompletedWithErrors            0x20000
  3932.             The job completed with errors (and possibly warnings too).
  3933.  
  3934.  
  3935.         The following additional job state reasons have been added to
  3936.         represent job states that are in ISO DPA[iso-dpa] and other job
  3937.         submission protocols:
  3938.  
  3939.         jobPaused                         0x40000
  3940.             The job has been indefinitely suspended by a client issuing
  3941.             an operation to suspend the job so that other jobs may
  3942.             proceed using the same devices.  The client MAY issue an
  3943.             operation to resume the paused job at any time, in which
  3944.             case the agent SHALL remove the jobPaused values from the
  3945.             job's jmJobStateReasons1 object and the job is eventually
  3946.             resumed at or near the point where the job was paused.
  3947.  
  3948.         jobInterrupted                    0x80000
  3949.             The job has been interrupted while processing by a client
  3950.             issuing an operation that specifies another job to be run
  3951.             instead of the current job.  The server or device will
  3952.             automatically resume the interrupted job when the
  3953.             interrupting job completes.
  3954.  
  3955.         jobRetained                       0x100000
  3956.             The job is being retained by the server or device with all
  3957.             of the job's document data (and submitted resources, such as
  3958.  
  3959.  
  3960.  
  3961. Bergman, Hastings, Isaacson, Lewis                 [Page 66]
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  3968.  
  3969.  
  3970.             fonts, logos, and forms, if any).  Thus a client could issue
  3971.             an operation to the server or device to either (1) re-do the
  3972.             job (or a copy of the job) on the same server or device or
  3973.             (2) resubmit the job to another server or device.  When a
  3974.             client could no longer re-do/resubmit the job, such as after
  3975.             the document data has been discarded, the agent SHALL remove
  3976.             the jobRetained value from the jmJobStateReasons1 object."
  3977.     REFERENCE
  3978.         "These bit definitions are the equivalent of a type 2 enum
  3979.         except that combinations of bits may be used together.  See
  3980.         section 3.6.1.2.  The remaining bits are reserved for future
  3981.         standardization and/or registration."
  3982.  
  3983.     SYNTAX      INTEGER(0..2147483647)   -- 31 bits, all but sign bit
  3984.  
  3985.  
  3986.  
  3987.  
  3988.  
  3989. JmJobStateReasons2TC ::= TEXTUAL-CONVENTION
  3990.     STATUS      current
  3991.     DESCRIPTION
  3992.         "This textual-convention is used with the jobStateReasons2
  3993.         attribute to provides additional information regarding the
  3994.         jmJobState object.  See the description under
  3995.         JmJobStateReasons1TC for additional information that applies to
  3996.         all reasons.
  3997.  
  3998.         The following standard values are defined (in hexadecimal) as
  3999.         powers of two, since multiple values may be used at the same
  4000.         time:
  4001.  
  4002.         cascaded                          0x1
  4003.             An outbound gateway has transmitted all of the job's job and
  4004.             document attributes and data to another spooling system.
  4005.  
  4006.         deletedByAdministrator            0x2
  4007.             The administrator has deleted the job.
  4008.  
  4009.         discardTimeArrived                0x4
  4010.             The job has been deleted due to the fact that the time
  4011.             specified by the job's job-discard-time attribute has
  4012.             arrived.
  4013.  
  4014.         postProcessingFailed              0x8
  4015.             The post-processing agent failed while trying to log
  4016.             accounting attributes for the job; therefore the job has
  4017.             been placed into the completed state with the jobRetained
  4018.  
  4019.  
  4020.  
  4021. Bergman, Hastings, Isaacson, Lewis                 [Page 67]
  4022.  
  4023.  
  4024.  
  4025.  
  4026.  
  4027.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4028.  
  4029.  
  4030.             jmJobStateReasons1 object value for a system-defined period
  4031.             of time, so the administrator can examine it, resubmit it,
  4032.             etc.
  4033.  
  4034.         submissionInterrupted             0x10
  4035.             Indicates that the job was not completely submitted for some
  4036.             unforeseen reason, such as: (1) the server has crashed
  4037.             before the job was closed by the client, (2) the server or
  4038.             the document transfer method has crashed in some non-
  4039.             recoverable way before the document data was entirely
  4040.             transferred to the server, (3) the client crashed or failed
  4041.             to close the job before the time-out period.
  4042.  
  4043.         maxJobFaultCountExceeded          0x20
  4044.             The job has faulted several times and has exceeded the
  4045.             administratively defined fault count limit.
  4046.  
  4047.         devicesNeedAttentionTimeOut       0x40
  4048.             One or more document transforms that the job is using needs
  4049.             human intervention in order for the job to make progress,
  4050.             but the human intervention did not occur within the site-
  4051.             settable time-out value.
  4052.  
  4053.         needsKeyOperatorTimeOut           0x80
  4054.             One or more devices or document transforms that the job is
  4055.             using need a specially trained operator (who may need a key
  4056.             to unlock the device and gain access) in order for the job
  4057.             to make progress, but the key operator intervention did not
  4058.             occur within the site-settable time-out value.
  4059.  
  4060.         jobStartWaitTimeOut               0x100
  4061.             The server/device has stopped the job at the beginning of
  4062.             processing to await human action, such as installing a
  4063.             special cartridge or special non-standard media, but the job
  4064.             was not resumed within the site-settable time-out value and
  4065.             the server/device has transitioned the job to the
  4066.             pendingHeld state.
  4067.  
  4068.         jobEndWaitTimeOut                 0x200
  4069.             The server/device has stopped the job at the end of
  4070.             processing to await human action, such as removing a special
  4071.             cartridge or restoring standard media, but the job was not
  4072.             resumed within the site-settable time-out value and the
  4073.             server/device has transitioned the job to the completed
  4074.             state.
  4075.  
  4076.         jobPasswordWaitTimeOut            0x400
  4077.             The server/device has stopped the job at the beginning of
  4078.  
  4079.  
  4080.  
  4081. Bergman, Hastings, Isaacson, Lewis                 [Page 68]
  4082.  
  4083.  
  4084.  
  4085.  
  4086.  
  4087.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4088.  
  4089.  
  4090.             processing to await input of the job's password, but the
  4091.             password was not received within the site-settable time-out
  4092.             value.
  4093.  
  4094.         deviceTimedOut                    0x800
  4095.             A device that the job was using has not responded in a
  4096.             period specified by the device's site-settable attribute.
  4097.  
  4098.         connectingToDeviceTimeOut         0x1000
  4099.             The server is attempting to connect to one or more devices
  4100.             which may be dial-up, polled, or queued, and so may be busy
  4101.             with traffic from other systems, but server was unable to
  4102.             connect to the device within the site-settable time-out
  4103.             value.
  4104.  
  4105.         transferring                      0x2000
  4106.             The job is being transferred to a down stream server or
  4107.             device.
  4108.  
  4109.         queuedInDevice                    0x4000
  4110.             The job has been queued in a down stream server or device.
  4111.  
  4112.         jobCleanup                        0x8000
  4113.             The server/device is performing cleanup activity as part of
  4114.             ending normal processing.
  4115.  
  4116.         jobPasswordWait                   0x20000
  4117.             The server/device has selected the job to be next to
  4118.             process, but instead of assigning resources and starting the
  4119.             job processing, the server/device has transitioned the job
  4120.             to the pendingHeld state to await entry of a password (and
  4121.             dispatched another job, if there is one).
  4122.  
  4123.         validating                        0x40000
  4124.             The server/device is validating the job after accepting the
  4125.             job.
  4126.  
  4127.         queueHeld                         0x80000
  4128.             The operator has held the entire job set or queue.
  4129.  
  4130.         jobProofWait                      0x100000
  4131.             The job has produced a single proof copy and is in the
  4132.             pendingHeld state waiting for the requester to issue an
  4133.             operation to release the job to print normally, obeying any
  4134.             job and document copy attributes that were originally
  4135.             submitted.
  4136.  
  4137.  
  4138.  
  4139.  
  4140.  
  4141. Bergman, Hastings, Isaacson, Lewis                 [Page 69]
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4148.  
  4149.  
  4150.         heldForDiagnostics                0x200000
  4151.             The system is running intrusive diagnostics, so that all
  4152.             jobs are being held.
  4153.  
  4154.         serviceOffLine                    0x400000
  4155.             The service/document transform is off-line and accepting no
  4156.             jobs.  All pending jobs are put into the pendingHeld state.
  4157.             This could be true if its input is impaired or broken.
  4158.  
  4159.         noSpaceOnServer                   0x800000
  4160.             There is no room on the server to store all of the job.
  4161.  
  4162.         pinRequired                       0x1000000
  4163.             The System Administrator settable device policy is (1) to
  4164.             require PINs, and (2) to hold jobs that do not have a pin
  4165.             supplied as an input parameter when the job was created.
  4166.  
  4167.         exceededAccountLimit              0x2000000
  4168.             The account for which this job is drawn has exceeded its
  4169.             limit.  This condition SHOULD be detected before the job is
  4170.             scheduled so that the user does not wait until his/her job
  4171.             is scheduled only to find that the account is overdrawn.
  4172.             This condition MAY also occur while the job is processing
  4173.             either as processing begins or part way through processing.
  4174.  
  4175.         heldForRetry                      0x4000000
  4176.             The job encountered some errors that the server/device could
  4177.             not recover from with its normal retry procedures, but the
  4178.             error might not be encountered if the job is processed again
  4179.             in the future.  Example cases are phone number busy or
  4180.             remote file system in-accessible.  For such a situation, the
  4181.             server/device SHALL transition the job from the processing
  4182.             to the pendingHeld, rather than to the aborted state.
  4183.  
  4184.         The following values are from the X/Open PSIS draft standard:
  4185.  
  4186.         canceledByShutdown                0x8000000
  4187.             The job was canceled because the server or device was
  4188.             shutdown before completing the job.
  4189.  
  4190.         deviceUnavailable                 0x10000000
  4191.             This job was aborted by the system because the device is
  4192.             currently unable to accept jobs.
  4193.  
  4194.         wrongDevice                       0x20000000
  4195.             This job was aborted by the system because the device is
  4196.             unable to handle this particular job; the spooler SHOULD try
  4197.  
  4198.  
  4199.  
  4200.  
  4201. Bergman, Hastings, Isaacson, Lewis                 [Page 70]
  4202.  
  4203.  
  4204.  
  4205.  
  4206.  
  4207.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4208.  
  4209.  
  4210.             another device or the user should submit the job to another
  4211.             device.
  4212.  
  4213.         badJob                            0x40000000
  4214.             This job was aborted by the system because this job has a
  4215.             major problem, such as an ill-formed PDL; the spooler SHOULD
  4216.             not even try another device. "
  4217.     REFERENCE
  4218.         "These bit definitions are the equivalent of a type 2 enum
  4219.         except that combinations of them may be used together.  See
  4220.         section 3.6.1.2.  See the description under JmJobStateReasons1TC
  4221.         and the jobStateReasons2 attribute."
  4222.  
  4223.     SYNTAX      INTEGER(0..2147483647)   -- 31 bits, all but sign bit
  4224.  
  4225.  
  4226.  
  4227.  
  4228.  
  4229.  
  4230. JmJobStateReasons3TC ::= TEXTUAL-CONVENTION
  4231.     STATUS      current
  4232.     DESCRIPTION
  4233.         "This textual-convention is used with the jobStateReasons3
  4234.         attribute to provides additional information regarding the
  4235.         jmJobState object.  See the description under
  4236.         JmJobStateReasons1TC for additional information that applies to
  4237.         all reasons.
  4238.  
  4239.         The following standard values are defined (in hexadecimal) as
  4240.         powers of two, since multiple values may be used at the same
  4241.         time:
  4242.  
  4243.         jobInterruptedByDeviceFailure     0x1
  4244.             A device or the print system software that the job was using
  4245.             has failed while the job was processing.  The server or
  4246.             device is keeping the job in the pendingHeld state until an
  4247.             operator can determine what to do with the job."
  4248.     REFERENCE
  4249.         "These bit definitions are the equivalent of a type 2 enum
  4250.         except that combinations of them may be used together.  See
  4251.         section 3.6.1.2.  The remaining bits are reserved for future
  4252.         standardization and/or registration.  See the description under
  4253.         JmJobStateReasons1TC and the jobStateReasons3 attribute."
  4254.     SYNTAX      INTEGER(0..2147483647)   -- 31 bits, all but sign bit
  4255.  
  4256.  
  4257.  
  4258.  
  4259.  
  4260.  
  4261. Bergman, Hastings, Isaacson, Lewis                 [Page 71]
  4262.  
  4263.  
  4264.  
  4265.  
  4266.  
  4267.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4268.  
  4269.  
  4270.  
  4271.  
  4272. JmJobStateReasons4TC ::= TEXTUAL-CONVENTION
  4273.     STATUS      current
  4274.     DESCRIPTION
  4275.         "This textual-convention is used in the jobStateReasons4
  4276.         attribute to provides additional information regarding the
  4277.         jmJobState object.  See the description under
  4278.         JmJobStateReasons1TC for additional information that applies to
  4279.         all reasons.
  4280.  
  4281.         The following standard values are defined (in hexadecimal) as
  4282.         powers of two, since multiple values may be used at the same
  4283.         time:
  4284.  
  4285.         none yet defined.  These bits are reserved for future
  4286.         standardization and/or registration."
  4287.     REFERENCE
  4288.         "These bit definitions are the equivalent of a type 2 enum
  4289.         except that combinations of them may be used together.  See
  4290.         section 3.6.1.2.  See the description under JmJobStateReasons1TC
  4291.         and the jobStateReasons4 attribute."
  4292.  
  4293.     SYNTAX      INTEGER(0..2147483647)   -- 31 bits, all but sign bit
  4294.  
  4295.  
  4296.  
  4297.  
  4298.  
  4299.  
  4300.  
  4301.  
  4302.  
  4303.  
  4304.  
  4305.  
  4306.  
  4307.  
  4308.  
  4309.  
  4310.  
  4311.  
  4312.  
  4313.  
  4314.  
  4315.  
  4316.  
  4317.  
  4318.  
  4319.  
  4320.  
  4321. Bergman, Hastings, Isaacson, Lewis                 [Page 72]
  4322.  
  4323.  
  4324.  
  4325.  
  4326.  
  4327.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4328.  
  4329.  
  4330.  
  4331. jobmonMIBObjects  OBJECT IDENTIFIER  ::= { jobmonMIB 1 }
  4332.  
  4333. -- The General Group (MANDATORY)
  4334.  
  4335. -- The jmGeneralGroup consists entirely of the jmGeneralTable.
  4336.  
  4337. jmGeneral  OBJECT IDENTIFIER ::= { jobmonMIBObjects 1 }
  4338.  
  4339. jmGeneralTable  OBJECT-TYPE
  4340.     SYNTAX      SEQUENCE OF JmGeneralEntry
  4341.     MAX-ACCESS  not-accessible
  4342.     STATUS      current
  4343.     DESCRIPTION
  4344.         "The jmGeneralTable consists of information of a general nature
  4345.         that are per-job-set, but are not per-job.  See Section 2
  4346.         entitled 'Terminology and Job Model' for the definition of a job
  4347.         set."
  4348.     REFERENCE
  4349.         "The MANDATORY-GROUP macro specifies that this group is
  4350.         MANDATORY."
  4351.     ::= { jmGeneral 1 }
  4352.  
  4353. jmGeneralEntry  OBJECT-TYPE
  4354.     SYNTAX      JmGeneralEntry
  4355.     MAX-ACCESS  not-accessible
  4356.     STATUS      current
  4357.     DESCRIPTION
  4358.         "Information about a job set (queue).
  4359.  
  4360.         An entry SHALL exist in this table for each job set."
  4361.     INDEX  { jmGeneralJobSetIndex }
  4362.     ::= { jmGeneralTable 1 }
  4363.  
  4364. JmGeneralEntry ::= SEQUENCE {
  4365.     jmGeneralJobSetIndex                  Integer32(1..32767),
  4366.     jmGeneralNumberOfActiveJobs           Integer32(0..2147483647),
  4367.     jmGeneralOldestActiveJobIndex         Integer32(0..2147483647),
  4368.     jmGeneralNewestActiveJobIndex         Integer32(0..2147483647),
  4369.     jmGeneralJobPersistence               Integer32(15..2147483647),
  4370.     jmGeneralAttributePersistence         Integer32(15..2147483647),
  4371.     jmGeneralJobSetName                   JmUTF8StringTC(SIZE(0..63))
  4372. }
  4373.  
  4374. jmGeneralJobSetIndex OBJECT-TYPE
  4375.     SYNTAX      Integer32(1..32767)
  4376.     MAX-ACCESS  not-accessible
  4377.     STATUS      current
  4378.  
  4379.  
  4380.  
  4381. Bergman, Hastings, Isaacson, Lewis                 [Page 73]
  4382.  
  4383.  
  4384.  
  4385.  
  4386.  
  4387.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4388.  
  4389.  
  4390.     DESCRIPTION
  4391.         "A unique value for each job set in this MIB.  The jmJobTable
  4392.         and jmAttributeTable tables have this same index as their
  4393.         primary index.
  4394.  
  4395.         The value(s) of the jmGeneralJobSetIndex SHALL be persistent
  4396.         across power cycles, so that clients that have retained
  4397.         jmGeneralJobSetIndex values will access the same job sets upon
  4398.         subsequent power-up.
  4399.  
  4400.         An implementation that has only one job set, such as a printer
  4401.         with a single queue, SHALL hard code this object with the value
  4402.         1."
  4403.     REFERENCE
  4404.         "See Section 2 entitled 'Terminology and Job Model' for the
  4405.         definition of a job set.
  4406.         Corresponds to the first index in jmJobTable and
  4407.         jmAttributeTable."
  4408.     ::= { jmGeneralEntry 1 }
  4409.  
  4410. jmGeneralNumberOfActiveJobs OBJECT-TYPE
  4411.     SYNTAX      Integer32(0..2147483647)
  4412.     MAX-ACCESS  read-only
  4413.     STATUS      current
  4414.     DESCRIPTION
  4415.         "The current number of 'active' jobs in the jmJobIDTable,
  4416.         jmJobTable, and jmAttributeTable, i.e., the total number of jobs
  4417.         that are in the pending, processing, or processingStopped
  4418.         states.  See the JmJobStateTC textual-convention for the exact
  4419.         specification of the semantics of the job states."
  4420.     ::= { jmGeneralEntry 2 }
  4421.  
  4422. jmGeneralOldestActiveJobIndex  OBJECT-TYPE
  4423.     SYNTAX      Integer32 (0..2147483647)
  4424.     MAX-ACCESS  read-only
  4425.     STATUS      current
  4426.     DESCRIPTION
  4427.         "The jmJobIndex of the oldest job that is still in one of the
  4428.         'active' states (pending, processing, or processingStopped).  In
  4429.         other words, the index of the 'active' job that has been in the
  4430.         job tables the longest.
  4431.  
  4432.         If there are no active jobs, the agent SHALL set the value of
  4433.         this object to 0."
  4434.     REFERENCE
  4435.         "See Section 3.2 entitled 'The Job Tables and the Oldest Active
  4436.         and Newest Active Indexes' for a description of the usage of
  4437.         this object."
  4438.  
  4439.  
  4440.  
  4441. Bergman, Hastings, Isaacson, Lewis                 [Page 74]
  4442.  
  4443.  
  4444.  
  4445.  
  4446.  
  4447.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4448.  
  4449.  
  4450.     ::= { jmGeneralEntry 3 }
  4451.  
  4452. jmGeneralNewestActiveJobIndex  OBJECT-TYPE
  4453.     SYNTAX      Integer32 (0..2147483647)
  4454.     MAX-ACCESS  read-only
  4455.     STATUS      current
  4456.     DESCRIPTION
  4457.         "The jmJobIndex of the newest job that is in one of the 'active'
  4458.         states (pending, processing, or processingStopped).  In other
  4459.         words, the index of the 'active' job that has been most recently
  4460.         added to the job tables.
  4461.  
  4462.         When all jobs become 'inactive', i.e., enter the pendingHeld,
  4463.         completed, canceled, or aborted states, the agent SHALL set the
  4464.         value of this object to 0."
  4465.     REFERENCE
  4466.         "See Section 3.2 entitled 'The Job Tables and the Oldest Active
  4467.         and Newest Active Indexes' for a description of the usage of
  4468.         this object."
  4469.     ::= { jmGeneralEntry 4 }
  4470.  
  4471. jmGeneralJobPersistence OBJECT-TYPE
  4472.     SYNTAX      Integer32(15..2147483647)
  4473.     UNITS       "seconds"
  4474.     MAX-ACCESS  read-only
  4475.     STATUS      current
  4476.     DESCRIPTION
  4477.         "The minimum time in seconds for this instance of the Job Set
  4478.         that an entry SHALL remain in the jmJobIDTable and jmJobTable
  4479.         after processing has completed, i.e., the minimum time in
  4480.         seconds starting when the job enters the completed, canceled, or
  4481.         aborted state.
  4482.  
  4483.         Depending on implementation, the value of this object MAY be
  4484.         either: (1) set by the system administrator by means outside
  4485.         this specification or (2) fixed by the implementation.
  4486.  
  4487.         This value SHALL be equal to or greater than the value of
  4488.         jmGeneralAttributePersistence.  This value SHOULD be at least 60
  4489.         which gives a monitoring application one minute in which to poll
  4490.         for job data."
  4491.     DEFVAL      { 60 }          -- one minute
  4492.     ::= { jmGeneralEntry 5 }
  4493.  
  4494. jmGeneralAttributePersistence OBJECT-TYPE
  4495.     SYNTAX      Integer32(15..2147483647)
  4496.     UNITS       "seconds"
  4497.     MAX-ACCESS  read-only
  4498.  
  4499.  
  4500.  
  4501. Bergman, Hastings, Isaacson, Lewis                 [Page 75]
  4502.  
  4503.  
  4504.  
  4505.  
  4506.  
  4507.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4508.  
  4509.  
  4510.     STATUS      current
  4511.     DESCRIPTION
  4512.         "The minimum time in seconds for this instance of the Job Set
  4513.         that an entry SHALL remain in the jmAttributeTable after
  4514.         processing has completed , i.e., the time in seconds starting
  4515.         when the job enters the completed, canceled, or aborted state.
  4516.  
  4517.         Depending on implementation, the value of this object MAY be
  4518.         either (1) set by the system administrator by means outside this
  4519.         specification or MAY be (2) fixed by the implementation.
  4520.  
  4521.         This value SHOULD be at least 60 which gives a monitoring
  4522.         application one minute in which to poll for job data."
  4523.     DEFVAL      { 60 }          -- one minute
  4524.     ::= { jmGeneralEntry 6 }
  4525.  
  4526. jmGeneralJobSetName OBJECT-TYPE
  4527.     SYNTAX      JmUTF8StringTC(SIZE(0..63))
  4528.     MAX-ACCESS  read-only
  4529.     STATUS      current
  4530.     DESCRIPTION
  4531.         "The human readable name of this job set assigned by the system
  4532.         administrator (by means outside of this MIB).  Typically, this
  4533.         name SHOULD be the name of the job queue.  If a server or device
  4534.         has only a single job set, this object can be the
  4535.         administratively assigned name of the server or device itself.
  4536.         This name does not need to be unique, though each job set in a
  4537.         single Job Monitoring MIB SHOULD have distinct names.
  4538.  
  4539.         NOTE - The purpose of this object is to help the user of the job
  4540.         monitoring application distinguish between several job sets in
  4541.         implementations that support more than one job set."
  4542.     REFERENCE
  4543.         "See the OBJECT compliance macro for the minimum maximum length
  4544.         required for conformance."
  4545.     ::= { jmGeneralEntry 7 }
  4546.  
  4547.  
  4548.  
  4549.  
  4550.  
  4551. -- The Job ID Group (MANDATORY)
  4552.  
  4553. -- The jmJobIDGroup consists entirely of the jmJobIDTable.
  4554.  
  4555. jmJobID  OBJECT IDENTIFIER ::= { jobmonMIBObjects 2 }
  4556.  
  4557. jmJobIDTable  OBJECT-TYPE
  4558.  
  4559.  
  4560.  
  4561. Bergman, Hastings, Isaacson, Lewis                 [Page 76]
  4562.  
  4563.  
  4564.  
  4565.  
  4566.  
  4567.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4568.  
  4569.  
  4570.     SYNTAX      SEQUENCE OF JmJobIDEntry
  4571.     MAX-ACCESS  not-accessible
  4572.     STATUS      current
  4573.     DESCRIPTION
  4574.         "The jmJobIDTable provides a correspondence map (1) between the
  4575.         job submission ID that a client uses to refer to a job and (2)
  4576.         the jmGeneralJobSetIndex and jmJobIndex that the Job Monitoring
  4577.         MIB agent assigned to the job and that are used to access the
  4578.         job in all of the other tables in the MIB.  If a monitoring
  4579.         application already knows the jmGeneralJobSetIndex and the
  4580.         jmJobIndex of the job it is querying, that application NEED NOT
  4581.         use the jmJobIDTable."
  4582.     REFERENCE
  4583.         "The MANDATORY-GROUP macro specifies that this group is
  4584.         MANDATORY."
  4585.     ::= { jmJobID 1 }
  4586.  
  4587. jmJobIDEntry  OBJECT-TYPE
  4588.     SYNTAX      JmJobIDEntry
  4589.     MAX-ACCESS  not-accessible
  4590.     STATUS      current
  4591.     DESCRIPTION
  4592.         "The map from (1) the jmJobSubmissionID to (2) the
  4593.         jmGeneralJobSetIndex and jmJobIndex.
  4594.  
  4595.         An entry SHALL exist in this table for each job currently known
  4596.         to the agent for all job sets and job states.  Each job SHALL
  4597.         appear in one and only one job set."
  4598.     INDEX  { jmJobSubmissionID }
  4599.     ::= { jmJobIDTable 1 }
  4600.  
  4601. JmJobIDEntry ::= SEQUENCE {
  4602.     jmJobSubmissionID                     OCTET STRING(SIZE(48)),
  4603.     jmJobIDJobSetIndex                    Integer32(1..32767),
  4604.     jmJobIDJobIndex                       Integer32(1..2147483647)
  4605. }
  4606.  
  4607. jmJobSubmissionID OBJECT-TYPE
  4608.     SYNTAX      OCTET STRING(SIZE(48))
  4609.     MAX-ACCESS  not-accessible
  4610.     STATUS      current
  4611.     DESCRIPTION
  4612.         "A quasi-unique 48-octet fixed-length string ID which identifies
  4613.         the job within a particular client-server environment.  There
  4614.         are multiple formats for the jmJobSubmissionID.  Each format
  4615.         SHALL be uniquely identified.  See the JmJobSubmissionIDTypeTC
  4616.         textual convention.  Each format SHALL be registered using the
  4617.  
  4618.  
  4619.  
  4620.  
  4621. Bergman, Hastings, Isaacson, Lewis                 [Page 77]
  4622.  
  4623.  
  4624.  
  4625.  
  4626.  
  4627.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4628.  
  4629.  
  4630.         procedures of a type 2 enum.  See section 3.6.3 entitled: 'IANA
  4631.         Registration of Job Submission Id Formats'.
  4632.  
  4633.         If the requester (client or server) does not supply a job
  4634.         submission ID in the job submission protocol, then the recipient
  4635.         (server or device) SHALL assign a job submission ID using any of
  4636.         the standard formats that have been reserved to agents and
  4637.         adding the final 8 octets to distinguish the ID from others
  4638.         submitted from the same requester.
  4639.  
  4640.         The monitoring application, whether in the client or running
  4641.         separately, MAY use the job submission ID to help identify which
  4642.         jmJobIndex was assigned by the agent, i.e., in which row the job
  4643.         information is in the other tables.
  4644.  
  4645.         NOTE - fixed-length is used so that a management application can
  4646.         use a shortened GetNext varbind (in SNMPv1 and SNMPv2) in order
  4647.         to get the next submission ID, disregarding the remainder of the
  4648.         ID in order to access jobs independent of the trailing
  4649.         identifier part, e.g., to get all jobs submitted by a particular
  4650.         jmJobOwner or submitted from a particular MAC address."
  4651.     REFERENCE
  4652.         "See the JmJobSubmissionIDTypeTC textual convention.
  4653.         See APPENDIX B - Support of the Job Submission ID in Job
  4654.         Submission Protocols."
  4655.     ::= { jmJobIDEntry 1 }
  4656.  
  4657. jmJobIDJobSetIndex OBJECT-TYPE
  4658.     SYNTAX      Integer32(1..32767)
  4659.     MAX-ACCESS  read-only
  4660.     STATUS      current
  4661.     DESCRIPTION
  4662.         "This object contains the value of the jmGeneralJobSetIndex for
  4663.         the job with the jmJobSubmissionID value, i.e., the job set
  4664.         index of the job set in which the job was placed when that
  4665.         server or device accepted the job.  This 16-bit value in
  4666.         combination with the jmJobIDJobIndex value permits the
  4667.         management application to access the other tables to obtain the
  4668.         job-specific objects for this job."
  4669.     REFERENCE
  4670.         "See jmGeneralJobSetIndex in the jmGeneralTable."
  4671.     ::= { jmJobIDEntry 2 }
  4672.  
  4673. jmJobIDJobIndex OBJECT-TYPE
  4674.     SYNTAX      Integer32(1..2147483647)
  4675.     MAX-ACCESS  read-only
  4676.     STATUS      current
  4677.     DESCRIPTION
  4678.  
  4679.  
  4680.  
  4681. Bergman, Hastings, Isaacson, Lewis                 [Page 78]
  4682.  
  4683.  
  4684.  
  4685.  
  4686.  
  4687.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4688.  
  4689.  
  4690.         "This object contains the value of the jmJobIndex for the job
  4691.         with the jmJobSubmissionID value, i.e., the job index for the
  4692.         job when the server or device accepted the job.  This value, in
  4693.         combination with the jmJobIDJobSetIndex value, permits the
  4694.         management application to access the other tables to obtain the
  4695.         job-specific objects for this job."
  4696.     REFERENCE
  4697.         "See jmJobIndex in the jmJobTable."
  4698.     ::= { jmJobIDEntry 3 }
  4699.  
  4700.  
  4701.  
  4702.  
  4703. -- The Job Group (MANDATORY)
  4704.  
  4705. -- The jmJobGroup consists entirely of the jmJobTable.
  4706.  
  4707. jmJob  OBJECT IDENTIFIER ::= { jobmonMIBObjects 3 }
  4708.  
  4709. jmJobTable  OBJECT-TYPE
  4710.     SYNTAX      SEQUENCE OF JmJobEntry
  4711.     MAX-ACCESS  not-accessible
  4712.     STATUS      current
  4713.     DESCRIPTION
  4714.         "The jmJobTable consists of basic job state and status
  4715.         information for each job in a job set that (1) monitoring
  4716.         applications need to be able to access in a single SNMP Get
  4717.         operation, (2) that have a single value per job, and (3) that
  4718.         SHALL always be implemented."
  4719.     REFERENCE
  4720.         "The MANDATORY-GROUP macro specifies that this group is
  4721.         MANDATORY."
  4722.     ::= { jmJob 1 }
  4723.  
  4724. jmJobEntry  OBJECT-TYPE
  4725.     SYNTAX      JmJobEntry
  4726.     MAX-ACCESS  not-accessible
  4727.     STATUS      current
  4728.     DESCRIPTION
  4729.         "Basic per-job state and status information.
  4730.  
  4731.         An entry SHALL exist in this table for each job, no matter what
  4732.         the state of the job is.  Each job SHALL appear in one and only
  4733.         one job set."
  4734.     REFERENCE
  4735.         "See Section 3.2 entitled 'The Job Tables'."
  4736.     INDEX  { jmGeneralJobSetIndex, jmJobIndex }
  4737.     ::= { jmJobTable 1 }
  4738.  
  4739.  
  4740.  
  4741. Bergman, Hastings, Isaacson, Lewis                 [Page 79]
  4742.  
  4743.  
  4744.  
  4745.  
  4746.  
  4747.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4748.  
  4749.  
  4750.  
  4751. JmJobEntry ::= SEQUENCE {
  4752.     jmJobIndex                            Integer32(1..2147483647),
  4753.     jmJobState                            JmJobStateTC,
  4754.     jmJobStateReasons1                    JmJobStateReasons1TC,
  4755.     jmNumberOfInterveningJobs             Integer32(-2..2147483647),
  4756.     jmJobKOctetsRequested                 Integer32(-2..2147483647),
  4757.     jmJobKOctetsProcessed                 Integer32(-2..2147483647),
  4758.     jmJobImpressionsRequested             Integer32(-2..2147483647),
  4759.     jmJobImpressionsCompleted             Integer32(-2..2147483647),
  4760.     jmJobOwner                            JmJobStringTC(SIZE(0..63))
  4761. }
  4762.  
  4763. jmJobIndex OBJECT-TYPE
  4764.     SYNTAX      Integer32(1..2147483647)
  4765.     MAX-ACCESS  not-accessible
  4766.     STATUS      current
  4767.     DESCRIPTION
  4768.         "The sequential, monatonically increasing identifier index for
  4769.         the job generated by the server or device when that server or
  4770.         device accepted the job.  This index value permits the
  4771.         management application to access the other tables to obtain the
  4772.         job-specific row entries."
  4773.     REFERENCE
  4774.         "See Section 3.2 entitled 'The Job Tables and the Oldest Active
  4775.         and Newest Active Indexes'.
  4776.         See Section 3.4 entitled 'Job Identification'.
  4777.         See also jmGeneralNewestActiveJobIndex for the largest value of
  4778.         jmJobIndex.
  4779.         See JmJobSubmissionTypeTC for a limit on the size of this index
  4780.         if the agent represents it as an 8-digit decimal number."
  4781.     ::= { jmJobEntry 1 }
  4782.  
  4783. jmJobState OBJECT-TYPE
  4784.     SYNTAX      JmJobStateTC
  4785.     MAX-ACCESS  read-only
  4786.     STATUS      current
  4787.     DESCRIPTION
  4788.         "The current state of the job (pending, processing, completed,
  4789.         etc.).  Agents SHALL implement only those states which are
  4790.         appropriate for the particular implementation.  However,
  4791.         management applications SHALL be prepared to receive all the
  4792.         standard job states.
  4793.  
  4794.         The final value for this object SHALL be one of: completed,
  4795.         canceled, or aborted.  The minimum length of time that the agent
  4796.         SHALL maintain MIB data for a job in the completed, canceled, or
  4797.         aborted state before removing the job data from the jmJobIDTable
  4798.  
  4799.  
  4800.  
  4801. Bergman, Hastings, Isaacson, Lewis                 [Page 80]
  4802.  
  4803.  
  4804.  
  4805.  
  4806.  
  4807.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4808.  
  4809.  
  4810.         and jmJobTable is specified by the value of the
  4811.         jmGeneralJobPersistence object."
  4812.     ::= { jmJobEntry 2 }
  4813.  
  4814. jmJobStateReasons1 OBJECT-TYPE
  4815.     SYNTAX      JmJobStateReasons1TC
  4816.     MAX-ACCESS  read-only
  4817.     STATUS      current
  4818.     DESCRIPTION
  4819.         "Additional information about the job's current state, i.e.,
  4820.         information that augments the value of the job's jmJobState
  4821.         object.
  4822.  
  4823.         Implementation of any reason values is OPTIONAL, but an agent
  4824.         SHOULD return any reason information available  These values MAY
  4825.         be used with any job state or states for which the reason makes
  4826.         sense.  Furthermore, when implemented as with any MIB data, the
  4827.         agent SHALL return these values when the reason applies and
  4828.         SHALL NOT return them when the reason no longer applies whether
  4829.         the value of the job's jmJobState object changed or not.  When
  4830.         the agent cannot provide a reason for the current state of the
  4831.         job, the agent SHALL set the value of the jmJobStateReasons1
  4832.         object and jobStateReasonsN attributes to 0."
  4833.     REFERENCE
  4834.         "The jobStateReasonsN (N=2..4) attributes provide further
  4835.         additional information about the job's current state."
  4836.     ::= { jmJobEntry 3 }
  4837.  
  4838. jmNumberOfInterveningJobs OBJECT-TYPE
  4839.     SYNTAX      Integer32(-2..2147483647)
  4840.     MAX-ACCESS  read-only
  4841.     STATUS      current
  4842.     DESCRIPTION
  4843.         "The number of jobs that are expected to complete being
  4844.         processed before this job has completed being processed
  4845.         according to the implementation's queuing algorithm if no other
  4846.         jobs were to be submitted.  In other words, this value is the
  4847.         job's queue position.  The agent SHALL return a value of 0 for
  4848.         this attribute when the job is the next job to complete
  4849.         processing (or has completed processing)."
  4850.     ::= { jmJobEntry 4 }
  4851.  
  4852. jmJobKOctetsRequested OBJECT-TYPE
  4853.     SYNTAX      Integer32(-2..2147483647)
  4854.     MAX-ACCESS  read-only
  4855.     STATUS      current
  4856.     DESCRIPTION
  4857.  
  4858.  
  4859.  
  4860.  
  4861. Bergman, Hastings, Isaacson, Lewis                 [Page 81]
  4862.  
  4863.  
  4864.  
  4865.  
  4866.  
  4867.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4868.  
  4869.  
  4870.         "The total size in K (1024) octets of the document(s) being
  4871.         requested to be processed in the job.  The agent SHALL round the
  4872.         actual number of octets up to the next highest K.  Thus 0 octets
  4873.         SHALL be represented as '0', 1-1024 octets SHALL be represented
  4874.         as '1', 1025-2048 SHALL be represented as '2', etc.
  4875.  
  4876.         In computing this value, the server/device SHALL not include the
  4877.         multiplicative factors contributed by (1) the number of document
  4878.         copies, and (2) the number of job copies, independent of whether
  4879.         the device can process multiple copies of the job or document
  4880.         without making multiple passes over the job or document data and
  4881.         independent of whether the output is collated or not.  Thus the
  4882.         server/device computation is independent of the implementation."
  4883.     ::= { jmJobEntry 5 }
  4884.  
  4885. jmJobKOctetsProcessed OBJECT-TYPE
  4886.     SYNTAX      Integer32(-2..2147483647)
  4887.     MAX-ACCESS  read-only
  4888.     STATUS      current
  4889.     DESCRIPTION
  4890.         "The current number of octets processed by the server or device
  4891.         measured in units of K (1024) octets.  The agent SHALL round the
  4892.         actual number of octets processed up to the next higher K.  Thus
  4893.         0 octets SHALL be represented as '0', 1-1024 octets SHALL be
  4894.         represented as '1', 1025-2048 octets SHALL be '2', etc.  For
  4895.         printing devices, this value is the number interpreted by the
  4896.         page description language interpreter rather than what has been
  4897.         marked on media.
  4898.  
  4899.         For implementations where multiple copies are produced by the
  4900.         interpreter with only a single pass over the data, the final
  4901.         value SHALL be equal to the value of the jmJobKOctetsRequested
  4902.         object.  For implementations where multiple copies are produced
  4903.         by the interpreter by processing the data for each copy, the
  4904.         final value SHALL be a multiple of the value of the
  4905.         jmJobKOctetsRequested object.
  4906.  
  4907.         NOTE - See the impressionsCompletedCurrentCopy and
  4908.         pagesCompletedCurrentCopy attributes for attributes that are
  4909.         reset on each document copy.
  4910.  
  4911.         NOTE - The jmJobKOctetsProcessed object can be used with the
  4912.         jmJobKOctetsRequested object to provide an indication of the
  4913.         relative progress of the job, provided that the multiplicative
  4914.         factor is taken into account for some implementations of
  4915.         multiple copies."
  4916.     ::= { jmJobEntry 6 }
  4917.  
  4918.  
  4919.  
  4920.  
  4921. Bergman, Hastings, Isaacson, Lewis                 [Page 82]
  4922.  
  4923.  
  4924.  
  4925.  
  4926.  
  4927.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4928.  
  4929.  
  4930. jmJobImpressionsRequested OBJECT-TYPE
  4931.     SYNTAX      Integer32(-2..2147483647)
  4932.     MAX-ACCESS  read-only
  4933.     STATUS      current
  4934.     DESCRIPTION
  4935.         "The total size in number of impressions of the document(s)
  4936.         being requested by this job to produce.
  4937.  
  4938.         In computing this value, the server/device SHALL not include the
  4939.         multiplicative factors contributed by (1) the number of document
  4940.         copies, and (2) the number of job copies, independent of whether
  4941.         the device can process multiple copies of the job or document
  4942.         without making multiple passes over the job or document data and
  4943.         independent of whether the output is collated or not.  Thus the
  4944.         server/device computation is independent of the implementation."
  4945.     ::= { jmJobEntry 7 }
  4946.  
  4947. jmJobImpressionsCompleted OBJECT-TYPE
  4948.     SYNTAX      Integer32(-2..2147483647)
  4949.     MAX-ACCESS  read-only
  4950.     STATUS      current
  4951.     DESCRIPTION
  4952.         "The current number of impressions completed for this job so
  4953.         far.  For printing devices, the impressions completed includes
  4954.         interpreting, marking, and stacking the output.  For other types
  4955.         of job services, the number of impressions completed includes
  4956.         the number of impressions processed.
  4957.  
  4958.         For implementations where multiple copies are produced by the
  4959.         interpreter with only a single pass over the data, the final
  4960.         value SHALL be equal to the value of the
  4961.         jmJobImpressionsRequested object.  For implementations where
  4962.         multiple copies are produced by the interpreter by processing
  4963.         the data for each copy, the final value SHALL be a multiple of
  4964.         the value of the jmJobImpressionsRequested object.
  4965.  
  4966.         NOTE - See the impressionsCompletedCurrentCopy and
  4967.         pagesCompletedCurrentCopy attributes for attributes that are
  4968.         reset on each document copy.
  4969.  
  4970.         NOTE - The jmJobImpressionsCompleted object can be used with the
  4971.         jmJobImpressionsRequested object to provide an indication of the
  4972.         relative progress of the job, provided that the multiplicative
  4973.         factor is taken into account for some implementations of
  4974.         multiple copies."
  4975.     ::= { jmJobEntry 8 }
  4976.  
  4977. jmJobOwner OBJECT-TYPE
  4978.  
  4979.  
  4980.  
  4981. Bergman, Hastings, Isaacson, Lewis                 [Page 83]
  4982.  
  4983.  
  4984.  
  4985.  
  4986.  
  4987.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  4988.  
  4989.  
  4990.     SYNTAX      JmJobStringTC(SIZE(0..63))
  4991.     MAX-ACCESS  read-only
  4992.     STATUS      current
  4993.     DESCRIPTION
  4994.         "The coded character set name of the user that submitted the
  4995.         job.  The method of assigning this user name will be system
  4996.         and/or site specific but the method MUST insure that the name is
  4997.         unique to the network that is visible to the client and target
  4998.         device.
  4999.  
  5000.         This value SHOULD be the authenticated name of the user
  5001.         submitting the job."
  5002.     REFERENCE
  5003.         "See the OBJECT compliance macro for the minimum maximum length
  5004.         required for conformance."
  5005.     ::= { jmJobEntry 9 }
  5006.  
  5007.  
  5008.  
  5009.  
  5010. -- The Attribute Group (MANDATORY)
  5011.  
  5012. -- The jmAttributeGroup consists entirely of the jmAttributeTable.
  5013. --
  5014. -- Implementation of the two objects in this group is MANDATORY.
  5015. -- See Section 3.1 entitled 'Conformance Considerations'.
  5016. -- An agent SHALL implement any attribute if (1) the server or device
  5017. -- supports the functionality represented by the attribute and (2) the
  5018. -- information is available to the agent.
  5019.  
  5020. jmAttribute  OBJECT IDENTIFIER ::= { jobmonMIBObjects 4 }
  5021.  
  5022. jmAttributeTable  OBJECT-TYPE
  5023.     SYNTAX      SEQUENCE OF JmAttributeEntry
  5024.     MAX-ACCESS  not-accessible
  5025.     STATUS      current
  5026.     DESCRIPTION
  5027.         "The jmAttributeTable SHALL contain attributes of the job and
  5028.         document(s) for each job in a job set.  Instead of allocating
  5029.         distinct objects for each attribute, each attribute is
  5030.         represented as a separate row in the jmAttributeTable."
  5031.     REFERENCE
  5032.         "The MANDATORY-GROUP macro specifies that this group is
  5033.         MANDATORY.  An agent SHALL implement any attribute if (1) the
  5034.         server or device supports the functionality represented by the
  5035.         attribute and (2) the information is available to the agent. "
  5036.     ::= { jmAttribute 1 }
  5037.  
  5038.  
  5039.  
  5040.  
  5041. Bergman, Hastings, Isaacson, Lewis                 [Page 84]
  5042.  
  5043.  
  5044.  
  5045.  
  5046.  
  5047.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5048.  
  5049.  
  5050. jmAttributeEntry  OBJECT-TYPE
  5051.     SYNTAX      JmAttributeEntry
  5052.     MAX-ACCESS  not-accessible
  5053.     STATUS      current
  5054.     DESCRIPTION
  5055.         "Attributes representing information about the job and
  5056.         document(s) or resources required and/or consumed.
  5057.  
  5058.         Each entry in the jmAttributeTable is a per-job entry with an
  5059.         extra index for each type of attribute (jmAttributeTypeIndex)
  5060.         that a job can have and an additional index
  5061.         (jmAttributeInstanceIndex) for those attributes that can have
  5062.         multiple instances per job.  The jmAttributeTypeIndex object
  5063.         SHALL contain an enum type that indicates the type of attribute
  5064.         (see the JmAttributeTypeTC textual-convention).  The value of
  5065.         the attribute SHALL be represented in either the
  5066.         jmAttributeValueAsInteger or jmAttributeValueAsOctets objects,
  5067.         and/or both, as specified in the JmAttributeTypeTC textual-
  5068.         convention.
  5069.  
  5070.         The agent SHALL create rows in the jmAttributeTable as the
  5071.         server or device is able to discover the attributes either from
  5072.         the job submission protocol itself or from the document PDL.  As
  5073.         the documents are interpreted, the interpreter MAY discover
  5074.         additional attributes and so the agent adds additional rows to
  5075.         this table.  As the attributes that represent resources are
  5076.         actually consumed, the usage counter contained in the
  5077.         jmAttributeValueAsInteger object is incremented according to the
  5078.         units indicated in the description of the JmAttributeTypeTC
  5079.         enum.
  5080.  
  5081.         The agent SHALL maintain each row in the jmJobTable for at least
  5082.         the minimum time after a job completes as specified by the
  5083.         jmGeneralAttributePersistence object.
  5084.  
  5085.         Zero or more entries SHALL exist in this table for each job in a
  5086.         job set."
  5087.     REFERENCE
  5088.         "See Section 3.3 entitled 'The Attribute Mechanism' for a
  5089.         description of the jmAttributeTable."
  5090.     INDEX  { jmGeneralJobSetIndex, jmJobIndex, jmAttributeTypeIndex,
  5091.     jmAttributeInstanceIndex }
  5092.     ::= { jmAttributeTable 1 }
  5093.  
  5094. JmAttributeEntry ::= SEQUENCE {
  5095.     jmAttributeTypeIndex                  JmAttributeTypeTC,
  5096.     jmAttributeInstanceIndex              Integer32(1..32767),
  5097.     jmAttributeValueAsInteger             Integer32(-2..2147483647),
  5098.  
  5099.  
  5100.  
  5101. Bergman, Hastings, Isaacson, Lewis                 [Page 85]
  5102.  
  5103.  
  5104.  
  5105.  
  5106.  
  5107.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5108.  
  5109.  
  5110.     jmAttributeValueAsOctets              OCTET STRING(SIZE(0..63))
  5111. }
  5112.  
  5113. jmAttributeTypeIndex OBJECT-TYPE
  5114.     SYNTAX      JmAttributeTypeTC
  5115.     MAX-ACCESS  not-accessible
  5116.     STATUS      current
  5117.     DESCRIPTION
  5118.         "The type of attribute that this row entry represents.
  5119.  
  5120.         The type MAY identify information about the job or document(s)
  5121.         or MAY identify a resource required to process the job before
  5122.         the job start processing and/or consumed by the job as the job
  5123.         is processed.
  5124.  
  5125.         Examples of job attributes (i.e., apply to the job as a whole)
  5126.         that have only one instance per job include:
  5127.         jobCopiesRequested(90), documentCopiesRequested(92),
  5128.         jobCopiesCompleted(91), documentCopiesCompleted(93), while
  5129.         examples of job attributes that may have more than one instance
  5130.         per job include:  documentFormatIndex(37), and
  5131.         documentFormat(38).
  5132.  
  5133.         Examples of document attributes (one instance per document)
  5134.         include:  fileName(34), and documentName(35).
  5135.  
  5136.         Examples of required and consumed resource attributes include:
  5137.         pagesRequested(130), mediumRequested(170), pagesCompleted(131),
  5138.         and mediumConsumed(171), respectively."
  5139.     ::= { jmAttributeEntry 1 }
  5140.  
  5141. jmAttributeInstanceIndex OBJECT-TYPE
  5142.     SYNTAX      Integer32(1..32767)
  5143.     MAX-ACCESS  not-accessible
  5144.     STATUS      current
  5145.     DESCRIPTION
  5146.         "A running 16-bit index of the attributes of the same type for
  5147.         each job.  For those attributes with only a single instance per
  5148.         job, this index value SHALL be 1.  For those attributes that are
  5149.         a single value per document, the index value SHALL be the
  5150.         document number, starting with 1 for the first document in the
  5151.         job.  Jobs with only a single document SHALL use the index value
  5152.         of 1.  For those attributes that can have multiple values per
  5153.         job or per document, such as documentFormatIndex(37) or
  5154.         documentFormat(38), the index SHALL be a running index for the
  5155.         job as a whole, starting at 1."
  5156.     ::= { jmAttributeEntry 2 }
  5157.  
  5158.  
  5159.  
  5160.  
  5161. Bergman, Hastings, Isaacson, Lewis                 [Page 86]
  5162.  
  5163.  
  5164.  
  5165.  
  5166.  
  5167.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5168.  
  5169.  
  5170. jmAttributeValueAsInteger OBJECT-TYPE
  5171.     SYNTAX      Integer32(-2..2147483647)
  5172.     MAX-ACCESS  read-only
  5173.     STATUS      current
  5174.     DESCRIPTION
  5175.         "The integer value of the attribute.  The value of the attribute
  5176.         SHALL be represented as an integer if the enum description in
  5177.         the JmAttributeTypeTC textual-convention definition has the tag:
  5178.         'INTEGER:'.
  5179.  
  5180.         Depending on the enum definition, this object value MAY be an
  5181.         integer, a counter, an index, or an enum, depending on the
  5182.         jmAttributeTypeIndex value.  The units of this value are
  5183.         specified in the enum description.
  5184.  
  5185.         For those attributes that are accumulating job consumption as
  5186.         the job is processed as specified in the JmAttributeTypeTC
  5187.         textual-convention, SHALL contain the final value after the job
  5188.         completes processing, i.e., this value SHALL indicate the total
  5189.         usage of this resource made by the job.
  5190.  
  5191.         A monitoring application is able to copy this value to a
  5192.         suitable longer term storage for later processing as part of an
  5193.         accounting system.
  5194.  
  5195.         Since the agent MAY add attributes representing resources to
  5196.         this table while the job is waiting to be processed or being
  5197.         processed, which can be a long time before any of the resources
  5198.         are actually used, the agent SHALL set the value of the
  5199.         jmAttributeValueAsInteger object to 0 for resources that the job
  5200.         has not yet consumed.
  5201.  
  5202.         Attributes for which the concept of an integer value is
  5203.         meaningless, such as fileName(34), jobName, and
  5204.         processingMessage, do not have the 'INTEGER:' tag in the
  5205.         JmAttributeTypeTC definition and so an agent SHALL always return
  5206.         a value of '-1' to indicate 'other' for the value of the
  5207.         jmAttributeValueAsInteger object for these attributes.
  5208.  
  5209.         For attributes which do have the 'INTEGER:' tag in the
  5210.         JmAttributeTypeTC definition, if the integer value is not (yet)
  5211.         known, the agent either (1) SHALL not materialize the row in the
  5212.         jmAttributeTable until the value is known or (2) SHALL return a
  5213.         '-2' to represent an 'unknown' counting integer value, a '0' to
  5214.         represent an 'unknown' index value, and a '2' to represent an
  5215.         'unknown(2)' enum value."
  5216.     ::= { jmAttributeEntry 3 }
  5217.  
  5218.  
  5219.  
  5220.  
  5221. Bergman, Hastings, Isaacson, Lewis                 [Page 87]
  5222.  
  5223.  
  5224.  
  5225.  
  5226.  
  5227.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5228.  
  5229.  
  5230. jmAttributeValueAsOctets OBJECT-TYPE
  5231.     SYNTAX      OCTET STRING(SIZE(0..63))
  5232.     MAX-ACCESS  read-only
  5233.     STATUS      current
  5234.     DESCRIPTION
  5235.         "The octet string value of the attribute.  The value of the
  5236.         attribute SHALL be represented as an OCTET STRING if the enum
  5237.         description in the JmAttributeTypeTC textual-convention
  5238.         definition has the tag: 'OCTETS:'.
  5239.  
  5240.         Depending on the enum definition, this object value MAY be a
  5241.         coded character set string (text), such as 'JmUTF8StringTC', or
  5242.         a binary octet string, such as 'DateAndTime'.
  5243.  
  5244.         Attributes for which the concept of an octet string value is
  5245.         meaningless, such as pagesCompleted, do not have the tag
  5246.         'OCTETS:' in the JmAttributeTypeTC definition and so the agent
  5247.         SHALL always return a zero length string for the value of the
  5248.         jmAttributeValueAsOctets object.
  5249.  
  5250.         For attributes which do have the 'OCTETS:' tag in the
  5251.         JmAttributeTypeTC definition, if the OCTET STRING value is not
  5252.         (yet) known, the agent either SHALL not materialize the row in
  5253.         the jmAttributeTable until the value is known or SHALL return a
  5254.         zero-length string."
  5255.     ::= { jmAttributeEntry 4 }
  5256.  
  5257.  
  5258.  
  5259.  
  5260.  
  5261.  
  5262.  
  5263.  
  5264.  
  5265.  
  5266.  
  5267.  
  5268.  
  5269.  
  5270.  
  5271.  
  5272.  
  5273.  
  5274.  
  5275.  
  5276.  
  5277.  
  5278.  
  5279.  
  5280.  
  5281. Bergman, Hastings, Isaacson, Lewis                 [Page 88]
  5282.  
  5283.  
  5284.  
  5285.  
  5286.  
  5287.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5288.  
  5289.  
  5290. -- Notifications and Trapping
  5291. -- Reserved for the future
  5292.  
  5293. jobmonMIBNotifications  OBJECT IDENTIFIER  ::= { jobmonMIB 2}
  5294.  
  5295.  
  5296.  
  5297. -- Conformance Information
  5298.  
  5299. jmMIBConformance OBJECT IDENTIFIER ::= { jobmonMIB 3 }
  5300.  
  5301. -- compliance statements
  5302. jmMIBCompliance MODULE-COMPLIANCE
  5303.     STATUS  current
  5304.     DESCRIPTION
  5305.         "The compliance statement for agents that implement the
  5306.         job monitoring MIB."
  5307.     MODULE -- this module
  5308.     MANDATORY-GROUPS {
  5309.         jmGeneralGroup, jmJobIDGroup, jmJobGroup, jmAttributeGroup }
  5310.  
  5311.     OBJECT   jmGeneralJobSetName
  5312.     SYNTAX   JmUTF8StringTC (SIZE(0..8))
  5313.     DESCRIPTION
  5314.         "Only 8 octets maximum string length NEED be supported by the
  5315.         agent."
  5316.  
  5317.     OBJECT   jmJobOwner
  5318.     SYNTAX   JmJobStringTC (SIZE(0..16))
  5319.     DESCRIPTION
  5320.         "Only 16 octets maximum string length NEED be supported by the
  5321.         agent."
  5322.  
  5323. -- There are no CONDITIONALLY MANDATORY or OPTIONAL groups.
  5324.  
  5325.     ::= { jmMIBConformance 1 }
  5326.  
  5327. jmMIBGroups      OBJECT IDENTIFIER ::= { jmMIBConformance 2 }
  5328.  
  5329. jmGeneralGroup OBJECT-GROUP
  5330.     OBJECTS {
  5331.         jmGeneralNumberOfActiveJobs,   jmGeneralOldestActiveJobIndex,
  5332.         jmGeneralNewestActiveJobIndex, jmGeneralJobPersistence,
  5333.         jmGeneralAttributePersistence, jmGeneralJobSetName}
  5334.     STATUS  current
  5335.     DESCRIPTION
  5336.         "The general group."
  5337.     ::= { jmMIBGroups 1 }
  5338.  
  5339.  
  5340.  
  5341. Bergman, Hastings, Isaacson, Lewis                 [Page 89]
  5342.  
  5343.  
  5344.  
  5345.  
  5346.  
  5347.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5348.  
  5349.  
  5350.  
  5351. jmJobIDGroup OBJECT-GROUP
  5352.     OBJECTS {
  5353.         jmJobIDJobSetIndex, jmJobIDJobIndex }
  5354.     STATUS  current
  5355.     DESCRIPTION
  5356.         "The job ID group."
  5357.     ::= { jmMIBGroups 2 }
  5358.  
  5359. jmJobGroup OBJECT-GROUP
  5360.     OBJECTS {
  5361.         jmJobState, jmJobStateReasons1, jmNumberOfInterveningJobs,
  5362.         jmJobKOctetsRequested, jmJobKOctetsProcessed,
  5363.         jmJobImpressionsRequested, jmJobImpressionsCompleted, jmJobOwner
  5364.         }
  5365.     STATUS  current
  5366.     DESCRIPTION
  5367.         "The job group."
  5368.     ::= { jmMIBGroups 3 }
  5369.  
  5370. jmAttributeGroup OBJECT-GROUP
  5371.     OBJECTS {
  5372.         jmAttributeValueAsInteger, jmAttributeValueAsOctets }
  5373.     STATUS  current
  5374.     DESCRIPTION
  5375.         "The attribute group."
  5376.     ::= { jmMIBGroups 4 }
  5377.  
  5378.  
  5379. END
  5380.  
  5381.  
  5382.  
  5383.  
  5384.  
  5385.  
  5386.  
  5387.  
  5388.  
  5389.  
  5390.  
  5391.  
  5392.  
  5393.  
  5394.  
  5395.  
  5396.  
  5397.  
  5398.  
  5399.  
  5400.  
  5401. Bergman, Hastings, Isaacson, Lewis                 [Page 90]
  5402.  
  5403.  
  5404.  
  5405.  
  5406.  
  5407.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5408.  
  5409.  
  5410.  
  5411. 5. Appendix A - Implementing the Job Life Cycle
  5412.  
  5413. The job object has well-defined states and client operations that affect
  5414. the transition between the job states.  Internal server and device
  5415. actions also affect the transitions of the job between the job states.
  5416. These states and transitions are referred to as the job's life cycle.
  5417.  
  5418. Not all implementations of job submission protocols have all of the
  5419. states of the job model specified here.  The job model specified here is
  5420. intended to be a superset of most implementations.  It is the purpose of
  5421. the agent to map the particular implementation's job life cycle onto the
  5422. one specified here.  The agent MAY omit any states not implemented.
  5423. Only the processing and completed states are required to be implemented
  5424. by an agent.  However, a conforming management application SHALL be
  5425. prepared to accept any of the states in the job life cycle specified
  5426. here, so that the management application can interoperate with any
  5427. conforming agent.
  5428.  
  5429. The job states are intended to be user visible.  The agent SHALL make
  5430. these states visible in the MIB, but only for the subset of job states
  5431. that the implementation has.  Some implementations MAY need to have sub-
  5432. states of these user-visible states.  The jmJobStateReasons1 object and
  5433. the jobStateReasonsN (N=2..4) attributes can be used to represent the
  5434. sub-states of the jobs.
  5435.  
  5436. Job states are intended to last a user-visible length of time in most
  5437. implementations.  However, some jobs may pass through some states in
  5438. zero time in some situations and/or in some implementations.
  5439.  
  5440. The job model does not specify how accounting and auditing is
  5441. implemented, except to assume that accounting and auditing logs are
  5442. separate from the job life cycle and last longer than job entries in the
  5443. MIB.  Jobs in the completed, aborted, or canceled states are not logs,
  5444. since jobs in these states are accessible via SNMP protocol operations
  5445. and SHALL be removed from the Job Monitoring MIB tables after a site-
  5446. settable or implementation-defined period of time.  An accounting
  5447. application MAY copy accounting information incrementally to an
  5448. accounting log as a job processes, or MAY be copied while the job is in
  5449. the canceled, aborted, or completed states, depending on implementation.
  5450. The same is true for auditing logs.
  5451.  
  5452. The jmJobState object specifies the standard job states.  The normal job
  5453. state transitions are shown in the state transition diagram presented in
  5454. Table 1.
  5455.  
  5456.  
  5457.  
  5458.  
  5459.  
  5460.  
  5461. Bergman, Hastings, Isaacson, Lewis                 [Page 91]
  5462.  
  5463.  
  5464.  
  5465.  
  5466.  
  5467.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5468.  
  5469.  
  5470.  
  5471. 6. APPENDIX B - Support of the Job Submission ID in Job Submission
  5472. Protocols
  5473.  
  5474. This appendix lists the job submission protocols that support the
  5475. concept of a job submission ID and indicates the attribute used in that
  5476. job submission protocol.
  5477.  
  5478. 6.1 Hewlett-Packard's Printer Job Language (PJL)
  5479.  
  5480. Hewlett-Packard's Printer Job Language provides job-level printer
  5481. control and printer status information to applications. The PJL JOB
  5482. command is used at the beginning of a print job and can include options
  5483. applying only to that job. A PJL JOB command option has been defined to
  5484. facilitate passing the JobSubmissionID with the print job, as required
  5485. by the Job Monitoring MIB. The option is of the form:
  5486.  
  5487.      SUBMISSIONID = "id string"
  5488.  
  5489.  
  5490. Where the "id string" is a string and SHALL be enclosed in double
  5491. quotes.  The format is as described for the jmJobSubmissionID object.
  5492.  
  5493. The entire PJL JOB command with the optional parameter would be of the
  5494. form:
  5495.  
  5496.      @PJL JOB SUBMISSIONID = "id string"
  5497.  
  5498.  
  5499. See "Printer Job Language Technical Reference Manual", part number 5021-
  5500. 0328, from Hewlett-Packard for complete information on the PJL JOB
  5501. command and the Printer Job Language.
  5502.  
  5503. NOTE - Some PJL implementations wrap a banner page as a PJL job around a
  5504. job submitted by a client.  In this case, there will be two job
  5505. submission ids.  The outer one being the one with the banner page and
  5506. the inner one being the original user's job.  The agent SHALL use the
  5507. last received job submission ID for the jmJobSubmissionID index, so that
  5508. the original user's job submission ID will be used, not the banner page
  5509. job ID.
  5510.  
  5511. 6.2 ISO DPA
  5512.  
  5513. The ISO 10175 Document Printing Application (DPA) protocol specifies the
  5514. "job-client-id" attribute that allows the client to supply a text string
  5515. ID for each job.
  5516.  
  5517.  
  5518.  
  5519.  
  5520.  
  5521. Bergman, Hastings, Isaacson, Lewis                 [Page 92]
  5522.  
  5523.  
  5524.  
  5525.  
  5526.  
  5527.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5528.  
  5529.  
  5530. 7. References
  5531.  
  5532. [char-set policy] Harald Avelstrand, "IETF Policy on Character Sets and
  5533. Language",  June 1997.  Latest draft:  <draft-avelstrand-charset-policy-
  5534. 00.txt>
  5535.  
  5536. [GB2312] GB 2312-1980, "Chinese People's Republic of China (PRC) mixed
  5537. one byte and two byte coded character set"
  5538.  
  5539. [hr-mib] P. Grillo, S. Waldbusser, "Host Resources MIB", RFC 1514,
  5540. September 1993
  5541.  
  5542. [iana] J. Reynolds, and J. Postel, "Assigned Numbers", STD 2, RFC 1700,
  5543. ISI, October 1994.
  5544.  
  5545. [IANA-charsets] Coded Character Sets registered by IANA and assigned an
  5546. enum value for use in the CodedCharSet textual convention imported from
  5547. the Printer MIB.  See ftp://ftp.isi.edu/in-
  5548. notes/iana/assignments/character-sets
  5549.  
  5550. [iana-media-types] IANA Registration of MIME media types (MIME content
  5551. types/subtypes).  See ftp://ftp.isi.edu/in-notes/iana/assignments/
  5552.  
  5553. [ISO 646] ISO/IEC 646:1991, "Information technology -- ISO 7-bit coded
  5554. character set for information interchange", JTC1/SC2.
  5555.  
  5556. [ISO 8859] ISO/IEC 8859-1:1987, "Information technology -- 8-bit single
  5557. byte coded graphic  character sets - Part 1: Latin alphabet No. 1,
  5558. JTC1/SC2."
  5559.  
  5560. [ISO 2022] ISO/IEC 2022:1994 - "Information technology -- Character code
  5561. structure and extension techniques", JTC1/SC2.
  5562.  
  5563. [ISO-10646] ISO/IEC 10646-1:1993, "Information technology -- Universal
  5564. Multiple-Octet Coded Character Set (UCS) - Part 1: Architecture and
  5565. Basic Multilingual Plane, JTC1/SC2.
  5566.  
  5567. [iso-dpa] ISO/IEC 10175 Document Printing Application (DPA).  See
  5568. ftp://ftp.pwg.org/pub/pwg/dpa/
  5569.  
  5570. [ipp-model] Internet Printing Protocol (IPP), work in progress on the
  5571. IETF standards track.  See draft-ietf-ipp-model-01.txt.  See also
  5572. http://www.pwg.org/ipp/index.html
  5573.  
  5574. [JIS X0208] JIS X0208-1990, "Japanese two byte coded character set."
  5575.  
  5576. [mib-II] MIB-II, RFC 1213.
  5577.  
  5578.  
  5579.  
  5580.  
  5581. Bergman, Hastings, Isaacson, Lewis                 [Page 93]
  5582.  
  5583.  
  5584.  
  5585.  
  5586.  
  5587.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5588.  
  5589.  
  5590. [print-mib] The Printer MIB - RFC 1759, proposed IETF standard.  Also an
  5591. Internet-Draft on the standards track as a draft standard: draft-ietf-
  5592. printmib-mib-info-02.txt
  5593.  
  5594. [req-words] S. Bradner, "Keywords for use in RFCs to Indicate
  5595. Requirement Levels", RFC 2119, March 1997.
  5596.  
  5597. [rfc 2130] C. Weider, C. Preston, K. Simonsen, H. Alvestrand, R.
  5598. Atkinson, M. Crispin, and P. Svanberg, "The Report of the IAB Character
  5599. Set Workshop held 29 Feb-1 March, 1997", April 1997, RFC 2130.
  5600.  
  5601. [SMIv2-TC] J. Case, et al. ``extual Conventions for Version 2 of the
  5602. Simple Network Management Protocol (SNMPv2)', RFC 1903, January 1996.
  5603.  
  5604. [tipsi] IEEE 1284.1, Transport-independent Printer System Interface
  5605. (TIPSI).
  5606.  
  5607. [URI-spec] Berners-Lee, T., Masinter, L., McCahill, M. , "Uniform
  5608. Resource Locators (URL)", RFC 1738, December, 1994.
  5609.  
  5610. [US-ASCII] Coded Character Set - 7-bit American Standard Code for
  5611. Information Interchange, ANSI X3.4-1986.
  5612.  
  5613. [UTF-8] F. Yergeau, "UTF-8, a transformation format of Unicode and ISO
  5614. 10646", RFC 2044, October 1996.
  5615.  
  5616. 8. Author's Addresses
  5617.     Ron Bergman
  5618.     Dataproducts Corp.
  5619.     1757 Tapo Canyon Road
  5620.     Simi Valley, CA 93063-3394
  5621.  
  5622.     Phone: 805-578-4421
  5623.     Fax:  805-578-4001
  5624.     Email: rbergman@dpc.com
  5625.  
  5626.  
  5627.     Tom Hastings
  5628.     Xerox Corporation, ESAE-231
  5629.     701 S. Aviation Blvd.
  5630.     El Segundo, CA   90245
  5631.  
  5632.     Phone: 310-333-6413
  5633.     Fax:   310-333-5514
  5634.     EMail: hastings@cp10.es.xerox.com
  5635.  
  5636.  
  5637.     Scott A. Isaacson
  5638.  
  5639.  
  5640.  
  5641. Bergman, Hastings, Isaacson, Lewis                 [Page 94]
  5642.  
  5643.  
  5644.  
  5645.  
  5646.  
  5647.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5648.  
  5649.  
  5650.     Novell, Inc.
  5651.     122 E 1700 S
  5652.     Provo, UT   84606
  5653.  
  5654.     Phone: 801-861-7366
  5655.     Fax:   801-861-4025
  5656.     EMail: scott_isaacson@novell.com
  5657.  
  5658.  
  5659.     Harry Lewis
  5660.     IBM Corporation
  5661.     6300 Diagonal Hwy
  5662.     Boulder, CO 80301
  5663.  
  5664.     Phone: (303) 924-5337
  5665.     Fax:
  5666.     Email: harryl@us.ibm.com
  5667.  
  5668.  
  5669.     Send comments to the printmib WG using the Job Monitoring Project
  5670.     (JMP) Mailing List:  jmp@pwg.org
  5671.  
  5672.     To learn how to subscribe, send email to:  jmp-request@pwg.org
  5673.  
  5674.     For further information, access the PWG web page under "JMP":
  5675.     http://www.pwg.org/
  5676.  
  5677.  
  5678.  
  5679. Other Participants:
  5680.     Chuck Adams - Tektronix
  5681.     Jeff Barnett - IBM
  5682.     Keith Carter, IBM Corporation
  5683.     Jeff Copeland - QMS
  5684.     Andy Davidson - Tektronix
  5685.     Roger deBry - IBM
  5686.     Mabry Dozier - QMS
  5687.     Lee Ferrel - Canon
  5688.     Steve Gebert - IBM
  5689.     Robert Herriot - Sun Microsystems Inc.
  5690.     Shige Kanemitsu - Kyocera
  5691.     David Kellerman - Northlake Software
  5692.     Rick Landau - Digital
  5693.     Harry Lewis - IBM
  5694.     Pete Loya - HP
  5695.     Ray Lutz - Cognisys
  5696.     Jay Martin - Underscore
  5697.     Mike MacKay, Novell, Inc.
  5698.  
  5699.  
  5700.  
  5701. Bergman, Hastings, Isaacson, Lewis                 [Page 95]
  5702.  
  5703.  
  5704.  
  5705.  
  5706.  
  5707.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5708.  
  5709.  
  5710.     Stan McConnell - Xerox
  5711.     Carl-Uno Manros, Xerox, Corp.
  5712.     Pat Nogay - IBM
  5713.     Bob Pentecost - HP
  5714.     Rob Rhoads - Intel
  5715.     David Roach - Unisys
  5716.     Hiroyuki Sato - Canon
  5717.     Bob Setterbo - Adobe
  5718.     Gail Songer, EFI
  5719.     Mike Timperman - Lexmark
  5720.     Randy Turner - Sharp
  5721.     William Wagner - Digital Products
  5722.     Jim Walker - Dazel
  5723.     Chris Wellens - Interworking Labs
  5724.     Rob Whittle - Novell
  5725.     Don Wright - Lexmark
  5726.     Lloyd Young - Lexmark
  5727.     Atsushi Yuki - Kyocera
  5728.     Peter Zehler, Xerox, Corp.
  5729.  
  5730.  
  5731.  
  5732.  
  5733.  
  5734.  
  5735.  
  5736.  
  5737.  
  5738.  
  5739.  
  5740.  
  5741.  
  5742.  
  5743.  
  5744.  
  5745.  
  5746.  
  5747.  
  5748.  
  5749.  
  5750.  
  5751.  
  5752.  
  5753.  
  5754.  
  5755.  
  5756.  
  5757.  
  5758.  
  5759.  
  5760.  
  5761. Bergman, Hastings, Isaacson, Lewis                 [Page 96]
  5762.  
  5763.  
  5764.  
  5765.  
  5766.  
  5767.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5768.  
  5769.  
  5770. 9. INDEX
  5771.  
  5772. This index includes the textual conventions, the objects, and the
  5773. attributes.  Textual conventions all start with the prefix:  "JM" and
  5774. end with the suffix:  "TC".  Objects all starts with the prefix:  "jm"
  5775. followed by the group name.  Attributes are identified with enums, and
  5776. so start with any lower case letter and have no special prefix.
  5777.  
  5778.  
  5779.                                  ------
  5780.  
  5781. colorantConsumed, 53
  5782. colorantRequested, 53
  5783.  
  5784.                                  --D---
  5785.  
  5786. deviceNameRequested, 44
  5787. documentCopiesCompleted, 49
  5788. documentCopiesRequested, 49
  5789. documentFormat, 46
  5790. documentFormatIndex, 46
  5791. documentName, 45
  5792.  
  5793.                                  ------
  5794.  
  5795. fileName, 45
  5796. finishing, 48
  5797. fullColorImpressionsCompleted, 51
  5798.  
  5799.                                  --H---
  5800.  
  5801. highlightColorImpressionsCompleted, 51
  5802.  
  5803.                                  ------
  5804.  
  5805. impressionsCompletedCurrentCopy, 50
  5806. impressionsInterpreted, 50
  5807. impressionsSentToDevice, 50
  5808. impressionsSpooled, 50
  5809.  
  5810.                                  --J---
  5811.  
  5812. jmAttributeInstanceIndex, 79
  5813. jmAttributeTypeIndex, 79
  5814. JmAttributeTypeTC, 40
  5815. jmAttributeValueAsInteger, 80
  5816. jmAttributeValueAsOctets, 81
  5817. JmBooleanTC, 34
  5818.  
  5819.  
  5820.  
  5821. Bergman, Hastings, Isaacson, Lewis                 [Page 97]
  5822.  
  5823.  
  5824.  
  5825.  
  5826.  
  5827.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5828.  
  5829.  
  5830. JmFinishingTC, 31
  5831. jmGeneralAttributePersistence, 69
  5832. jmGeneralJobPersistence, 69
  5833. jmGeneralJobSetIndex, 67
  5834. jmGeneralJobSetName, 70
  5835. jmGeneralNewestActiveJobIndex, 68
  5836. jmGeneralNumberOfActiveJobs, 68
  5837. jmGeneralOldestActiveJobIndex, 68
  5838. jmJobIDJobIndex, 72
  5839. jmJobIDJobSetIndex, 72
  5840. jmJobImpressionsCompleted, 76
  5841. jmJobImpressionsRequested, 76
  5842. jmJobIndex, 73
  5843. jmJobKOctetsProcessed, 75
  5844. jmJobKOctetsRequested, 75
  5845. jmJobOwner, 77
  5846. JmJobServiceTypesTC, 56
  5847. JmJobSourcePlatformTypeTC, 30
  5848. jmJobState, 74
  5849. jmJobStateReasons1, 74
  5850. JmJobStateReasons1TC, 58
  5851. JmJobStateReasons2TC, 62
  5852. JmJobStateReasons3TC, 65
  5853. JmJobStateReasons4TC, 66
  5854. JmJobStateTC, 38
  5855. JmJobStringTC, 29
  5856. jmJobSubmissionID, 71
  5857. JmJobSubmissionTypeTC, 36
  5858. JmMediumTypeTC, 34
  5859. jmNumberOfInterveningJobs, 75
  5860. JmPrinterResolutionTC, 33
  5861. JmPrintQualityTC, 32
  5862. JmTimeStampTC, 30
  5863. JmTonerEconomyTC, 33
  5864. JmUTF8StringTC, 29
  5865. jobAccountName, 42
  5866. jobCodedCharSet, 42
  5867. jobComment, 46
  5868. jobCompletedTime, 54
  5869. jobCopiesCompleted, 49
  5870. jobCopiesRequested, 49
  5871. jobHold, 47
  5872. jobHoldUntil, 47
  5873. jobKOctetsTransferred, 50
  5874. jobName, 43
  5875. jobOriginatingHost, 44
  5876. jobPriority, 47
  5877. jobProcessAfterDateAndTime, 47
  5878.  
  5879.  
  5880.  
  5881. Bergman, Hastings, Isaacson, Lewis                 [Page 98]
  5882.  
  5883.  
  5884.  
  5885.  
  5886.  
  5887.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5888.  
  5889.  
  5890. jobProcessingCPUTime, 55
  5891. jobServiceTypes, 43
  5892. jobSourceChannelIndex, 44
  5893. jobSourcePlatformType, 44
  5894. jobStartedBeingHeldTime, 54
  5895. jobStartedProcessingTime, 54
  5896. jobStateReasons2, 41
  5897. jobStateReasons3, 41
  5898. jobStateReasons4, 41
  5899. jobSubmissionTime, 54
  5900. jobSubmissionToServerTime, 54
  5901.  
  5902.                                  --M---
  5903.  
  5904. mediumConsumed, 53
  5905. mediumRequested, 53
  5906.  
  5907.                                  --N---
  5908.  
  5909. numberOfDocuments, 45
  5910.  
  5911.                                  --O---
  5912.  
  5913. other, 41
  5914. outputBin, 47
  5915.  
  5916.                                  ------
  5917.  
  5918. pagesCompleted, 51
  5919. pagesCompletedCurrentCopy, 52
  5920. pagesRequested, 51
  5921. physicalDevice, 45
  5922. printerResolutionRequested, 48
  5923. printerResolutionUsed, 48
  5924. printQualityRequested, 48
  5925. printQualityUsed, 48
  5926. processingMessage, 41
  5927.  
  5928.                                  ------
  5929.  
  5930. queueNameRequested, 45
  5931.  
  5932.                                  ------
  5933.  
  5934. serverAssignedJobName, 43
  5935. sheetsCompleted, 52
  5936. sheetsCompletedCurrentCopy, 52
  5937. sheetsRequested, 52
  5938.  
  5939.  
  5940.  
  5941. Bergman, Hastings, Isaacson, Lewis                 [Page 99]
  5942.  
  5943.  
  5944.  
  5945.  
  5946.  
  5947.                  Job Monitoring MIB, V0.85       Aug 8, 1997
  5948.  
  5949.  
  5950. sides, 48
  5951. submittingApplicationName, 44
  5952. submittingServerName, 44
  5953.  
  5954.                                  ------
  5955.  
  5956. tonerDensityRequested, 49
  5957. tonerDensityUsed, 49
  5958. tonerEcomonyRequested, 48
  5959. tonerEcomonyUsed, 48
  5960.  
  5961.  
  5962.  
  5963.  
  5964.  
  5965.  
  5966.  
  5967.  
  5968.  
  5969.  
  5970.  
  5971.  
  5972.  
  5973.  
  5974.  
  5975.  
  5976.  
  5977.  
  5978.  
  5979.  
  5980.  
  5981.  
  5982.  
  5983.  
  5984.  
  5985.  
  5986.  
  5987.  
  5988.  
  5989.  
  5990.  
  5991.  
  5992.  
  5993.  
  5994.  
  5995.  
  5996.  
  5997.  
  5998.  
  5999.  
  6000.  
  6001. Bergman, Hastings, Isaacson, Lewis                [Page 100]
  6002.