cancel-job

CLJ8550-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.1.1.6.1.2

Object

scalar optional r/w Integer32
Cancels the print job whose ID matches the value written
to the CANCEL-JOB object.  The host first learns the job
ID using the CURRENT-JOB-PARSING-ID command.  If the
printer has completely processed the job, the printer
responds with <badValue>.  If the
value of the CURRENT-JOB-PARSING-ID is smaller than the
value written to the CANCEL-JOB object, then the printer
responds with <badValue>.  When
read, returns the value of the last job ID what was
canceled, or -1 to indicate no job has been canceled.
Additional information:
If the value written matches the ID of a job that is 
		currently being canceled (for any reason), the printer 
		responds with <noError>.  
Color LaserJet8550 uses job ID's in the range of 0..32767. 
Because the ID number can wrap to zero, CURRENT-JOB-PARSING-ID 
		may be smaller than the value written to this object; when this
		occurs, no error will result as long as the ID is for a 
		currently processing job.

Context

MIB
CLJ8550-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.1.6.1.2
Type
scalar
Access
readwrite
Status
optional
Parent
settings-job

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

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CLJ8550-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CLJ8550-MIB::cancel-job.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CLJ8550-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CLJ8550-MIB::cancel-job'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-32767