- 29 -
ESC t n
[Function]
Selecting the character code table
[Code]
<
1B
>
H
<
74
>
H
<
n
>
[Range]
0
≦n≦
9
、
16
≦n≦
19
、n=
26
、
40
、
255
[Outline]
Selecting the character code table.
The character code table is selected based on the value of “n”.
n
Character Code Table
n
Character Code Table
0
Code page PC437
7,17
Code page PC866
1 Katakana 8
Code
page
PC857
2
Code page PC850
9,16
Windows code
3
Code page PC860
19
Code page PC858
4
Code page PC863
26
Thai code 18
5
Code page PC865
40
CodepagePC864
6,18
Code page PC852
255
Space page
(
For user setting
)
[Default]
n = 0 (Overseas), n = 1 (Domestic)
[See Also]
3. “Character Code Table”
[Sample Program]
[Print Results]
LPRINT CHR$(&H1B);"t"; CHR$(0);
LPRINT "n=0 ";
FOR C=&HB1 TO &HB5
LPRINT CHR$(C);
NEXT C
LPRINT CHR$(&HA);
LPRINT CHR$(&H1B);"t"; CHR$(1);
LPRINT "n=1 ";
FOR C=&HB1 TO &HB5
LPRINT CHR$(C);
NEXT C
LPRINT CHR$(&HA);
n=
0
n=
0
n=
1
アイウエオ
n=
1