- 99 -
8.62 ~HS HOST STATUS RETURN
Format: ~HS
Printer information request command from host
The following values are returned:
String 1 = <STX>aaa,b,c,dddd,eee,f,g,h,iii,j,k,l<ETX><CR><LF>
aaa : Communication setting
aaa = a8a7a6a5a4a3a2a1a0
a0,a1,a2,a8: Baud rate
a8 a2 a1 a0
0 0 0 1 = 300 bps
0 0 1 0 = 600 bps
0 0 1 1 = 1200 bps
0 1 0 0 = 2400 bps
0 1 0 1 = 4800 bps
0 1 1 0 = 9600 bps
0 1 1 1 = 19200 bps
1 0 0 0 = 28800 bps
1 0 0 1 = 38400 bps
1 0 1 0 = 57600 bps
1 0 1 1 = 14400 bps
a3: Data bit
0 = 7 bits
1 = 8 bits
a4: Stop bit
0 = 2 bits
1 = 1 bit
a5: Disable/Enable
0 = Disable
1 = Enable
a6: Parity
0 = Odd (or None)
1 = Even
a7: Handshake
0 = Xon/Xoff
1 = DTR
* After using bit representation for each setting, the numeric value obtained from all bits is
saved in aaa.
E.g.
Setting: 9600bps,8bit,Even Parity,Stop Bit1,Enable,Xon/Xoff
Bit: 001011110 -> 094 is saved in aaa.