7197 Owner’s Guide Chapter 6: Commands
November 2002
135
Range of n: 1 – 4
49 - 52
Example:
• MSComm1.Output = Chr$(&H1D) & Chr$(&H72) & Chr$(n)
Exceptions:
When n is out of the specified range, the command is ignored.
Send Printer Software Version
ASCII: US V
Hexadecimal: 1F 56
Decimal:
31 86
The printer returns 8 bytes containing the boot and Flash software version. The first 4
bytes returned are an ASCII string for the boot version. The second 4 bytes are an ASCII
string for the boot version. Example: for 1.234.56(8bytes), the boot version is 1.23 and the
Flash version is 4.56.
Example:
• MSComm1.Output = Chr$(&H1F) & Chr$(&H56)
Recognizing Data from the Printer
An application sending various Real Time and non-Real Time commands to which the
printer responds can determine which command a response belongs to by the table below.
Responses to Transmit Peripheral Device Status (1B 75) and Transmit Paper Sensor Status
(1B 76) are non-Real Time responses and will arrive in the order in which they were
solicited.
Batch Mode Response Response Recognized By:
ASCII HEX
ESC u 0 1B 75 0 0 0 0 0 0 0 x x Binary
ESC v 1B 76 0 0 0 0 0 x x x Binary
GS I n 1D 49 n 0 x x 0 x x x x Binary
GS r n 1D 72 n 0 x x 0 x x x x Binary
Real-Time Response
Response Recognized By:
ASCII HEX
GS EOT n 1D 04 n 0 x x 1 x x 1 0 Binary
DLE EOT
n
10 04 n 0 x x 1 x x 1 0 Binary
GS ENQ 1D 05 1 x x x x x x x Binary