error1-code
HP-LASERJET-COMMON-MIB ·
.1.3.6.1.4.1.11.2.3.9.4.2.1.1.11.1.2
Object
scalar
mandatory
Integer32
Contains a device specific error code. Each device POS
should list what errors are logged to the error log and
the meaning of each supported error code value.
Additional information:
Returns a device specific error code.
If the error code returned is '0', then the printer has not yet logged an
error for this object.
When the maximum number of errors is reached (30 on LaserJet 4050 Series printers), and
a new error occurs, the error in ERROR1-CODE will be replaced by the
one in ERROR2-CODE, and so on until the last error object will be given
the value of the new error.
The error number is returned in the upper 16 bits.
If it is 68, 69, 79, or 80, then the sub code is returned in the lower
16 bits (eg. 68 001C, where the subcode is already a hexadecimal value).
If the error number is any other number, then the 1st sub code (XX)
will be in bits 15-8 and the 2nd sub code (YY) will be in bits 7-0 (eg.
55.04.02) where XX=04 and YY=02).
Example: If the error is 68 001A, then the value returned will be 4456474.
To break it down: 4456474 = 0x0044001A
The upper 16 bits: 0x0044 = 68
The lower 16 bits: 0x001A = 001A
Which is the error: 68 001A
Example: If the error is 55.04.241, then the error code will be 3605745.
To break it down: 3605745 = 0x003704F1
The upper 16 bits: 0x0037 = 55
The upper byte of the lower 16 bits: 0x04 = 04
The lower byte of the lower 16 bits: 0xF1 = 241
Which is the error: 55.04.241
Context
- MIB
- HP-LASERJET-COMMON-MIB
- OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.1.11.1.2- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- error1
- Siblings
- 1
Syntax
Integer32
- Source
- COPS-PR-SPPIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Related Objects
Sibling Objects
| Object | Type | Syntax | OID |
|---|---|---|---|
| error1-time-stamp mandatory Contains some sort of time stamp indicating when error 1
occurred. Example time stamps include the actual time
the error occurred (in seconds since Jan. 1, 1970), and
the total e… | scalar | Integer32 | .1.3.6.1.4.1.11.2.3.9.4.2.1.1.11.1.1 |