ESC/ P Command Reference

Table Of Contents
When m=0, 1, 2, 3, 4, 6
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
First, the data is lined up in one row as follows:
One dot of the image data is enlarged as follows according to the value of m.
As a result, the image is sized depending on the value of m as follows:
m = 0 48 dots vertically x (n1 + n2 *256) * 6 dots horizontally
m = 1 48 dots vertically x (n1 + n2 *256) * 3 dots horizontally
m = 2 48 dots vertically x (n1 + n2 *256) * 3 dots horizontally
m = 3 48 dots vertically x (n1 + n2 *256) * 2 dots horizontally
m = 4 48 dots vertically x (n1 + n2 *256) * 4 dots horizontally
m = 6 48 dots vertically x (n1 + n2 *256) * 4 dots horizontally
61
B7 B6 B5 B4 B3 B2 B1 B0
Relationshi
p
between the ima
g
e data and the dots
1byte
1byte
1byte
1byte
1byte
1byte
n1n2*256 b
y
te
MSB
LSB
m=0 m=1 m=2 m=3 m=4 m=6