~HQES: Host Query Status (ZPL)
Asks for the current error and warning bit words.
Host query with the ES parameter returns the printer's current error count, warning count, and the hex words that hold the flag bits. A zero error count with empty words means the printer is not reporting a fault. A non-zero count means something such as media, ribbon, or the head needs attention. Bit positions differ by firmware, so this library exposes the words and a simple present flag instead of pretending every bit has one name. The command is safe to poll. It does not clear the fault by itself. Fix the cause, then query again.
Syntax
~HQES
Examples
Request error status
~HQES
Send to my printer
Related fixes
See also
Supported models
Source: Zebra documentation