CommandsNetwork
~HI - Host Identification
Returns printer identification and capability information
~HI - Host Identification
Overview
The ~HI command queries the printer for identification information including model, firmware version, print resolution, memory capacity, and installed options. Used for printer discovery and capability detection.
Syntax
~
Parameters
None
Description
- Returns printer model and firmware version
- Reports print resolution in dpi/dpmm
- Shows installed memory capacity
- Lists installed options
- Processed immediately
Return Format
MODEL,VERSION,DPI,MEMORY,OPTIONSResponse Fields
| Field | Example | Meaning |
|---|---|---|
| MODEL | S4M | Printer model |
| VERSION | V53.16.15Z | Firmware version |
| DPI | 12 | Dots per millimeter (6, 8, or 12) |
| MEMORY | 8192KB | Installed RAM |
| OPTIONS | C | Installed options (cutter, etc.) |
Examples
Request Identification
~
Returns: S4M,V53.16.15Z,12,8192KB,C
Interpretation:
- Model: S4M
- Firmware: V53.16.15Z
- Resolution: 12 dpi (203 dpi)
- Memory: 8 MB
- Options: Cutter installed
Different Configurations
~
Returns: 105SL,V29.18.5Z,8,4096KB,
Meaning:
- Model: 105SL
- Firmware: V29.18.5Z
- Resolution: 8 dpi (203 dpi)
- Memory: 4 MB
- No special options
DPI Conversion
| DPI Value | Dots/Millimeter | Print Density |
|---|---|---|
| 6 | 153 dpi | Low |
| 8 | 203 dpi | Standard |
| 12 | 304 dpi | High |
Memory Values
| Memory Code | Size | Notes |
|---|---|---|
| 512KB | 512 KB | Older models |
| 1024KB | 1 MB | Legacy |
| 2048KB | 2 MB | Common |
| 4096KB | 4 MB | High-volume |
| 8192KB | 8 MB | Maximum |
Usage Scenarios
Printer Discovery
~
Capability Detection
1. Get identification with ~HI
2. Parse memory to determine available space
3. Determine if cutter/applicator available
4. Adapt application based on capabilitiesTroubleshooting
1. Request ~HI
2. Verify expected model and firmware
3. Check if memory is as expected
4. Confirm installed options match configurationRelated Commands
~HS- Host Status Return^HV- Host Verification~WC- Print Configuration Label