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

📄 printer-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
    prtLocalizationCharacterSet   IANACharset    }prtLocalizationIndex OBJECT-TYPE    SYNTAX     Integer32 (1..65535)    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "A unique value used by the printer to identify this        localization entry.  Although these values may change due to a        major reconfiguration of the device (e.g., the addition of new        localization data to the printer), values SHOULD remain        stable across successive printer power cycles.        NOTE: The above description has been modified from RFC 1759        for clarification."    ::= { prtLocalizationEntry 1 }prtLocalizationLanguage OBJECT-TYPE    -- Note: The size is fixed, was incorrectly 0..2 in RFC 1759.    SYNTAX     OCTET STRING (SIZE(2))    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "A two character language code from ISO 639.  Examples en,        es, fr, de.  NOTE: These examples were shown as upper case in        RFC 1759 and are now shown as lower case to agree with ISO 639."    ::= { prtLocalizationEntry 2 }prtLocalizationCountry OBJECT-TYPE    -- Note: The size is fixed, was incorrectly 0..2 in RFC 1759.    SYNTAX     OCTET STRING (SIZE(2))    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "A two character country code from ISO 3166, a blank string        (two space characters) shall indicate that the country is not        defined.  Examples: US, GB, FR, DE, ..."    ::= { prtLocalizationEntry 3 }prtLocalizationCharacterSet OBJECT-TYPE    SYNTAX     IANACharset    MAX-ACCESS read-only    STATUS     current    DESCRIPTION      "The coded character set used for this localization."    ::= { prtLocalizationEntry 4 }-- The System Resources Tables---- The Printer MIB makes use of the Host Resources MIB to-- define system resources by referencing the storage-- and device groups of the print group.prtStorageRefTable OBJECT-TYPE    SYNTAX     SEQUENCE OF PrtStorageRefEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "This table defines which printer, amongst multiple printers        serviced by one agent, owns which storage units.        NOTE: The above description has been modified from RFC 1759        for clarification."    ::= { prtGeneral 2 }prtStorageRefEntry OBJECT-TYPE    SYNTAX     PrtStorageRefEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "This table will have an entry for each entry in the Host        Resources MIB storage table that represents storage associated        with a printer managed by this agent.        NOTE: The above description has been modified from RFC 1759        for clarification."    INDEX      { hrStorageIndex, prtStorageRefSeqNumber }    ::= { prtStorageRefTable 1 }PrtStorageRefEntry ::= SEQUENCE {    prtStorageRefSeqNumber  Integer32,    prtStorageRefIndex      Integer32    }prtStorageRefSeqNumber OBJECT-TYPE    -- NOTE: The range has been changed from RFC 1759, which allowed a    -- minumum value of zero.  This was incorrect, since zero is not a    -- valid index.    SYNTAX     Integer32 (1..65535)    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "This value will be unique amongst all entries with a common        value of hrStorageIndex. This object allows a storage entry to        point to the multiple printer devices with which it is        associated."    ::= { prtStorageRefEntry 1 }prtStorageRefIndex OBJECT-TYPE    -- NOTE: The range has been changed from RFC 1759 to be compatible    -- with the defined range of hrDeviceIndex.    SYNTAX     Integer32 (0..2147483647)    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The value of the hrDeviceIndex of the printer device that this        storageEntry is associated with."    ::= { prtStorageRefEntry 2 }prtDeviceRefTable OBJECT-TYPE    SYNTAX     SEQUENCE OF PrtDeviceRefEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "This table defines which printer, amongst multiple printers        serviced by one agent, is associated with which devices.        NOTE: The above description has been modified from RFC 1759        for clarification."    ::= { prtGeneral 3 }prtDeviceRefEntry OBJECT-TYPE    SYNTAX     PrtDeviceRefEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "This table will have an entry for each entry in the Host        Resources MIB device table that represents a device associated        with a printer managed by this agent.        NOTE: The above description has been modified from RFC 1759        for clarification."    INDEX      { hrDeviceIndex, prtDeviceRefSeqNumber }    ::= { prtDeviceRefTable 1 }PrtDeviceRefEntry ::= SEQUENCE {    prtDeviceRefSeqNumber   Integer32,    prtDeviceRefIndex       Integer32    }prtDeviceRefSeqNumber OBJECT-TYPE    -- NOTE: The range has been changed from RFC 1759, which allowed a    -- minumum value of zero.  This was incorrect, since zero is not a    -- valid index.    SYNTAX     Integer32 (1..65535)    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "This value will be unique amongst all entries with a common        value of hrDeviceIndex. This object allows a device entry to        point to the multiple printer devices with which it is        associated."    ::= { prtDeviceRefEntry 1 }prtDeviceRefIndex OBJECT-TYPE    -- NOTE: The range has been changed from RFC 1759 to be compatible    -- with the defined range of hrDeviceIndex.    SYNTAX     Integer32 (0..2147483647)    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The value of the hrDeviceIndex of the printer device that this        deviceEntry is associated with."    ::= { prtDeviceRefEntry 2 }-- The Input Group---- Input sub-units are managed as a tabular, indexed collection-- of possible devices capable of providing media for input to-- the printing process.  Input sub-units typically have a-- location, a type, an identifier, a set of constraints on-- possible media sizes and potentially other media-- characteristics, and may be capable of indicating current-- status or capacity.prtInput   OBJECT IDENTIFIER ::= { printmib 8 }prtInputTable OBJECT-TYPE    SYNTAX     SEQUENCE OF PrtInputEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "A table of the devices capable of providing media for input to        the printing process."    ::= { prtInput 2 }prtInputEntry OBJECT-TYPE    SYNTAX     PrtInputEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "Attributes of a device capable of providing media for input to        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, prtInputIndex }    ::= { prtInputTable 1 }PrtInputEntry ::= SEQUENCE {    prtInputIndex                     Integer32,    prtInputType                      PrtInputTypeTC,    prtInputDimUnit                   PrtMediaUnitTC,    prtInputMediaDimFeedDirDeclared   Integer32,    prtInputMediaDimXFeedDirDeclared  Integer32,    prtInputMediaDimFeedDirChosen     Integer32,    prtInputMediaDimXFeedDirChosen    Integer32,    prtInputCapacityUnit              PrtCapacityUnitTC,    prtInputMaxCapacity               Integer32,    prtInputCurrentLevel              Integer32,    prtInputStatus                    PrtSubUnitStatusTC,    prtInputMediaName                 OCTET STRING,    prtInputName                      OCTET STRING,    prtInputVendorName                OCTET STRING,    prtInputModel                     OCTET STRING,    prtInputVersion                   OCTET STRING,    prtInputSerialNumber              OCTET STRING,    prtInputDescription               PrtLocalizedDescriptionStringTC,    prtInputSecurity                  PresentOnOff,    prtInputMediaWeight               Integer32,    prtInputMediaType                 OCTET STRING,    prtInputMediaColor                OCTET STRING,    prtInputMediaFormParts            Integer32,    prtInputMediaLoadTimeout          Integer32,    prtInputNextIndex                 Integer32    }prtInputIndex OBJECT-TYPE    SYNTAX     Integer32 (1..65535)    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "A unique value used by the printer to identify this input        sub-unit.  Although these values may change due to a major        reconfiguration of the device (e.g., the addition of new input        sub-units to the printer), values SHOULD remain stable across        successive printer power cycles.        NOTE: The above description has been modified from RFC 1759        for clarification."    ::= { prtInputEntry 1 }prtInputType OBJECT-TYPE    -- NOTE: In RFC 1759, the enumeration values were implicitly    -- defined by this object.    SYNTAX     PrtInputTypeTC    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The type of technology (discriminated primarily according to        feeder mechanism type) employed by the input sub-unit.  Note,        the Input Class provides for a descriptor field to further        qualify the other choice."    ::= { prtInputEntry 2 }prtInputDimUnit OBJECT-TYPE    SYNTAX     PrtMediaUnitTC    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The unit of measurement for use calculating and relaying         dimensional values for this input sub-unit."    ::= { prtInputEntry 3 }prtInputMediaDimFeedDirDeclared OBJECT-TYPE    -- NOTE: In RFC 1759, the range was not defined.    SYNTAX     Integer32 (-2..2147483647)    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "This object provides the value of the declared dimension, in        the feed direction, of the media that is (or, if empty, was or        will be) in this input sub-unit.  The feed direction is the        direction in which the media is fed on this sub-unit.  This        dimension is measured in input sub-unit dimensional units        (controlled by prtInputDimUnit, which uses PrtMediaUnitTC).  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 changed.  The value (-1)        means other and specifically means that this sub-unit places no        restriction on this parameter.  The value (-2) indicates        unknown."    ::= { prtInputEntry 4 }prtInputMediaDimXFeedDirDeclared OBJECT-TYPE    -- NOTE: In RFC 1759, the range was not defined.    SYNTAX     Integer32 (-2..2147483647)    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "This object provides the value of the declared dimension, in        the cross feed direction, of the media that is (or, if empty,        was or will be) in this input sub-unit.  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 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 changed.  The value (-1) means other        and specifically means that this sub-unit places no restriction        on this parameter.  The value (-2) indicates unknown."    ::= { prtInputEntry 5 }prtInputMediaDimFeedDirChosen OBJECT-TYPE    -- NOTE: In RFC 1759, the range was not defined.    SYNTAX     Integer32 (-2..2147483647)    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The printer will act as if media of the chosen dimension (in        the feed direction) is present in this input source.  Note that        this value will be used even if the input tray is empty.  Feed        dimension measurements are taken relative to the feed direction        associated with that sub-unit and are in input sub-unit        dimensional units (controlled by prtInputDimUnit, which uses        PrtMediaUnitTC).  If the printer supports the declared        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 6 }prtInputMediaDimXFeedDirChosen OBJECT-TYPE    -- NOTE: In RFC 1759, the range was not defined.    SYNTAX     Integer32 (-2..2147483647)    MAX-ACCESS read-only

⌨️ 快捷键说明

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