Zebra CPCL Programming Manual - Status/information
Mobile Printer CPCLProgramming Manual
P11-3
STATUS/INFORMATION
Get Printer Status ESC (0x1b) 'h' (0x68)
This command requests a status byte from the printer.
If one is returned, it indicates that the printer is opera-
tional and has finished processing the previous label.
It should be called before loading or printing a label in
order to make sure that the host software is synchro-
nized with the printer. If bit 3 of the status byte is high,
it indicates that the battery is low. If bit 4 is high, it
indicates that the printer has been powered on and
reset (see the Reset Status function). This command
requests a status byte from the printer with the follow-
ing format:
Bit
Description
4
Printer reset (0=reset cleared, 1=printer reset)
3
Battery status (0=voltage OK, 1=low battery)
2
Latch status (0=latch closed, 1=latch open)
1
Paper status (0=paper present, 1= out of paper)
0
Printer status (0=printer ready, 1=printer busy)
Acknowledge Printer Reset ESC (0x1b) 'N' (0x4e)
This command clears the reset bit that is set on
power-up and reported by the 'get printer status'
function. The reset information returned by ESC 'h'
may be used by the host to perform its printer power-
up initializations, such as form-feeding. Once the host
completes its initialization of the printer, it may call this
function to tell the printer to clear its reset bit.