Genicom GEK 00031B User Manual

Page 113

Advertising
background image

GEK-00029B

5000 Series Programmer’s Manual

113

ESC [T n1 n2 ml

Select Code Page: Selects international character sets. The

m2 m3 m4 m5

default is IBM PC Multilingual Set 2.

n1: Always 5 (The number of m parameters used.)
n2: Always 0

ml, m2, and m5 are always zero.
m3 - See chart below.
m4 - See chart below.
m3 m4 International Character Set
7E 21 DEC Multinational
7F 21 Roman 8
8F 21 ISO 8859-1 Latin Alphabet #1
93 21 ISO 8859-5 Latin/Cyrillic
B5 01 IBM PC Set 2 USA (Microsoft Code Page 437)

52 03 IBM PC Multilingual Set 2 (MS Code Page 850)
54 03 Microsoft Code Page 852 (Slavic)
57 03 Microsoft Code Page 855 (Cyrillic)
5F 03 Microsoft Code Page 863 (French Canadian)

(The examples below show the m3 and m4 values for selecting Roman
8.)

Decimal:

27 91 84 5 0 0 0 127 33 0

Hex:

1B 5B 54 05 00 00 00 7F 21 00

BASIC:

CHR$(27);"rr;CHR$(5);CHR$(O);CHRS(O);CHR$(O);
CHR$(127);CHR$(33);CHR$(0);

ESC 0

Set 8 Lines per Inch: Sets the line spacing to 1/8 of an inch (8 lpi).
Decimal:

27 48

Hex:

1B 30

BASIC:

CHR$(27);"0";

ESC 1

Set 7/72 Lines per Inch Spacing: Sets the line spacing to 7/72 of
an inch (10. 3 lpi)

Decimal:

27 49

Hex:

1B 31

BASIC:

CHR$(27);"l";

ESC 2

Start Text Line Spacing: Activates the line spacing stored by the
last ESC A, or sets 6 lpi if no ESC A command has been received.

Decimal:

27 50

Hex:

1B 32

BASIC:

CHR$(27):"2";

Advertising