~H(Q [Name] Send printer status [Format] ~H(Q a [Function] Sends the printer status specified in Parameter a to the host. [Initial value] None [Response] The printer sends the printer status value according to the following data format. (comma ) ... Control code that indicates start of text (02H) 2-character ASCII string specified in Parameter a ASCII character string of undefined length Control code that indicates end of text (03H) Control code that indicates carriage return (0DH) Control code that indicates line feed (0AH) The printer does not respond if Parameter a is not 2 characters, or if it is not an ASCII character string.
If an undefined identifier is specified for Parameter a, is set to “#NA” and sent to the host. If Parameter a is omitted, the printer does not respond. ESC/Label Command Reference Guide Rev. L Page 138 Parameters Description Definition range a Printer status identifier a = IQ/MN/RS/WN IQ: Remaining ink MN: Available capacity in maintenance box RS: Remaining roll paper WN: Warnings