●
Transmission Sequences 5-9
Print item 1
Print item 2
Print item 3
Print item 4
A B C
D E F
G H I
J K L
5.3.2-4 Character codes
(1) 2-byte code (number of communication bytes: 1-byte mode)
●
For 1-byte mode, 2-byte codes are sandwiched between "SI" and "SO."
●
One character
SI
High-order
byte
Low-order
byte
SO
●
Two or more characters
SI
High-order
byte
Low-order
byte
High-order
byte
Low-order
byte
High-order
byte
Low-order
byte
SO
(2) 2-byte code (number of communication bytes: 2-byte mode)
High-order
byte
Low-order
byte
(3) Mixture of ASCII and 2-byte codes (number of communication bytes: 1-byte mode)
ASCII
ASCII
SI
High-order
byte
Low-order
byte
High-order
byte
Low-order
byte
SO
ASCII
(4) Mixture of ASCII and 2-byte codes (number of communication bytes: 2-byte mode)
ASCII
ASCII
High-order
byte
Low-order
byte
High-order
byte
Low-order
byte
ASCII
5.3.2-5 Example of print contents transmission
(1) Example when No. of communication bytes: 1 byte mode
02H
10H
31H
41H
42H
43H
10H
32H
0FH
F2H
52H
F2H
52H
0EH
03H
STX
DLE
1
A
B
C
DLE
2
SI
Calendar
Calendar
SO
ETX
Print item 2
(2) Example when No. of communication bytes: 2 byte mode
02H
10H
31H
41H
42H
43H
10H
32H
F2H
52H
F2H
52H
03H
STX
DLE
1
A
B
C
DLE
2
Calendar
Calendar
ETX
Print item 1
Print item 2
[Transmission results]
Print item 1
Print item 2
ABC
DD
DD:Calendar character "day"
Print item 1
(3) Example when the number of the print items is changed to three (3) from two (2)
02H
1FH
7BH
10H
32H
61H
62H
10H
33H
63H
64H
03H
STX
ESC2 Header
DLE
2
a
b
DLE
3
c
d
ETX
Print item 2
Print item 3
[Transmission results]
Number of the print
items specified
Print item 1
Print item 2
Print item 3
A B C
a b
c d