gdStatusPrinting

HP-LASERJET-COMMON-MIB · .1.3.6.1.4.1.11.2.3.9.1.1.2.18

Object

scalar mandatory Integer32
This indicates that the peripheral is printing or otherwise
marking or moving paper.
     off (0),
     ordinary-page (1),
     test-fonts-config-or-start-page (2)
For some peripherals, such as the HP LaserJet IIISi printer
or HP DesignJet plotter, this value is always a zero (0).

Context

MIB
HP-LASERJET-COMMON-MIB
OID
.1.3.6.1.4.1.11.2.3.9.1.1.2.18
Type
scalar
Access
readonly
Status
mandatory
Parent
gdStatusEntry

Scalars 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::gdStatusPrinting.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::gdStatusPrinting'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647