Genicom GEK 00031B User Manual

Page 34

Advertising
background image

Chapter 2. ANSI Emulation

GEK-00029B

34

ESC [ p1; ... pn h

SM (Set Mode): Sets the mode or modes specified by the parameters
listed below. Parameters preceded by the 'greater than' sign are

privately defined modes and should be sent separately.

Parameter

Number

Mode

Mnemonic

Mode Function

20

LNM

Line Feed New Line Mode

LNM - Line Feed New Line Mode. When using this mode, a received
line feed command causes a carriage return (new line). When LNM is
reset, a line feed command only causes a vertical position movement.

The following parameters are privately defined modes.

Parameter

Number

Mode

Mnemonic

Mode Function

>1

GENPRM

Proportional Print Mode

>2

GENC1C

C1 Control Code Mode

>5

GENCS2

Character Set 2 Mode

GENPRM (Proportional Print Mode): Enables proportional printing.
This mode does not apply to the oversize character feature. When
reset (default), characters are spaced at the current cpi.
GENC1C (C1 Control Code Mode - PC Set 1): When set, it allows
the use of C1 control codes. When reset, 80H - 9FH are ignored. See
Appendix E for an explanation of how character sets are mapped. The

default state is set using ANSI emulation option 6 (see Appendix D,
ANSI (4800) or ANSI (4410) Tables).
GENSC2 (Character Set 2 Mode - PC Set 2): Selects character set 2
of any of the 8-bit international character sets. See PC Set 2 in
Appendix H for an explanation of how character sets are mapped. The

default state is set using option strap 7 in the ANSI emulation
options (see Appendix D, ANSI (4800) or ANSI (4410) Tables).

EXAMPLE: To print proportional, send ESC [ > 1 h.

Decimal:

27 91 62 49 104

Hex:

1B 5B 3E 31 68

BASIC:

CHR$(27);"[>1h";

ESC [ p1 ... pn l

RM (Reset Mode): Resets any modes turned on by the Set Mode
command above. Parameters and syntax are the same.

Advertising