277
SOH + KI
Host Printer
STX +“00002”+ [0000 0000 0010 0000][0000 0000 0000 1000]
*
+ ETX
<A> + <I#>1 + <Z>
<A> + <I#>0 + <Z>
10. The specification of key information acquisition command is as follows.
(1) Command
SOH + KI (01H 4BH 49H)
(2) Return Status
[STX] + number of key information + key information string + [ETX]
1) Number of key information
Indicate the following number of key information.
Number of key information is equal to the number of key pressing detection.
The information is stored in ASCII, binary and 5 bytes.
●Displayed in the numeric character from "00000" to "99999."
●The information is notified in 5 digits even the key press detection is less than 5 digits by filling 0 at the
beginning.
2) Key information string
The all key information is notified consecutively.
One key information is consist with 2 bytes binary value.
Key press information
Output the ON/OFF status of the key to the bit corresponding to
the key.
(Refer to the table below for the bit corresponding to the key)
0: Key is released
1: Key is pressed
The bit corresponding to the key (2 bytes)
3) Acquired sequence
2. The key information stored in the key buffer can be cleared by key buffer initialization command.
(1) Command
SOH + KC (01H 4BH 43H)
(2) Return Status
「STX」+ 0 + 「ETX」 (02H 30H 03H)
0 is fixed.