ESC/ P Command Reference

Table Of Contents
When m = 32, 33, 38, 39, 40
n1 and n2 indicate the number of dot positions.
n1: the remainder from dividing the number of dot positions by 256
n2: the quotient from dividing the number of dot positions by 256
1
st
byte 2
nd
byte 3
rd
byte
First, the data is lined up in three rows as follows:
62
B
7
B
6
B
5
B
4
B
3
B
2
B
1
B
0
Relationshi
p
between the ima
g
e data and the dots
1b
y
te
1b
y
te
1b
y
te
1b
y
te
1b
y
te
1b
y
te
n1n2*256*3 b
y
te
MSB
LSB
B
7
B
6
B
5
B
4
B
3
B
2
B
1
B
0
B
7
B
6
B
5
B
4
B
3
B
2
B
1
B
0
. . . . . . . . . .
.
.
.
.
.
.
1b
y
te
1b
y
te
1b
y
te
1b
y
te
1b
y
te
1b
y
te
MSB
LSB
1b
y
te
1b
y
te
1b
y
te
1b
y
te
1b
y
te
1b
y
te
MSB
LSB