Esc r, Esc sp, Esc x – Compuprint 4247-L03 Programmer Manua User Manual
Page 33: Esc sp esc x, Sets intercharacter space. (epson), Sets left and right margins. (ibm)

ESC R
Sets horizontal and vertical tab stops to default values. (IBM)
ASCII Code
ESC R
Hexadecimal Value
X'1B' X'52'
Decimal Value
27 82
This command sets horizontal tab stops every eight columns starting from column 9 and cancels all
vertical tab stops.
ESC SP
Sets intercharacter space. (EPSON)
ASCII Code
ESC SP n
Hexadecimal Value
X'1B' X'20' n
Decimal Value
27 32 n
Range
0 ≤ n ≤ 225
This command sets the intercharacter space to n/120 inch in Draft printing and n/180 inch in Quality
printing.
ESC X
Sets left and right margins. (IBM)
ASCII Code
ESC X n
1
n
2
Hexadecimal Value
X'1B' X'58' n
1
n
2
Decimal Value
27 88 n
1
n
2
Range
0 ≤ n ≤ 134 (left margin)
2 ≤ n ≤ 136 (right margin)
This command sets the left and right margins at the same time. The n
1
and n
2
parameters indicate
respectively the number of columns for the left and right margins at the current spacing. These margins
are retained in terms of absolute displacement from the physical left edge of the page. Use a CR
immediately after ESC X n to establish the print head position relative to the new margin setting.
If n
1
is equal to 0, the current left margin of the page is used. If n
2
is equal to 1, the current right margin of
the page is used. The left margin value must be less than the right margin value. The right margin value
must not exceed the physical right edge of the paper; otherwise the maximum acceptable value for the
right margin will be set.
Chapter 2. EPSON/IBM Mode
17