A SERVICE OF

logo

EPSON Imaging Technology Center Page: 42
Revision: 1 10/6/00
6.21 Print raster graphics “ESC . c v h m nL nH d1...dk (c=0,1)”
Format:
ASCII ESC . c v h m nL nH dl…dk
Hex 1B 2E c v h m nL nH dl…dk
Decimal 27 46 c v h m nL nH dl…dk
Range of Values for Parameters:
c=0, 1, 2 (for the cases c=2 as in the separate frame)
v=5, 10, 20, 40 (v/3600 dpi)
h=5, 10, 20 (h/3600 dpi)
0
nL
255
0
nH
127
0
d
255
m=1, 8, 24, 47,48 (color mode)
1, 8, 24, 72,144 (black mode)
Function:
1) If c has any value other than the above, this command terminates at the instant
that c is processed.
If v has any value other than the above, or if h has any value other than the above,
this command is ignored.
2) The actual image pattern is generated according to a raster method determined by
the following parameters:
c: printing mode
00H: full graphics mode (non-compressed mode)
01H: run-length encoded compression mode
v: printing density in the vertical direction v/3600 (dpi)
h: printing density in the horizontal direction h/3600 (dpi)
m: number of dots in the vertical direction
nL, nH: number of dots in the horizontal direction 256 x nH + nL (dots)
k: number of items of data = m x int((nH x 256 + nL + 7)/8)
d: data
Full graphics mode (non-compressed mode)
In full graphics mode, all of the data is transferred in raster format. At this time, for the
last data byte on the right, the portion up until the number of dots in the horizontal
direction is valid.
The total amount of data sent is k = int((256 x nH + nL + 7)/8) x m bytes.
256*nH+nL dots
int
((
256*nH+nL+7
)
/8
)
b
y
tes
MSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
LSB
MSBMSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
MSBMSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
MSBMSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
MSBMSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
MSBMSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
MSBMSB
LSB
m
LSB
LSB
LSB
LSB
LSB