Esc [ \ esc / esc, Sets vertical units. (ibm), Sets the relative dot position. (epson) – Compuprint 4247-L03 Programmer Manua User Manual
Page 25
ESC [ \
Sets vertical units. (IBM)
ASCII Code
ESC [ \ m
1
m
2
t
1
... t
4
Hexadecimal Value
X'1B' X'5B' X'5C' m
1
m
2
t
1
... t
4
Decimal Value
27 91 92 m
1
m
2
t
1
... t
4
Range
m
1
= 4
m
2
= 0
0 ≤ t
1
≤
255
0 ≤ t
2
≤
255
t
3
= 0
t
4
= 180 or 216
This command changes the base units for the graphics line spacing commands (ESC J, ESC 3). The
default is 1/216 or 1/180 inch.
ESC /
Selects the Vertical Format Unit (VFU) channel. (EPSON)
ASCII Code
ESC / m
Hexadecimal Value
X'1B' X'2F' m
Decimal Value
27 47 m
Range
0 ≤ m ≤ 7
This sequence selects the VFU channel that you want to use. Eight different channels are available. The
m parameter represents the channel you want to select.
ESC \
Sets the relative dot position. (EPSON)
ASCII Code
ESC \ n
1
n
2
Hexadecimal Value
X'1B' X'5C' n
1
n
2
Decimal Value
27 92 n
1
n
2
Range
0 ≤ n
1
, n
2
≤
255
This command specifies the distance between the current print head position and the position where you
want to print subsequent characters (relative position). The distance is a number of dots and must be
calculated using the following formula:
Current position distance = n
1
+ (n
2
x 256)
where n
2
is the integer result of the number of dots divided by 256 and the n1 is the remainder. The unit of
dots is 1/120 inch for Draft or 1/180 inch for Letter Quality printing. If the distance is negative (Most
Significant Bit of m
2
equal to 1), the print head is moved to the left of the current position by the number of
dots equal to the complement on two of n
1
+ (n
2
x 256).
Chapter 2. EPSON/IBM Mode
9