prtinterpreterdefaultorientation
HP-Color-LaserJet-4500-MIB ·
.1.3.6.1.4.1.11.2.3.9.4.2.2.15.1.1.7
Object
scalar optional
r/w
Enumeration
The current orientation default for this interpreter. This
value may be overridden for a particular job (e.g., by a
command in the input data stream).
Additional information:
The automatic language switching and PJL interpreters ignore the value of this
object.
This object can be set when the printer is not idle, and will return <noError> if successful, but the cange will not
affect the current job since the printer's default value, not the current value, is being changed.
The values for PCL and PostScript are either ePportrait or ePlandscape;
attempting to set them to a different value will cause
<badValue> to be returned.
Context
- MIB
- HP-Color-LaserJet-4500-MIB
- OID
.1.3.6.1.4.1.11.2.3.9.4.2.2.15.1.1.7- Type
- scalar
- Access
- readwrite
- Status
- optional
- Parent
- prtInterpreterEntry
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-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::prtinterpreterdefaultorientation.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::prtinterpreterdefaultorientation'
Syntax
Enumeration
Values & Constraints
Enumerated Values
3 | ePportrait |
4 | ePlandscape |