ESC/ P Command Reference

Table Of Contents
37
ESC K 8-dot single-density bit image
[ASCII] ESC K n1 n2 data
[Decimal] 27 75 n1 n2 data
[Hexadecimal] 1B 4B n1 n2 data
[Parameters] 0n1255, 0n2255
The data contains image data that is n1 + n2 * 256 bytes.
[Description]
Specifies that an 8-dot standard-density bit image will be printed with the number of dot
positions defined by n1 and n2.
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 shown below.
One dot of the image data is enlarged to 6 dots vertically by 6 dots horizontally.
As a result, the image becomes 48 dots vertically × (n1 + n2 * 256) * 6 dots horizontally.
B7 B6 B5 B4 B3 B2 B1 B0
Relationshi
p
between the ima
g
e data and the dots
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
n1+n2*256 b
y
te
MSB
LSB