Esc [ p1, Esc [ p1 a, Esc [ p1; p2 s – Compuprint 4247-L03 Programmer Manua User Manual
Page 89: Esc [ p1 j, Esc [ p, Horizontal position relative (hpr) (ansi), Horizontal position absolute (hpa) (ansi), Horizontal position backward (hpb) (ansi), Left/right margin set (slr) (ansi), Horizontal tab (ansi)

ESC [ p
1
'
Horizontal position absolute (HPA).
ASCII Code
ESC [ p
1
'
Hexadecimal Value
X'1B' X'5B' p
1
X'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
X'1B' X'5B' p
1
X'61'
Decimal Value
27 91 p
1
97
This command moves the print position 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
X'1B' X'5B' p
1
X'3B' p
2
X'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. The value for the right margin is the maximum width supported by the printer
configuration (that is 13.6*720=9792).
ESC [ p
1
j
Horizontal position backward (HPB).
ASCII Code
ESC [ p
1
j
Hexadecimal Value
X'1B' X'5B' p
1
X'6A'
Decimal Value
27 91 p
1
106
This command causes the current horizontal position to be moved backwards as specified by the p
1
parameter (decipoints).
HT
Horizontal tab.
ASCII Code
HT
Hexadecimal Value
X'09'
Decimal Value
9
This code causes the print head to be moved to the next tab stop.
Chapter 4. ANSI Emulation Commands
73