Genicom GEK 00031B Programmer's Manual page 178

Genicom printer user manual
Table of Contents

Advertisement

HPA
HPR
Chapter 7. Dec LG/Compaq LG Plus Emulation
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.
27 91 Pn 96
Decimal:
1B 5B Pn 60
Hex:
CHR$(27);"["; Pn ;"`";
BASIC:
If the new position exceeds the right margin but is less than
the physical width, move to the right margin.
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
178
GEK-00029B

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5000 series

Table of Contents

Save PDF