~H(S [Name] Send printer operation status [Format] ~H(S a ,b [Function] Sends the printer operation status specified in Parameter a, b to the host. [Initial value] None [Response] The printer sends the printer operation status value according to the following data format.
comma comma Control code that indicates start of text (02H) “^S(S” fixed 4 characters 2-character ASCII string specified in Parameter a 1-character ASCII string specified in Parameter b 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. A character which follows the parameter a and comma is treated as parameter b. The printer does not respond if Parameter b is not an ASCII character string.
If an undefined identifier is specified for Parameter a or Parameter b, mode value> is set to “#NA” and sent to the host. If Parameter a or Parameter b is omitted, the printer does not respond. ESC/Label Command Reference Guide Rev. L Page 141 Parameters Description Definition range a Printer operation status function identifier a = 2-character ASCII string For details, see Appendix B List of Printer Operation Status b Printer operation status object identifier b = 1-character ASCII string For details, see Appendix B List of Printer Operation Status