⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 printer-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
    STATUS     current    DESCRIPTION        "The printer will act as if media of the chosen dimension (in        the cross feed direction) is present in this input source.  Note        that this value will be used even if the input tray is empty.        The cross feed direction is ninety degrees relative to the feed        direction associated with this sub-unit.  This dimension is        measured in input sub-unit dimensional units (controlled by        prtInputDimUnit, which uses PrtMediaUnitTC).  If the printer        supports the declare dimension, the granted dimension is the        same as the declared dimension.  If not, the granted dimension        is set to the closest dimension that the printer supports when        the declared dimension is set.  The value (-1) means other and        specifically indicates that this sub-unit places no restriction        on this parameter.  The value (-2) indicates unknown."    ::= { prtInputEntry 7 }prtInputCapacityUnit OBJECT-TYPE    -- NOTE: In RFC 1759, the enumeration values were implicitly    -- defined by this object.    SYNTAX     PrtCapacityUnitTC    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The unit of measurement for use in calculating and relaying        capacity values for this input sub-unit."    ::= { prtInputEntry 8 }prtInputMaxCapacity OBJECT-TYPE    -- NOTE: In RFC 1759, the range was not defined.    SYNTAX     Integer32 (-2..2147483647)    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The maximum capacity of the input sub-unit in input sub-unit        capacity units (PrtCapacityUnitTC).  There is no convention        associated with the media itself so this value reflects claimed        capacity.  If this input sub-unit can reliably sense this value,        the value is sensed by the printer and may not be changed by        management requests; otherwise, the value may be written (by a        Remote Control Panel or a Management Application). The value        (-1) means other and specifically indicates that the sub-unit        places no restrictions on this parameter.  The value (-2) means        unknown."    ::= { prtInputEntry 9 }prtInputCurrentLevel OBJECT-TYPE    -- NOTE: In RFC 1759, the range was not defined.    SYNTAX     Integer32 (-3..2147483647)    -- in capacity units                                             -- (PrtCapacityUnitTC).    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The current capacity of the input sub-unit in input sub-unit        capacity units (PrtCapacityUnitTC).  If this input sub-unit can        reliably sense this value, the value is sensed by the printer        and may not be changed by management requests; otherwise, the        value may be written (by a Remote Control Panel or a Management        Application).  The value (-1) means other and specifically        indicates that the sub-unit places no restrictions on this        parameter.  The value (-2) means unknown.  The value (-3) means        that the printer knows that at least one unit remains."    ::= { prtInputEntry 10 }prtInputStatus OBJECT-TYPE    SYNTAX     PrtSubUnitStatusTC    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The current status of this input sub-unit."    ::= { prtInputEntry 11 }prtInputMediaName OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE(0..63))    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "A description of the media contained in this input sub-unit;        This description is to be used by a client to format and        Localize a string for display to a human operator.  This        description is not processed by the printer.  It is used to        provide information not expressible in terms of the other        media attributes (e.g., prtInputMediaDimFeedDirChosen,        prtInputMediaDimXFeedDirChosen, prtInputMediaWeight,        prtInputMediaType)."    -- The following reference was not included in RFC 1759.    REFERENCE         "The PWG Standardized Media Names specification [PWGMEDIA]         contains the recommended values for this object.  See also         RFC 3805 Appendix C,'Media Names', which lists the values         Of standardized media names defined in ISO/IEC 10175."    ::= { prtInputEntry 12 }--             INPUT MEASUREMENT----     _______ |               |--      ^      |               |--      |      |               |                 |--      |      |_ _ _ _ _ _ _ _| _______________ |direction--      |      |               |      ^          v-- MaxCapacity |    Sheets     |      |--      |      |     left      | CurrentLevel--      |      |      in       |      |--      v      |     tray      |      v--     _______ +_______________+ _______-- The Extended Input GroupprtInputName OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE(0..63))    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The name assigned to this input sub-unit."    ::= { prtInputEntry 13 }prtInputVendorName OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE(0..63))    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The vendor name of this input sub-unit."    ::= { prtInputEntry 14 }prtInputModel OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE(0..63))    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The model name of this input sub-unit."    ::= { prtInputEntry 15 }prtInputVersion OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE(0..63))    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The version of this input sub-unit."    ::= { prtInputEntry 16 }prtInputSerialNumber OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE(0..32))    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The serial number assigned to this input sub-unit."    ::= { prtInputEntry 17 }prtInputDescription OBJECT-TYPE    -- In RFC 1759, the SYNTAX was OCTET STRING.  This has been changed    -- to a TC to better support localization of the object.    SYNTAX     PrtLocalizedDescriptionStringTC    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "A free-form text description of this input sub-unit in the        localization specified by  prtGeneralCurrentLocalization."    ::= { prtInputEntry 18 }prtInputSecurity OBJECT-TYPE    SYNTAX     PresentOnOff    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "Indicates if this input sub-unit has some security associated        with it."    ::= { prtInputEntry 19 }-- The Input Media Group---- The Input Media Group supports identification of media-- installed or available for use on a printing device.-- Medium resources are identified by name, and include a-- collection of characteristic attributes that may further be-- used for selection and management of them.-- The Input Media group consists of a set of optional-- "columns" in the Input Table.  In this manner, a minimally-- conforming implementation may choose to not support reporting-- of media resources if it cannot do so.prtInputMediaWeight  OBJECT-TYPE    -- NOTE: In RFC 1759, the range was not defined.    SYNTAX     Integer32 (-2..2147483647)    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The weight of the medium associated with this input sub-unit        in grams / per meter squared.  The value (-2) means unknown."    ::= { prtInputEntry 20 }prtInputMediaType OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE(0..63))    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The name of the type of medium associated with this input sub        unit.  This name need not be processed by the printer; it might        simply be displayed to an operator.        NOTE: The above description has been modified from RFC 1759."    -- The following reference was not included in RFC 1759.    REFERENCE        "The PWG Standardized Media Names specification [PWGMEDIA],        section 3 Media Type Names, contains the recommended values for        this object.  Implementers may add additional string values.        The naming conventions in ISO 9070 are recommended in order to        avoid potential name clashes."    ::= { prtInputEntry 21 }prtInputMediaColor OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE(0..63))    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The name of the color of the medium associated with        this input sub-unit using standardized string values.        NOTE: The above description has been modified from RFC 1759."    -- The following reference was not included in RFC 1759.    REFERENCE        "The PWG Standardized Media Names specification [PWGMEDIA],        section 4 Media Color Names, contains the recommended values        for this object.  Implementers may add additional string values.        The naming conventions in ISO 9070 are recommended in order to        avoid potential name clashes."    ::= { prtInputEntry 22 }prtInputMediaFormParts OBJECT-TYPE    -- NOTE: In RFC 1759, the range was not defined.    SYNTAX     Integer32 (-2..2147483647)    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The number of parts associated with the medium        associated with this input sub-unit if the medium is a        multi-part form.  The value (-1) means other and        specifically indicates that the device places no        restrictions on this parameter.  The value (-2) means        unknown."    ::= { prtInputEntry 23 }-- The Input Switching Group---- The input switching group allows the administrator to set the-- input subunit time-out for the printer and to control the-- automatic input subunit switching by the printer when an input-- subunit becomes empty.prtInputMediaLoadTimeout OBJECT-TYPE   SYNTAX     Integer32 (-2..2147483647)   MAX-ACCESS read-write   STATUS     current   DESCRIPTION        "When the printer is not able to print due to a subunit being        empty or the requested media must be manually loaded, the        printer will wait for the duration (in seconds) specified by        this object.  Upon expiration of the time-out, the printer will        take the action specified by prtInputNextIndex.        The event which causes the printer to enter the waiting state        is product specific.  If the printer is not waiting for manually        fed media, it may switch from an empty subunit to a different        subunit without waiting for the time-out to expire.        A value of (-1) implies 'other' or 'infinite' which translates        to 'wait forever'.  The action which causes printing to continue        is product specific.  A value of (-2) implies 'unknown'."   ::= { prtInputEntry 24 }prtInputNextIndex OBJECT-TYPE   SYNTAX     Integer32 (-3..2147483647)   MAX-ACCESS read-write   STATUS     current   DESCRIPTION        "The value of prtInputIndex corresponding to the input subunit        which will be used when this input subunit is emptied and the        time-out specified by prtInputMediaLoadTimeout expires.  A value        of zero(0) indicates that auto input switching will not occur        when this input subunit is emptied.  If the time-out specified        by prtInputLoadMediaTimeout expires and this value is zero(0),        the job will be aborted.  A value of (-1) means other.  The        value (-2)means 'unknown' and specifically indicates that an        implementation specific method will determine the next input        subunit to use at the time this subunit is emptied and the time        out expires.  The value(-3) means input switching is not        supported for this subunit."   ::= { prtInputEntry 25 }-- The Output Group---- Output sub-units are managed as a tabular, indexed collection-- of possible devices capable of receiving media delivered from-- the printing process.  Output sub-units typically have a-- location, a type, an identifier, a set of constraints on-- possible media sizes and potentially other characteristics,-- and may be capable of indicating current status or capacity.prtOutput  OBJECT IDENTIFIER ::= { printmib 9 }prtOutputTable OBJECT-TYPE    SYNTAX     SEQUENCE OF PrtOutputEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "A table of the devices capable of receiving media delivered        from the printing process."    ::= { prtOutput 2 }prtOutputEntry OBJECT-TYPE    SYNTAX     PrtOutputEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "Attributes of a device capable of receiving media delivered        from the printing process.  Entries may exist in the table for        each device index with a device type of 'printer'.        NOTE: The above description has been modified from RFC 1759        for clarification."   INDEX  { hrDeviceIndex, prtOutputIndex }    ::= { prtOutputTable 1 }PrtOutputEntry ::= SEQUENCE {    prtOutputIndex                    Integer32,    prtOutputType                     PrtOutputTypeTC,    prtOutputCapacityUnit             PrtCapacityUnitTC,    prtOutputMaxCapacity              Integer32,    prtOutputRemainingCapacity        Integer32,    prtOutputStatus                   PrtSubUnitStatusTC,    prtOutputName                     OCTET STRING,    prtOutputVendorName               OCTET STRING,    prtOutputModel                    OCTET STRING,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -