Esc k 8-dot single-density bit image, Esc k, Dot single-density bit image – Brother RJ-4040 User Manual
Page 67

ESC/P Command Reference
- 61 -
5. Control Command Details
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
0≤n1≤255, 0≤n2≤3
The data contains n1+n2*256 bytes of image data.
Description
Specifies that an 8-dot single-density bit image is printed with the number of dot positions indicated 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
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 image data is enlarged to 4 dots vertically by 4 dots horizontally.
As a result, the image is 32 dots vertically by (n1+n2*256)*4 dots horizontally.