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

📄 printer-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
Printer-MIB DEFINITIONS ::= BEGINIMPORTS    MODULE-IDENTITY, OBJECT-TYPE, Counter32, Integer32, TimeTicks,        NOTIFICATION-TYPE, OBJECT-IDENTITY,        mib-2 FROM SNMPv2-SMI                             -- [RFC2578]    TEXTUAL-CONVENTION FROM SNMPv2-TC                     -- [RFC2579]    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP        FROM SNMPv2-CONF                                  -- [RFC2580]    hrDeviceIndex, hrStorageIndex FROM HOST-RESOURCES-MIB -- [RFC2790]    InterfaceIndexOrZero FROM IF-MIB                      -- [RFC2863]    PrtCoverStatusTC, PrtGeneralResetTC, PrtChannelTypeTC,        PrtInterpreterLangFamilyTC, PrtInputTypeTC, PrtOutputTypeTC,        PrtMarkerMarkTechTC, PrtMarkerSuppliesTypeTC, PrtConsoleColorTC,        PrtConsoleDisableTC, PrtMediaPathTypeTC, PrtAlertGroupTC,        PrtAlertTrainingLevelTC, PrtAlertCodeTC        FROM IANA-PRINTER-MIB    IANACharset FROM IANA-CHARSET-MIB;printmib MODULE-IDENTITY    LAST-UPDATED "200406020000Z"    ORGANIZATION "PWG IEEE/ISTO Printer Working Group"    CONTACT-INFO        "Harry Lewis        IBM        Phone (303) 924-5337        Email: harryl@us.ibm.com        http://www.pwg.org/index.html        Send comments to the printmib WG using the Printer MIB        Project (PMP) Mailing List:  pmp@pwg.org        For further information, access the PWG web page under 'Printer        MIB':      http://www.pwg.org/        Implementers of this specification are encouraged to join the        pmp mailing list in order to participate in discussions on any        clarifications needed and registration proposals being reviewed        in order to achieve consensus."    DESCRIPTION        "The MIB module for management of printers.         Copyright (C) The Internet Society (2004). This         version of this MIB module was published         in RFC 3805. For full legal notices see the RFC itself."    REVISION     "200406020000Z"    DESCRIPTION        "Printer MIB v2.        Moved all enum groups to be maintained by IANA into new TCs           within the ianaPrinterMIB, which is contained in this           document.        New TCs created from enums defined within RFC 1759 Objects:           PrtPrintOrientationTC, PrtLocalizedDescriptionStringTC,           PrtConsoleDescriptionStringTC, PrtChannelStateTC,           PrtOutputStackingOrderTC, PrtOutputPageDeliveryOrientationTC,           PrtMarkerCounterUnitTC, PrtMarkerSuppliesSupplyUnitTC,           PrtMarkerSuppliesClassTC, PrtMarkerAddressabilityUnitTC,           PrtMarkerColorantRoleTC, PrtMediaPathMaxSpeedPrintUnitTC,           PrtInterpreterTwoWayTC, and PrtAlertSeverityLevelTC.        The following four TCs have been deprecated:           MediaUnit (replaced by PrtMediaUnitTC),           CapacityUnit (replaced by PrtCapacityUnitTC),           SubUnitStatus (replaced by PrtSubUnitStatusTC),           CodedCharSet (replaced by IANACharset in IANA Charset MIB)        Five new OBJECT-GROUPs: prtAuxilliarySheetGroup,           prtInputSwitchingGroup, prtGeneralV2Group,           prtAlertTableV2Group, prtChannelV2Group.        Nine new objects added to those groups:           prtAuxiliarySheetStartupPage, prtAuxiliarySheetBannerPage,           prtGeneralPrinterName, prtGeneralSerialNumber,           prtAlertCriticalEvents, prtAlertAllEvents,           prtInputMediaLoadTimeout, prtInputNextIndex,           prtChannelInformation.        SYNTAX range changed from (0..65535) to (1..65535) for the           index objects prtStorageRefSeqNumber, prtDeviceRefSeqNumber,           and prtConsoleLightIndex.        SYNTAX range changed from (0..65535) to (0..2147483647) for the           objects prtStorageRefIndex and prtDeviceRefIndex to agree           with the Host Resources MIB.        Defined a range for the objects with a SYNTAX of Integer32:           prtOutputDefaultIndex, prtInputMediaDimFeedDirDeclared,           prtInputMediaDimXFeedDirDeclared, prtInputMaxCapacity,           prtInputCurrentLevel, prtInputMediaDimFeedDirChosen,           prtInputMediaDimXFeedDirChosen, prtInputMediaWeight,           prtInputMediaFormParts, prtOutputIndex,           prtOutputMaxCapacity, prtOutputRemainingCapacity,           prtOutputMaxDimFeedDir, prtOutputMaxDimXFeedDir,           prtOutputMinDimFeedDir, prtOutputMinDimXFeedDir,           prtMarkerAddressibilityFeedDir,           prtMarkerAddressibilityXFeedDir, prtMarkerNorthMargin,           prtMarkerSouthMargin, prtMarkerWestMargin,           prtMarkerEastMargin, prtMarkerSuppliesMaxCapacity,           prtMarkerSuppliesLevel, prtMarkerColorantTonality,           prtMediaPathMaxSpeed, prtMediaPathMaxMediaFeedDir,           prtMediaPathMaxMediaXFeedDir, prtMediaPathMinMediaFeedDir,           prtMediaPathMinMediaXFeedDir, prtChannelIndex,           prtChannelCurrentJobCntlLangIndex, prtInterpreterIndex,           prtChannelDefaultPageDescLangIndex, prtConsoleOnTime,           prtInterpreterFeedAddressibility, prtConsoleOffTime,           prtInterpreterXFeedAddressibility, prtAlertIndex,           prtAlertGroupIndex, prtAlertLocation.        Changed SYNTAX from Integer32 to InterfaceIndexOrZero for           prtChannelIfIndex.        Changed MAX-ACCESS of prtAlertIndex from not-accessible to           Read-only and added a compliance statement to allow a           MIN-ACCESS of accessible-for-notify.        One new NOTIFICATION-GROUP: prtAlertTrapGroup which contains           printerV2Alert.        In MODULE-COMPLIANCE prtMIBCompliance, new OBJECT-GROUPs and           the NOTIFICATION_GROUP, all in GROUP (not MANDATORY-GROUP)           clauses.  The nine new objects are optional, i.e., this           document is backward compatible with RFC 1759."    REVISION     "199411250000Z"    DESCRIPTION        "The original version of this MIB, published as RFC1759."    ::= { mib-2 43 }-- TEXTUAL-CONVENTIONs for this MIB module---- Generic unspecific TEXTUAL-CONVENTIONs--PrtMediaUnitTC ::= TEXTUAL-CONVENTION    -- Replaces MediaUnit in RFC 1759.    STATUS    current    DESCRIPTION        "Units of measure for media dimensions."    SYNTAX    INTEGER {                  tenThousandthsOfInches(3),  -- .0001                  micrometers(4)                  }MediaUnit ::= TEXTUAL-CONVENTION    -- Replaced by PrtMediaUnitTC.    STATUS    deprecated    DESCRIPTION        "Units of measure for media dimensions."    SYNTAX    INTEGER {                  tenThousandthsOfInches(3),  -- .0001                  micrometers(4)                  }PrtCapacityUnitTC ::= TEXTUAL-CONVENTION    -- Replaces CapacityUnit in RFC 1759.    STATUS    current    DESCRIPTION        "Units of measure for media capacity."    SYNTAX    INTEGER {                  other(1),                   -- New, not in RFC 1759                  unknown(2),                 -- New, not in RFC 1759                  tenThousandthsOfInches(3),  -- .0001                  micrometers(4),                  sheets(8),                  feet(16),                  meters(17),                -- Values for Finisher MIB                  items(18),                  -- New, not in RFC 1759                  percent(19)                 -- New, not in RFC 1759                  }CapacityUnit ::= TEXTUAL-CONVENTION    -- Replaced by PrtCapacityUnitTC.    STATUS    deprecated    DESCRIPTION        "Units of measure for media capacity."    SYNTAX    INTEGER {                  tenThousandthsOfInches(3),  -- .0001                  micrometers(4),                  sheets(8),                  feet(16),                  meters(17)                  }PrtPrintOrientationTC ::= TEXTUAL-CONVENTION    -- This TC was extracted from prtInterpreterDefaultOrientation in    -- RFC 1759.    STATUS    current    DESCRIPTION        "A generic representation for printing orientation on a        'page'."    SYNTAX    INTEGER {                  other(1),                  portrait(3),                  landscape(4)                  }PrtSubUnitStatusTC ::= TEXTUAL-CONVENTION    -- Replaces SubUnitStatus in RFC 1759.    STATUS    current    DESCRIPTION        "Status of a printer sub-unit.        The SubUnitStatus is an integer that is the sum of 5 distinct        values, Availability, Non-Critical, Critical, On-line, and        Transitioning. These values are:        Availability                           Value            Available and Idle                  0       0000'b            Available and Standby               2       0010'b            Available and Active                4       0100'b            Available and Busy                  6       0110'b            Unavailable and OnRequest           1       0001'b            Unavailable because Broken          3       0011'b            Unknown                             5       0101'b        Non-Critical            No Non-Critical Alerts              0       0000'b            Non-Critical Alerts                 8       1000'b        Critical            No Critical Alerts                  0       0000'b            Critical Alerts                    16     1 0000'b        On-Line            State is On-Line                    0       0000'b            State is Off-Line                  32    10 0000'b        Transitioning            At intended state                   0       0000'b            Transitioning to intended state    64   100 0000'b"    SYNTAX    INTEGER (0..126)SubUnitStatus ::= TEXTUAL-CONVENTION   -- Replaced by PrtSubUnitStatusTC.    STATUS    deprecated    DESCRIPTION        "Status of a printer sub-unit.        The SubUnitStatus is an integer that is the sum of 5 distinct        values, Availability, Non-Critical, Critical, On-line, and        Transitioning. These values are:        Availability                           Value            Available and Idle                  0       0000'b            Available and Standby               2       0010'b            Available and Active                4       0100'b            Available and Busy                  6       0110'b            Unavailable and OnRequest           1       0001'b            Unavailable because Broken          3       0011'b            Unknown                             5       0101'b        Non-Critical            No Non-Critical Alerts              0       0000'b            Non-Critical Alerts                 8       1000'b        Critical            No Critical Alerts                  0       0000'b            Critical Alerts                    16     1 0000'b        On-Line            State is On-Line                    0       0000'b            State is Off-Line                  32    10 0000'b        Transitioning            At intended state                   0       0000'b            Transitioning to intended state    64   100 0000'b"    SYNTAX    INTEGER (0..126)PresentOnOff ::= TEXTUAL-CONVENTION    STATUS    current    DESCRIPTION        "Presence and configuration of a device or feature."    SYNTAX    INTEGER {                  other(1),                  on(3),                  off(4),                  notPresent(5)                  }PrtLocalizedDescriptionStringTC ::= TEXTUAL-CONVENTION    -- This TC did not appear in RFC 1759.    STATUS    current    DESCRIPTION        "An object MUST use this TEXTUAL-CONVENTION when its        'charset' is controlled by the value of        prtGeneralCurrentLocalization."    SYNTAX    OCTET STRING (SIZE(0..255))PrtConsoleDescriptionStringTC ::= TEXTUAL-CONVENTION    -- This TC did not appear in RFC 1759.    STATUS    current    DESCRIPTION        "An object MUST use this TEXTUAL-CONVENTION when its        'charset' is controlled by the value of        prtConsoleLocalization."    SYNTAX    OCTET STRING (SIZE(0..255))CodedCharSet ::= TEXTUAL-CONVENTION   -- Replaced by IANACharset TEXTUAL-CONVENTION in IANA Charset MIB.    STATUS     deprecated    DESCRIPTION       "The original description clause from RFC 1759 [RFC1759] was       technically inaccurate and therefore has been deleted."   SYNTAX     INTEGER {     other(1)               -- used if the designated coded                            -- character set is not currently in                            -- the enumeration}---- Channel Group TEXTUAL-CONVENTIONs--PrtChannelStateTC ::= TEXTUAL-CONVENTION    -- This TC was extracted from prtChannelState in RFC 1759.    STATUS    current    DESCRIPTION        "The state of this print job delivery channel. The value        determines whether print data is allowed through this channel."    SYNTAX    INTEGER {                  other(1),                  printDataAccepted(3),                  noDataAccepted(4)                  }---- Input/Output Group TEXTUAL-CONVENTIONs--PrtOutputStackingOrderTC ::= TEXTUAL-CONVENTION    -- This TC was extracted from prtOutputStackingOrder in RFC 1759.    STATUS    current    DESCRIPTION        "The current state of the stacking order for the associated        output sub-unit. 'firstToLast' means that as pages are output,        the front of the next page is placed against the back of the        previous page. 'lastToFirst' means that as pages are output,        the back of the next page is placed against the front of the        previous page."

⌨️ 快捷键说明

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