RD-KT247 thermal printers
37 / 61
This command can only print the black/white bit-image whose height is 8 dots and width
does not exceed the printable area.
The nL and nH are the low and high bit of double-byte unsigned integer N. They express the
number of the dots of the bit-image on the horizontal direction.
[Reference]
ESC *
[Comment]
• The graphics command is influenced by the character enlargement command.
• When using reverse printing mode, successively print each graphics unit according to the
order of the graphics from bottom to up.
[Example]
unsigned char str[30];
unsigned char i=0;
str[i++] = 0x1B; str[i++] = 0x4B;
str[i++] = 15; //print the graphics whose width is 15 dots
str[i++] = 0x7C; str[i++] = 0x44; str[i++] = 0x44; str[i++] = 0xFF;
str[i++] = 0x44; str[i++] = 0x44; str[i++] = 0x7C; str[i++] = 0x00;
str[i++] = 0x41; str[i++] = 0x62; str[i++] = 0x54; str[i++] = 0xC8;
str[i++] = 0x54; str[i++] = 0x62; str[i++] = 0x41; str[i++] = 0x0D;
SendDataToPrinter(str,i);//send the printing graphics command.
ESC * m nL nH d1…dk
[Name]
Printing graphics command
②
[Type]
ASCII
ESC * m nL nH d1…dk
Decimal:
27 42 m nL nH d1…dk
Hex:
1B 2A m nL nH d1…dk
[Scope]
m = 0, 1, 32, 33
0 ≤nL ≤255
0 ≤nH ≤1
0 ≤d ≤255