Genicom GEK 00031B User Manual

Page 180

Advertising
background image

Chapter 7. Dec LG/Compaq LG Plus Emulation

GEK-00029B

180

DA

Product Identification: Shows the product identification. When the
host sends a device attributes sequence, the printer responds with a

sequence that identifies the printer. The response is ESC[?45c.
General Command Syntax
ESC [ c

or

ESC [ 0 c

Decimal:

27 59 75 or 27 59 48 75

Hex:

1B 5B 63 or 1B 5B 30 63

BASIC:

CHR$(27);”[0c”;

VPA

Vertical Position Absolute: The current vertical position will be set
to the value specified. The horizontal position will not change. VPA
may be used to print within the top and bottom margins.
General Command Syntax
ESC [ Pn d
Indeterminate Conditions
If the new vertical position is greater than the forms length, then the
sequence will be ignored. If p1 is omitted or zero, Pn is interpreted as
the default value of 1.

Decimal:

27 59 Pn 76

Hex

:

1B 5B Pn 64

BASIC:

CHR$(27);”[“;Pn;”d”;

VPR

Vertical Position Relative: The current vertical position will be
advanced by the distance specified by the command parameter. If
the move would be beyond the bottom line, the active position stops
at the bottom line.
General Command Syntax
ESC [ Pn e
Indeterminate Conditions
If the parameter is omitted or zero, Pn is interpreted as the default
value of 1.

Decimal:

27 59 Pn 77

Hex:

1B 5B Pn 65

BASIC:

CHR$(27);”[“;Pn;”e”;

Advertising