tray1-media-size-loaded
HP-LASERJET-COMMON-MIB ·
.1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.3.3.1.1
Object
scalar mandatory
r/w
Enumeration
Returns the media size that is currently loaded in tray #1. This object can be set to indicate the media size currently loaded, if the printer supports input trays that can not sense the media size. Complete list of supported media sizes along with their dimensions are listed in the ``Media Size Table'' near the end of this document.
Context
- MIB
- HP-LASERJET-COMMON-MIB
- OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.3.3.1.1- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- intray1
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::tray1-media-size-loaded.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::tray1-media-size-loaded'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.