Command dictionary – Genicom GEK 00031B User Manual

Page 209

Advertising
background image

GEK-00029B

5000 Series Programmer’s Manual

209

COMMAND DICTIONARY

ASCEF

Announce Subset of Code Extension Facilities: This indicates
which subset of code extension facilities or what level of ISO 4873 is

used for subsequent exchanges of information. These three control
functions are macros that incorporate the effects of Select Character
Set (SCS) and Locking Shift (LS) commands.
Source: Printer

Destination: Application

Description
Level 1 and level 2 result in the following settings:

ASCII is assigned to G0 and mapped into GL.

ISO Latin-1 Supplemental is assigned to G1 and mapped into GR.

Level 3 results in the following settings:

ASCII is assigned to G0 and mapped into GL.

Format
Mnemonic:

ESC SP L

ISO 4873, level 1

Decimal:

27 32 76

Hex:

1B 20 4C

BASIC:

CHR$(27);" L";

Mnemonic:

ESC SP M

ISO 4873, level 2

Decimal:

27 32 77

Hex:

1B 20 4D

BASIC:

CHR$(27);" M";

Mnemonic:

ESC SP N

ISO 4873, level 3

Decimal:

27 32 78

Hex:

1B 20 4E

BASIC:

CHR$(27);" N";

CPR

Cursor Position Report: Response by a printer to an application for
a Printer Status Request (DSR) cursor position request. It returns the
current horizontal and vertical position via the serial connection.
Source: Printer

Destination: Application

Format
Mnemonic:

CSI Pn1 ; Pn2 R

Decimal:

155 Pn1 59 Pn2 82

Hex:

9B Pn1 3B Pn2 52

BASIC:

CHR$(155);Pn1;";";Pn2;"R";

Description
The CPR parameters are defined as follows:
Pn1:

Numeric parameters describing the active vertical position.

Pn2:

Numeric parameter describing the active horizontal position.

Advertising