ESC/ P Command Reference

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