beautypg.com

Esc [ p1; p2 f, Esc [ p1 k, Esc [ p – Compuprint 10200 Programmer Manual User Manual

Page 129: And horizontal (p

background image

Commands

125

ESC [ p

1

; p

2

f

Horizontal and vertical position absolute (HVP).

ASCII Code

E

E

S

S

C

C

[

[

p

p

1

1

;

;

p

p

2

2

f

f

Hexadecimal Value

1B 5B p

1

3B p

2

66

Decimal Value

27 91 p

1

59 p

2

102

This command causes the current print position to be moved to the vertical (p

1

) and horizontal

(p

2

) decipoint locations specified relative to the top left corner of the page.

This sequence can be used to print within the right, left, top and bottom margins.

ESC [ p

1

k

Vertical position backward (VPB).

ASCII Code

ESC [ p

1

k

Hexadecimal Value

1B 5B p

1

6B

Decimal Value

27 91 p

1

107

This command causes the current vertical position to be moved backwards as specified by the p

1

parameter (decipoints) relative to the current print line position.