Epson Commands
PcOS Series 80PLUS
Programmer's Guide
Command Descriptions
Page 86
Rev B 4/13/99
Function
Set column
[A]
ASCII
ESC
DC4
n
Hexadecimal
1BH
14H
n
Decimal
<
27>
<20>
n
Range
1
≤
n
≤
44 (Standard pitch)
1
≤
n
≤
57 (Compressed pitch)
Description
This command prints the first character of the next print line in column
n
.
It must be sent for each line not printed at column one. The value of
n
is
set to one after each line.
Function
Set printing area in page mode
[E]
ASCII
ESC
W
x
L
x
H
y
L
y
H
dx
L
dx
H
dy
L
dy
H
Hexadecimal
1BH
57H
x
L
x
H
y
L
y
H
dx
L
dx
H
dy
L
dy
H
Decimal
<27>
<87>
x
L
x
H
y
L
y
H
dx
L
dx
H
dy
L
dy
H
Range
0
≤
x
L
, x
H
, y
L
, y
H
, dx
L
, dx
H
, dy
L
, dy
H
≤
255
(except for dx
L
= dx
H
= 0 or dy
L
= dy
H
= 0)
Description
ESC W sets the size and position of the printing area in page mode as
follows:
Horizontal starting position = [(x
L
+ x
H
x 256) x (horizontal motion unit)]
Vertical starting position = [(y
L
+ y
H
x 256) x (vertical motion unit)]
Printing area width = [(dx
L
+ dx
H
x 256) x (horizontal motion unit)] inches
Printing area height = [(dy
L
+ dy
H
x 256) x (vertical motion unit)] inches
The default settings are as follows: x
L
= x
H
= y
L
= y
H
= 0 and
dx
L
= 0, dx
H
= 2, dy
L
= 126, dy
H
= 6
This command is enabled only in page mode. If this command is entered in
standard mode, an internal flag is activated, and the command is enabled
when the printer selects page mode.
Function
Set print direction in page mode
[E]
ASCII
ESC
T
n
Hexadecimal
1BH
54H
n
Decimal
<27>
<84>
n
Range
0
≤
n
≤
3, 48
≤
n
≤
51
Description
ESC T
n
sets the print direction and starting position in page mode
specified by
n
as shown below. The default setting is
n
= 0. This command
is enabled only in page mode. If this command is entered in standard
mode, an internal flag is activated, and the command is enabled when the
printer returns to page mode.
n
Print Direction
Starting Position
0, 48
Left to right
Upper left (A in figure)
1, 49
Bottom to top
Lower left (B in figure)
2, 50
Right to left
Lower right (C in figure)
3, 51
Top to bottom
Upper right (D in figure)