tray2-media-size-loaded

HP-Color-LaserJet-4500-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.3.3.2.1

Object

scalar optional Enumeration
Returns the media size that is currently configured in
tray #2.  Complete list of supported media sizes along
with their dimensions are listed in the ''Media Size
Table'' near the end of this document.
Additional information:
The Media Size Table does not exist in this document.  
If the tray drawer is open, a get on this object
will cause a status of
<genErr> to be
returned.  If the tray is empty, the size that the
tray is configured for will be returned.  Attempting to access this object when the tray is 
not installed will result in an <noSuchName> response from the printer.

Context

MIB
HP-Color-LaserJet-4500-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.3.3.2.1
Type
scalar
Access
readonly
Status
optional
Parent
intray2

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-Color-LaserJet-4500-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-Color-LaserJet-4500-MIB::tray2-media-size-loaded.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-Color-LaserJet-4500-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-Color-LaserJet-4500-MIB::tray2-media-size-loaded'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1eUSExecutive
2eUSLetter
3eUSLegal
25eISOandJISA5
26eISOandJISA4
45eJISB5
101eCustom