Toshiba B-SX4T-GS20-QM-R Printer User Manual


 
- 232 -
6.3.37 ATA CARD WRITABLE CHARACTER INFORMATION ACQUIRE COMMAND [ESC] WG
Function Sends the writable character information stored in the ATA card to the host.
Format [ESC] WG; a, bb, cc [LF] [NUL]
Term a: Drive
1: Slot 1 ATA card
2: Slot 2 ATA card
bb: Writable character set
01 to 44, 51 to 55
cc: Writable character code
If there is a 1-byte writable character, “00H” should be attached to the top of the
data to make it 2 bytes.
Explanation (1) The format of information to be returned to the host is as follows:
SOH STX “D” Slot
Writable
character set
Character
code
Storage ETX EOT CR LF
01H 02H 44H 3xH 3xH 3xH xxH xxH “0”/“1” 03H 04H 0DH 0AH
When the ATA card is not inserted in a specified slot, “00H” is returned for all
information from “Writable Character Set” to “Storage” (5 bytes).
Example When the following information in the ATA card in Slot 1 is acquired:
Writable character set 44, writable character code 41H
[ESC] WG; 1, 44, (0x00) (0x41) [LF} [NUL]
* (0x00) represents data of 00H.
* (0x41) represents data of 41H.
Storage of writable character
“0”: Not stored
“1”: Stored
Character code (to be described in 2 bytes)
If there is 1-byte writable character, “00H”
is attached to the top of the data.
Writable character set
“01” (30H, 31H) to “44” (34H, 34H)
“51” (35H, 31H) to “55” (35H, 35H)
Slot
“1” (31H): Slot 1
“2” (32H): Slot 2