prtmediapathdefaultindex
HP-LASERJET-COMMON-MIB ·
.1.3.6.1.4.1.11.2.3.9.4.2.2.5.1.1.9
Object
scalar mandatory
r/w
Integer32
The value of prtMediaPathIndex corresponding to
the default media path; that is, the selection of the
default media path.
Refer to Standard Printer MIB for more details.
Additional information:
If the duplex unit is not installed, the only valid
value for this object is 1; with duplex unit installed,
1-3 values are valid. 1 is simplex, 2 is
LongEdgeBindingDuplex, and 3 is ShortEdgeBindingDuplex.
If the printer is not idle, the new value of this object
may not take effect until a job boundary is reached.
If a get is done on this object before the job boundary
is reached, the value last set will be returned.
Context
- MIB
- HP-LASERJET-COMMON-MIB
- OID
.1.3.6.1.4.1.11.2.3.9.4.2.2.5.1.1.9- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- prtGeneralEntry
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-LASERJET-COMMON-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-LASERJET-COMMON-MIB::prtmediapathdefaultindex.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-LASERJET-COMMON-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-LASERJET-COMMON-MIB::prtmediapathdefaultindex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2