Character set, Esc [ t, Esc [ t esc – Compuprint 4247-L03 Programmer Manua User Manual

Page 48: Prints characters from all characters table. (ibm), Character set esc [ t

Advertising
background image

Character Set

ESC [ T

Selects a Code page (IBM).

ASCII Code

ESC [ T 4 0 0 0 Hc Lc

Hexadecimal Value

X'1B' X'5B' X'54' 04 00 00 00 Hc Lc

Decimal Value

27 91 84 4 0 0 0 Hc Lc

This sequence allows you to change 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: If your code page has an alphabetic character, such as
437G, add 10,000 to the code page number, then divide by 256.

v

The whole number result is the Hc value

v

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

3

85

CP853

4

74

CP1098

33

149

8859/7

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 \ n

1

n

2

Hexadecimal Value

X'1B' X'5C' n

1

n

2

Decimal Value

27 92 n

1

n

2

Range

0 ≤ n

1

255

0 ≤ n

2

255

This command prints the next n

1

+ n

2

x 256 characters from the table of all printable characters.

32

Programmer Manual

Advertising