ProgrammerManual PTX‐S828
Chapter1EPSON/IBMCommands 42 260071‐001A
Character Set
ESC [ T
Selects a Code page (IBM).
ASCII Code ESC [ T 4000HcLc
Hexadecimal Value X'1B' X'5B' X'54' 04000000HcLc
Decimal Value 7 91 84 4000HcLc
This sequence allows you to change the current code page. If an unavailable code page is specified, this
command is ignored. The digits 04000000(hexadecimal) and 4000(decimal) are constant. To
calculate Hc Lc for a code page that is not shown: If your code page has an alphabetic character, such as
437G, add 10,000 to the code page number, then divide by 256.
The whole number result is the Hc value
The remainder is the Lc value.
Hc Lc Hc Lc Hc Lc Hc Lc
1 181 CP437 3 96 CP864 33 143 8859/1 4 229 CP1253
3 122 CP437G 3 97 CP865 33 144 8859/2 4 230 CP1254
33 129 CP437 Slavic 3 98 CP866 33 145 8859/3 4 231 CP1255
33 82 CP850 3 99 CP867 33 146 8859/4 4 232 CP1256
3 83 CP851 3 108 CP876 33 147 8859/5 4 233 CP1257
3 84 CP852 3 109 CP877 33 148 8859/6 33 130 FARSI 1
3 85 CP853 4 74 CP1098 33 149 8859/7 33 131 FARSI 2
3 87 CP855 33 123 96 GREEK 33 150 8859/8
3 89 CP857 33 124 GOST 33 151 8859/9
3 90 CP858 33 125 TASS 3 155 8859/15
3 92 CP860 33 126 MAZOWIA 4 226 CP1250
3 94 CP862 33 128 UKRANIAN 4 227 CP1251
3 95 CP863 33 138 KOI8-U 4 228 CP1252
ESC \
Prints characters from all characters table. (IBM)
ASCII Code ESC \ n1 n2
Hexadecimal Value X'1B' X'5C' n1 n2
Decimal Value 27 92 n1 n2
Range 0 = n1 = 255
0 = n2 = 255
This command prints the next n1 + n2 x 256 characters from the table of all printable characters.
The total number of characters that will be printed from the table of all printable characters is equal to n1 +
(n2 x 256). For example, to print 300 characters from the table of all printable characters: n1 = 44, n2 =1.
The control codes are not recognized as long as this sequence is active. The space character is printed as
an unassigned character.