~HI: Host Identification (ZPL)
Asks the printer to identify model, firmware, resolution, and memory.
Host identification returns one comma-separated record: a model string, a firmware or configuration id, dots per millimeter, and installed memory. Eight dots per millimeter is 203 dpi, twelve is 300 dpi, and twenty-four is 600 dpi. The memory field usually ends in KB. The reply is often wrapped in the same start-of-text and end-of-text bytes as host status. Strip those before splitting on commas. Use it at connect time so width math and feature flags follow the head that is actually attached. The command does not change settings.
Syntax
~HI
Examples
Identify the printer
~HI
Send to my printer
See also
Supported models
Source: Zebra documentation