Esc [ t – Compuprint MDP40B Programmer Manual User Manual
Page 68

A-66
ESC [ T
Selects a Code page. (IBM 2391+, 4722)
ASCII Code
ESC [ T 4 0 0 0 HC L.c
Hexadecimal Value 1B 5B 54 04 00 00 00 Hc Lc
Decimal Value
27 91 84 4 0 0 0 Hc Lc
This sequence allows changing the current code page. If an unavailable code page is
specified, this command is ignored.
The digits 04 00 00 00 (hexadecimal) and 4 0 0 0 (decimal) are constant. To calculate
Hc Lc for a code page that is not shown, divide the code page number, such as 437, by
256.
• The whole number result is the Hc value
• The remainder is the Lc value.
If your code page has an alphabetic character, such as 437G, add 10,000 to the code
page number, then divide by 256.
Hc
Lc
Hc Lc
Hc Lc
1 181
CP437 3 106
CP874
33 131
ID-12
33 122
CP437G
3 108
CP876
33 132
ID-17
3 82
CP850 3 109
CP877
33 133
SANYO
3 83
CP851 3 155
8859/15
33 134
KU
3 84
CP852 4 74
CP1098
33 135
PHILIP
3 85
CP853 4 226
CP1250
33 143
8859/1
3 87
CP855 2 227
CP1251
33 144
8859/2
3 89
CP857 4 228
CP1252
33 145
8859/3
3 90
CP858
33 123
96GREEK 33 146
8859/4
3 92
CP860
33 124
GOST
33 147
8859/5
3 94
CP862
33 125
TASS
33 148
8859/6
3 95
CP863
33 126
MAZOWIA 33 149
8859/7
3 96
CP864
33 127
ROMAN-8 33 150
8859/8
3 97
CP865
33 128 UKRAINIAN 33 151
8859/9
3 98
CP866 33 129 CP437
SLAVIC
3 99
CP867 33 130
ID-14