6.3.1 Character codes
The ASCII code is used as the standard character code.
If the printer is set in 7-bit mode and the host operates in
8-bit
mode, the
printer regards the received data as 7-bit data and checks data parity. If the
data has a correct parity, the printer prints the data as correct 7-bit data.
If not, a transmission error occurs.
When receiving character codes, the printer sequentially loads them in to its
interface buffer. Characters corresponding to the loaded character codes are
printed after a control code is received. The printed character codes are
cleared after printing.
6.3,2
Control cod&
The null (NULL), delete (D
EL
), sound bell
(BEL),
horizontal
talbulation
(HT),
line
feed (LF),
vertical
tab (VT), forms feed (FF), carriage
r'eturn
(CR), shift
out (SO), shift in
(SI),
and escape (ESC) codes are control codes indicated in
the area enclosed with a bold-faced line in Table 6.4.
,f-
(1) NULL (X'OO') and DEL
(X'7F'
and X'FF') codes
When receiving either the NULL or
DEL
code, the printer ignores it, but
does not regard it as an invalid control code.
(2)
BEL
(X107')
code
When receiving the BEL code, the printer sounds the bell for 1.
(3) HT
(X109')
code
The HT code is valid if the horizontal tab data is loaded in to the
printer with the Load Horizontal Tab Stop Data command.
If not,
this code
is converted to a space code
(X'20').
If horizontal tab data is loaded,
the horizontal print position is moved to the right tab stop of the
current horizontal print position, within the horizontal tab stops
specified in the horizontal tab data.
Example 1:
'.~
Column 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Horizontal tab stop
11
1
Data
ABCDEFGHIJ K
(09)L
M N
Printing
ABCDEFGHIJ KL M N
6
-
16 B02P-1500-OOOlA...OS