Genicom GEK 00031B User Manual

Page 26

Advertising
background image

Chapter 2. ANSI Emulation

GEK-00029B

26

ESC [ p1 d

VPA (Vertical Position Absolute): Line terminator. Sets the vertical
position to the value specified by <p1>, moving paper forward or

backward to the new position. The distance specified by the <p1>
parameter is in decipoints. This command can be used to print inside
top and bottom margins. If the specified position is not within the
current page, the command is ignored. If the parameter value is
omitted or less than 5 decipoints, it will result in the vertical position
being set to the top of form position.

Decimal:

27 91 <p1> 100

Hex:

1B 5B <p1> 64

BASIC:

CHR$(27);"[";CHR$(<p1>);"d";

ESC [ p1 e

VPR (Vertical Position Relative): Line terminator. Increases the
current vertical position by the value specified by p1. Decipoints are

converted to provide the 1/144-inch moves shown in the table.

Decipoint Value

Movement In Inches

Missing or 0 – 4

No Movement

5-9

1/144 inch

10-14

2/144 inch

15-19

3/144 inch

17,280 or greater

24 inches

Decimal:

27 91 <p1> 95

Hex:

1B 5B <pl> 65

BASIC:

CHR$(27);"[<p1>e";

ESC [ p1 ; p2 f

HVP (Horizontal and Vertical Position): Line terminator. Sets the
vertical paper position to the value of <p1> and the print position to

the <p2> value. Values are sent as decipoints. HVP can position
printing inside margins. The vertical position can not exceed the form
length and the horizontal position cannot exceed the maximum width
for the printer.

Decimal:

27 91 <p1> 52 96

Hex:

1B 5B <p1> 3B <p2> 66

BASIC:

CHR$(27);"[<p1>;<p2>;f";

ESC [ p1 j

HPB (Horizontal Position Backward): Line terminator. Moves the
print position left of the current position by the distance specified in
<p1>. Values are sent as decipoints. The print position is set to the
left margin if the <p1> value would exceed the margin. An HPB with a

<p1> value of zero is ignored.

Decimal:

27 91 <p1> 106

Hex:

1B 5B <p1> 6A

BASIC:

CHR$(27);"[<p1>j";

Advertising