
12. Status Byte Definitions
The status byte always has a base value of 40 hex. Bit 7 (80 hex) is always zero. The
following values may be added to the base value, as appropriate:
Mnemonic Hex value Reset Status condition
STAT_PAPER_OUT 01 No Out of labels
STAT_PAPER_JAM 02 Yes Label is jammed (feed error)
STAT_HARD_ERR 04 Yes General hardware error
STAT_COMM_ERR 08 No Invalid command or I/O error
STAT_IDLE 10 No Printer is idle
STAT_PLATEN_OPEN 20 No Platen is open
If the Reset column indicates "Yes," the printer must be reset to clear the error. The
STAT_COMM_ERR bit is always cleared automatically after the status byte is sent.
Examples:
If a label is jammed in the printer, the status value is 42H:
40 base value
+ 02
label is jammed in printer
42
If printer is idle and out of labels, the status value is 51H:
40 base value
01 out of labels
+ 10
printer is idle
51
- 21 -
Comentários a estes Manuais