Chapter 11— Printer Escape Commands
Get Extended Printer Status
Purpose: This command requests the extended status byte from the printer. The
Format:
User Label Count
Get User Label Count (GULC.LBL)
Purpose: This command requests the current user label count from the printer. The
Format:
Reset User Label Count (RULC.LBL)
Purpose: This command instructs the printer to clear its user label count to zero.
Format:
108
extended status byte returned from the printer is in the following format:
Bit
Description
7
Ribbon status: 0=ribbon detected, 1=no ribbon detected
6
Paper supply status: 0=paper supply is OK 1=paper supply is low
5
Presentation (self-strip) sensor: 0=last label removed, 1=last label not removed
yet
4
Reserved
3
Reserved
2
Reserved
1
Reserved
0
Reserved
ESC(0x1b) 'i' (0x69)
Note: Mask all reserved bits when reading status.
This section provides information on the Get User Label Count command
and the Reset User Label Count command.
response consists of two bytes, the most significant byte first. This count
represents the total number of labels printed since the last time the count
was reset to zero.
ESC (0x1b) 'J' (0x4a) 'R' (0x52) 'U' (0x55)
ESC (0x1b) 'J' (0x4a) 'W' (0x57) 'a' (0x61) 'c' (0x63)
'c' (0x63) 'N' (0x4e) 'V' (0x56) 'M' (0x4d) 'U' (0x55)
EasyCoder PL-Series Printer Programmer's Reference Manual