Esc [ p1; p2; p3 r, Esc [ p1; p2 <sp> g, Esc [ p – Compuprint 10200 Programmer Manual User Manual

Page 132: Sp> g, And p, Parameters specify the decipoint values. p, Function p, Page length p

Advertising
background image

Commands

128

ESC [ p

1

; p

2

; p

3

r

Form definition (FD).

ASCII Code

ESC [ p

1

; p

2

; p

3

r

Hexadecimal Value

1B 5B p

1

3B p

2

3B p

3

72

Decimal Value

27 91 p

1

59 p

2

59 p

3

114

This command sets the page length, top and bottom margins.

The p

1

, p

2

and p

3

parameters specify the decipoint values.

p

n

FUNCTION

p

1

Page

Length

p

2

Top Margin Position From the Beginning of the Page

p

3

Bottom Margin Position From the End of the Page

The maximum page length value is 15840 decipoints (22 inches).

ESC [ p

1

; p

2

<SP> G

Sets the line/character spacing.

ASCII Code

ESC [ p

1

; p

2

<SP> G

Hexadecimal Value

1B 5B p

1

3B p

2

20 47

Decimal Value

27 91 p

1

59 p

2

32 71

This command sets the spacing between lines (p1 parameter) and the horizontal character pitch
(p

2

parameter) in decipoints.

If the vertical spacing value exceeds the current form length, this setting will be ignored.

Advertising