ZPL commands
~HS · Host Status Return
Requests the current printer status including paper out, pause, head open, ribbon, buffer usage .
Requests the current printer status (including paper out, pause, head open, ribbon, buffer usage).
Parameters
~HS- no parameters - sends three status strings to the host
Example
~HS
Tip
The answer consists of three strings with comma-separated fields that can be evaluated individually - the standard for printer monitoring in your own systems.