Epson L60IIP Information Guide - Page 23

ESC t, Character code table, PC437 U.S.A., Standard Europe]

Page 23 highlights

ESC t n [Name] Select character code table [Format] ASCII ESC t n Hex 1B 74 n Decimal 27 116 n [Range] 0 ≤ n ≤ 5, n = 255 ESC t n selects a page n from the character code table as follows. The alphanumeric characters [20H (decimal 32) to 7FH (decimal 127)] are the same for each page. The graphic characters [80H (decimal 128) to FFH (decimal 255)] are different for each page. The default setting is page 0. n Character code table 0 Page 0 [PC437 (U.S.A., Standard Europe)] 1 Page 1 [Katakana] 2 Page 2 [PC850 (Multilingual)] 3 Page 3 [PC860 (Portuguese)] 4 Page 4 [PC863 (Canadian-French)] 5 Page 5 [PC865 (Nordic)] 255 Page 255 [Space page] Program Example PRINT #1, CHR$(&H1B);"t";CHR$(0);← Select page 0 GOSUB printing PRINT #1, CHR$(&H1B);"t";CHR$(1);← Select page 1 GOSUB printing END printing: FOR i=&H20 TO &H7F PRINT #1, CHR$(i); NEXT i PRINT #1, CHR$(&HA); FOR i=&H80 TO &HFF PRINT #1, CHR$(i); NEXT i PRINT #1, CHR$(&HA); RETURN Print Sample 1-16 Command Descriptions Rev. A

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98

1-16
Command Descriptions
Rev. A
ESC t
n
[Name]
Select character code table
[Format]
ASCII
ESC
t
n
Hex
1B
74
n
Decimal
27
116
n
[Range]
0
n
5,
n =
255
ESC t
n
selects a page
n
from the character code table as follows. The alphanumeric characters [20H
(decimal 32) to 7FH (decimal 127)] are the same for each page. The graphic characters [80H (decimal
128) to FFH (decimal 255)] are different for each page. The default setting is page 0.
n
Character code table
0
Page 0 [PC437 (U.S.A., Standard Europe)]
1
Page 1 [Katakana]
2
Page 2 [PC850 (Multilingual)]
3
Page 3 [PC860 (Portuguese)]
4
Page 4 [PC863 (Canadian-French)]
5
Page 5 [PC865 (Nordic)]
255
Page 255 [Space page]
Program Example
Print Sample
PRINT #1, CHR$(&H1B);"t";CHR$(0);
Select page 0
GOSUB printing
PRINT #1, CHR$(&H1B);"t";CHR$(1);
Select page 1
GOSUB printing
END
printing:
FOR i=&H20 TO &H7F
PRINT #1, CHR$(i);
NEXT i
PRINT #1, CHR$(&HA);
FOR i=&H80 TO &HFF
PRINT #1, CHR$(i);
NEXT i
PRINT #1, CHR$(&HA);
RETURN