ZPL commands

~HQ · Host Query

Queries specific information from the printer and sends it back to the host.

Queries specific information from the printer and sends it back to the host.

Parameters

  • ~HQa - a: Query type: ES = error status, HA = MAC address, JT = printhead test results, MA = maintenance alert settings, MI = maintenance information, OD = odometer, PH = printhead life history, PP = plug and play string, SN = serial number, UI = USB product ID

Example

~HQES

Tip

~HQSN returns the serial number, ~HQOD the odometer - the answer only comes back over a bidirectional connection.