ppmPrinterIEEE1284DeviceId
PRINTER-PORT-MONITOR-MIB ·
.1.3.6.1.4.1.2699.1.2.1.2.1.1.3
Object
column OctetString
The IEEE 1284 device ID for this printer, a set of capabilities
(keys and values) specified in the US-ASCII charset and the
format 'key1: value {, value }; ... keyN: value {,value };',
as follows:
(a) SPACE (0x20), TAB (0x09), VTAB (0x0B), CR (0x0D), NL (0x0A),
and FF (0x0C) are allowed, but are ignored when parsing
(b) other control characters (less than 0x20) MUST NOT be used
(c) COLON (0x3A), COMMA (0x2C), and SEMICOLON (0x3B) are used as
delimiters and MUST NOT be included in any key or value
(d) each key MUST be separated from value(s) using COLON (0x3A)
(e) multiple values MUST BE separated using COMMA (0x2C)
(f) each capability MUST BE terminated using SEMICOLON (0x3B)
(g) all printers MUST include the following capabilities
- MANUFACTURER (or abbreviation MFG)
- MODEL (or abbreviation MDL)
(h) all printers MAY include the following capabilities
- COMMAND SET (or abbreviation CMD)
- COMMENT
- ACTIVE COMMAND SET
For example (actually all on one line of text):
MANUFACTURER:ACME Manufacturing;
COMMAND SET:PCL,PJL,PS,XHTML-Print+xml;
MODEL:LaserBeam 9;
COMMENT:Anything you like;
ACTIVE COMMAND SET:PCL;
The value of this object MUST exactly match the IEEE 1284-2000
Device ID string, except that the length field MUST NOT be
specified. The value MUST be assigned by the Printer vendor
and MUST NOT be localized by the Print Service.
Compatibility Note: At the time of publication of this MIB,
IEEE device IDs are restricted to US-ASCII. In order to support
possible future evolution of IEEE device IDs (in a successor to
IEEE 1284-2000) to allow non-ASCII characters, this object has
been defined with a syntax of OCTET STRING to support the future
use of UTF-8 (RFC 3629).
If this object is empty, then the value of 'ppmPortProtocolType'
for the selected port SHOULD be used to load a generic driver.
Context
- MIB
- PRINTER-PORT-MONITOR-MIB
- OID
.1.3.6.1.4.1.2699.1.2.1.2.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ppmPrinterEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'PRINTER-PORT-MONITOR-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PRINTER-PORT-MONITOR-MIB::ppmPrinterIEEE1284DeviceId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PRINTER-PORT-MONITOR-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PRINTER-PORT-MONITOR-MIB::ppmPrinterIEEE1284DeviceId.<ppmPrinterIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PRINTER-PORT-MONITOR-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PRINTER-PORT-MONITOR-MIB::ppmPrinterIEEE1284DeviceId'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-1023
Conformance
Member of
Compliance refinements
ppmMIBCompliance
OctetString
range: 0..255
At least 255 octets maximum string length MUST be supported
by all implementations of this object. The 'MANUFACTURER' (or
'MFG') and 'MODEL' (or 'MDL') fields MUST be contained within
the first 255 octets of this object (to prevent truncation of
critical information across gateways and mid-level managers).
Implementations that support less than the 1023 octets maximum
string length MUST only truncate complete fields (i.e., keyword,
colon, value(s), and semicolon).
by all implementations of this object. The 'MANUFACTURER' (or
'MFG') and 'MODEL' (or 'MDL') fields MUST be contained within
the first 255 octets of this object (to prevent truncation of
critical information across gateways and mid-level managers).
Implementations that support less than the 1023 octets maximum
string length MUST only truncate complete fields (i.e., keyword,
colon, value(s), and semicolon).