ESC t n
[Function] | Selecting the character code table | |
[Code] | <1B>H<74>H<n> | |
[Range] | 0 n | 9, n = 255 |
[Outline] | Selecting the character code table: | |
| The character code table is selected based on the value of “n”. | |
|
|
|
| n | Character Code Table |
| 0 | Codepage PC437 (USA, European Standard) |
| 1 | Codepage Katakana (Japanese) |
| 2 | Codepage PC850 (Multilingual) |
| 3 | Codepage PC860 (Portuguese) |
| 4 | Codepage PC863 |
| 5 | Codepage PC865 (Nordic) |
| 6 | Codepage PC852 (Eastern Europe) |
| 7 | Codepage PC866 (Russian) |
| 8 | Codepage PC857 (Turkish) |
| 9 | Windows Codepage |
|
|
|
| 255 | Space Page(For user setting) |
[Default] | This is a character code table specified with DIP Switch. | |
[Sample Program] | LPRINT CHR$(&H1B) + “t” + CHR$(0); | |
| LPRINT “n”=0; | |
| FOR C=&HB2 TO &HB5 |
LPRINT CHR$(C);
NEXT C
LPRINT CHR$(&HA);
LPRINT CHR$(&H1B) + “t” + CHR$(9);
LPRINT “n”=9;
FOR C=&HB2 TO &HB5
LPRINT CHR$(C);
NEXT C
LPRINT CHR$(&HA);
END
[Print Results] | n = 0 |
| n= 9 |
← n = 0
2 3 ’ ∝ ← n = 9
— 51 —