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

📄 printer-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
    SYNTAX    INTEGER {                  unknown(2),                  firstToLast(3),                  lastToFirst(4)                  }PrtOutputPageDeliveryOrientationTC ::= TEXTUAL-CONVENTION    -- This TC was extracted from prtOutputPageDeliveryOrientation    -- in RFC 1759.    STATUS    current    DESCRIPTION        "The reading surface that will be 'up' when pages are delivered        to the associated output sub-unit. Values are Face-Up and Face        Down (Note: interpretation of these values is, in general,        context-dependent based on locale; presentation of these values        to an end-user should be normalized to the expectations of the        user."    SYNTAX    INTEGER {                  faceUp(3),                  faceDown(4)                  }---- Marker Group TEXTUAL-CONVENTIONs--PrtMarkerCounterUnitTC ::= TEXTUAL-CONVENTION    -- This TC was extracted from prtMarkerCounterUnit in RFC 1759.    STATUS    current    DESCRIPTION        "The unit that will be used by the printer when reporting        counter values for this marking sub-unit.  The        time units of measure are provided for a device like a        strip recorder that does not or cannot track the physical        dimensions of the media and does not use characters,        lines or sheets."    SYNTAX    INTEGER {                  tenThousandthsOfInches(3),  -- .0001                  micrometers(4),                  characters(5),                  lines(6),                  impressions(7),                  sheets(8),                  dotRow(9),                  hours(11),                  feet(16),                  meters(17)                  }PrtMarkerSuppliesSupplyUnitTC ::= TEXTUAL-CONVENTION    -- This TC was extracted from prtMarkerSuppliesSupplyUnit    -- in RFC 1759.    STATUS    current    DESCRIPTION        "Unit of this marker supply container/receptacle."    SYNTAX    INTEGER {                  other(1),                   -- New, not in RFC 1759                  unknown(2),                 -- New, not in RFC 1759                  tenThousandthsOfInches(3),  -- .0001                  micrometers(4),                  impressions(7),             -- New, not in RFC 1759                  sheets(8),                  -- New, not in RFC 1759                  hours(11),                  -- New, not in RFC 1759                  thousandthsOfOunces(12),                  tenthsOfGrams(13),                  hundrethsOfFluidOunces(14),                  tenthsOfMilliliters(15),                  feet(16),                   -- New, not in RFC 1759                  meters(17),                 -- New, not in RFC 1759                -- Values for Finisher MIB                  items(18),  -- e.g., #staples. New, not in RFC 1759                  percent(19)                 -- New, not in RFC 1759                  }PrtMarkerSuppliesClassTC ::= TEXTUAL-CONVENTION    -- This TC was extracted from prtMarkerSuppliesClass in RFC 1759.    STATUS    current    DESCRIPTION        "Indicates whether this supply entity represents a supply        that is consumed or a receptacle that is filled."    SYNTAX    INTEGER {                  other(1),                  supplyThatIsConsumed(3),                  receptacleThatIsFilled(4)                  }PrtMarkerColorantRoleTC ::= TEXTUAL-CONVENTION    -- This TC was extracted from prtMarkerColorantRole in RFC 1759.    STATUS    current    DESCRIPTION        "The role played by this colorant."    SYNTAX    INTEGER { --  Colorant Role                  other(1),                  process(3),                  spot(4)                  }PrtMarkerAddressabilityUnitTC ::= TEXTUAL-CONVENTION    -- This TC was extracted from prtMarkerAddressabilityUnit    -- in RFC 1759.    STATUS    current    DESCRIPTION        "The unit of measure of distances, as applied to the marker's        resolution."    SYNTAX    INTEGER {                  tenThousandthsOfInches(3), -- .0001                  micrometers(4)                  }---- Media Path TEXTUAL-CONVENTIONs--PrtMediaPathMaxSpeedPrintUnitTC ::= TEXTUAL-CONVENTION    -- This TC was extracted from prtMediaPathMaxSpeedPrintUnit    -- in RFC 1759.    STATUS    current    DESCRIPTION        "The unit of measure used in specifying the speed of all        media paths in the printer."    SYNTAX    INTEGER {                  tenThousandthsOfInchesPerHour(3),-- .0001/hour                  micrometersPerHour(4),                  charactersPerHour(5),                  linesPerHour(6),                  impressionsPerHour(7),                  sheetsPerHour(8),                  dotRowPerHour(9),                  feetPerHour(16),                  metersPerHour(17)                 }---- Interpreter Group TEXTUAL-CONVENTIONs--PrtInterpreterTwoWayTC ::= TEXTUAL-CONVENTION    -- This TC was extracted from prtInterpreterTwoWay in RFC 1759.    STATUS    current    DESCRIPTION        "Indicates whether or not this interpreter returns information        back to the host."    SYNTAX    INTEGER {                  yes(3),                  no(4)                  }---- Alert Group TEXTUAL-CONVENTIONs--PrtAlertSeverityLevelTC ::= TEXTUAL-CONVENTION    -- This TC was extracted from prtAlertSeverityLevel in RFC 1759.    STATUS    current    DESCRIPTION        "The level of severity of this alert table entry.  The printer        determines the severity level assigned to each entry in the        table. A critical alert is binary by nature and definition. A        warning is defined to be a non-critical alert. The original and        most common warning is unary. The binary warning was added later        and given a more distinguished name."    SYNTAX    INTEGER {                  other(1),                  critical(3),                  warning(4),                  warningBinaryChangeEvent(5)   -- New, not in RFC 1759                  }-- The General Printer Group---- The general printer sub-unit is responsible for the overall-- control and status of the printer.  There is exactly one-- general printer sub-unit in a printer.prtGeneral OBJECT IDENTIFIER ::= { printmib 5 }prtGeneralTable OBJECT-TYPE    SYNTAX     SEQUENCE OF PrtGeneralEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "A table of general information per printer.        Objects in this table are defined in various        places in the MIB, nearby the groups to        which they apply.  They are all defined        here to minimize the number of tables that would        otherwise need to exist."    ::= { prtGeneral 1 }prtGeneralEntry OBJECT-TYPE    SYNTAX     PrtGeneralEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "An entry exists in this table for each device entry in the        host resources MIB device table with a device type of        'printer'.        NOTE: The above description has been modified from RFC 1759        for clarification."    INDEX    { hrDeviceIndex }    ::= { prtGeneralTable 1 }PrtGeneralEntry ::= SEQUENCE {    -- Note that not all of the objects in this sequence are in    -- the general printer group. The group to which an    -- object belongs is tagged with a label "General", "Input"    -- "Output", etc. after each entry in the following sequence.    --    prtGeneralConfigChanges         Counter32, -- General    prtGeneralCurrentLocalization   Integer32, -- General    prtGeneralReset                 PrtGeneralResetTC,                                               -- General    prtGeneralCurrentOperator       OCTET STRING,                                               -- Responsible Party    prtGeneralServicePerson         OCTET STRING,                                               -- Responsible Party    prtInputDefaultIndex            Integer32, -- Input    prtOutputDefaultIndex           Integer32, -- Output    prtMarkerDefaultIndex           Integer32, -- Marker    prtMediaPathDefaultIndex        Integer32, -- Media Path    prtConsoleLocalization          Integer32, -- Console    prtConsoleNumberOfDisplayLines  Integer32, -- Console    prtConsoleNumberOfDisplayChars  Integer32, -- Console    prtConsoleDisable               PrtConsoleDisableTC,                                               -- Console,    prtAuxiliarySheetStartupPage    PresentOnOff,                                               -- AuxiliarySheet    prtAuxiliarySheetBannerPage     PresentOnOff,                                               -- AuxiliarySheet    prtGeneralPrinterName           OCTET STRING,                                               -- General V2    prtGeneralSerialNumber          OCTET STRING,                                               -- General V2    prtAlertCriticalEvents          Counter32, -- Alert V2    prtAlertAllEvents               Counter32  -- Alert V2    }prtGeneralConfigChanges OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "Counts configuration changes within the printer. A        configuration change is defined to be an action that results in        a change to any MIB object other than those that reflect status        or level, or those that act as counters or gauges. In addition,        any action that results in a row being added or deleted from        any table in the Printer MIB is considered a configuration        change. Such changes will often affect the capability of the        printer to service certain types of print jobs. Management        applications may cache infrequently changed configuration        information about sub units within the printer. This object        should be incremented whenever the agent wishes to notify        management applications that any cached configuration        information for this device is to be considered 'stale'. At        this point, the management application should flush any        configuration information cached about this device and fetch        new configuration information.        The following are examples of actions that would cause the        prtGeneralConfigChanges object to be incremented:        - Adding an output bin        - Changing the media in a sensing input tray        - Changing the value of prtInputMediaType        Note that the prtGeneralConfigChanges counter would not be        incremented when an input tray is temporarily removed to load        additional paper or when the level of an input device changes.        NOTE: The above description has been modified from RFC 1759        for clarification."    ::= { prtGeneralEntry 1 }prtGeneralCurrentLocalization OBJECT-TYPE    SYNTAX     Integer32 (1..65535)    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The value of the prtLocalizationIndex corresponding to the        current language, country, and character set to be used for        localized string values that are identified as being dependent        on the value of this object.  Note that this object does not        apply to localized strings in the prtConsole group or to any        object that is not explicitly identified as being localized        according to prtGeneralCurrentLocalization.  When an object's        'charset' is controlled by the value of        prtGeneralCurrentLocalization, it MUST specify        PrtLocalizedDescriptionStringTC as its syntax.        NOTE: The above description has been modified from RFC 1759        for clarification."   ::= { prtGeneralEntry 2 }prtGeneralReset OBJECT-TYPE    -- NOTE: In RFC 1759, the enumeration values were implicitly defined    -- by this object.    SYNTAX     PrtGeneralResetTC    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "Setting this value to 'powerCycleReset', 'resetToNVRAM', or        'resetToFactoryDefaults' will result in the resetting of the        printer.  When read, this object will always have the value        'notResetting(3)', and a SET of the value 'notResetting' shall        have no effect on the printer.  Some of the defined values are        optional.  However, every implementation must support at least        the values 'notResetting' and 'resetToNVRAM'."    ::= { prtGeneralEntry 3 }-- The Responsible Party groupprtGeneralCurrentOperator OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE(0..127))    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "The name of the person who is responsible for operating        this printer.  It is suggested that this string include        information that would enable other humans to reach the        operator, such as a phone number.  As a convention to        facilitate automatic notification of the operator by the        agent or network management station, the phone number,        fax number or email address should be indicated by the        URL schemes 'tel:', 'fax:' and 'mailto:', respectively.        If either the phone, fax, or email information is not        available, then a line should not be included for this        information.        NOTE: For interoperability purposes, it is advisable to        use email addresses formatted according to [RFC2822]        requirements.

⌨️ 快捷键说明

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