What ~HS does
~HS makes the printer send three status strings back over the connection describing paper/ribbon state, buffer usage, mode and error flags. Software polls it to know whether the printer is ready.
Syntax
~HSExample
~HS~HS is a control command sent on its own, outside ^XA/^XZ.
Paste this into the free ZPL viewer to see it render, or convert it to PDF.
Notes & tips
- Returns three comma-delimited status strings.
- Used by drivers to detect out-of-paper and errors.
Related commands
See the full ZPL command reference for all 92 documented commands.
