Esc [ p1, Esc [ p1 a, Esc [ p1; p2 s – Compuprint 10200 Programmer Manual User Manual

Page 124: Esc [ p

Advertising
background image

Commands

120

ESC [ p

1

'

Horizontal position absolute (HPA).

ASCII Code

ESC [ p

1

'

Hexadecimal Value

1B 5B p

1

60

Decimal Value

27 91 p

1

96

This command causes the print position to be moved to the decipoint location specified by p

1

.

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

ESC [ p

1

a

Horizontal position relative (HPR).

ASCII Code

ESC [ p

1

a

Hexadecimal Value

1B 5B p

1

61

Decimal Value

27 91 p

1

97

This command causes the print position to be moved to the right relative to the current position.
The p

1

parameter specifies the number of decipoints. This command cannot be used to move

beyond the right margin.

ESC [ p

1

; p

2

s

Left/right margin set (SLR).

ASCII Code

ESC [ p

1

; p

2

s

Hexadecimal Value

1B 5B p

1

3B p

2

73

Decimal Value

27 91 p

1

59 p

2

115

This command sets the left and right margin values. The p

1

parameter specifies the decipoint

value of the left margin. The p

2

parameter specifies the decipoint value of the right margin value.

The default value for the left margin is 0 while for the right margin it is the maximum width
supported by the printer configuration (that is 13.6*720=9792).

Advertising