Genicom GEK 00031B User Manual

Page 178

Advertising
background image

Chapter 7. Dec LG/Compaq LG Plus Emulation

GEK-00029B

178

HPA

Horizontal Position Absolute: The active print position will be
moved to the location specified by p1.
General Command Syntax
ESC [ Pn `
Indeterminate Conditions
If the new horizontal position is greater than the carriage width, then
the horizontal position of the control sequence will be ignored and the
current horizontal position will not change. If the parameter is

omitted or zero, left edge will be assumed.

Decimal:

27 91 Pn 96

Hex:

1B 5B Pn 60

BASIC:

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

HPR

Horizontal Position Relative: This sequence will move the active
print position to the right, relative to the current position. Parameter

p1 specifies the number of units to move. HPR cannot be used to
move beyond the right margin.
General Command Syntax
ESC [ Pn a
Indeterminate Conditions
Parameters greater than the physical print width will cause a default
to the right margin, unless the "auto-wrap" printer control switch is
set. If set, the active print position will move to the left margin. If the
parameter is omitted or zero, one decipoints will be assumed.

Decimal:

27 91 Pn 73

Hex:

1B 5B Pn 61

BASIC:

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

NOTE

If the new position exceeds the right margin but is less than
the physical width, move to the right margin.

Advertising