ESC/P Command Reference
- 56 -
5. Control Command Details
When m=0, 1, 2, 3, 4, 6
z
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
B7
B6
B5
B4
B3
B2
B1
B0
Relationship between the image data and the dots
z
First, the data is lined up in one row as follows:
1b
yte
1b
yte
1b
yte
1b
yte
…
1b
yte
1b
yte
n1
+
n2*256 bytes
MSB
LSB
z
One dot of the image data is enlarged as follows, according to the value of m.
m
=0
m
=1
m
=2
m
=3
m
=4
m
=6
z
As a result, the image is sized depending on the value of m, as follows:
m=0
32 dots vertically×(n1+n2*256)*4 dots horizontally
m=1
32 dots vertically×(n1+n2*256)*2 dots horizontally
m=2
32 dots vertically×(n1+n2*256)*2 dots horizontally
m=3
32 dots vertically×(n1+n2*256)*1 dots horizontally
m=4
32 dots vertically×(n1+n2*256)*3 dots horizontally
m=6
32 dots vertically×(n1+n2*256)*3 dots horizontally