RD-KT247 thermal printers
40 / 61
Program code is as follows:
unsigned char str[100];
j=0;
str[j++] = 0x1B;
str[j++] = 0x2A;
str[j++] = 1; //m=1(height is 8 dots, don’t enlarge)
str [j++] = 8; //the graphic width is 8dots
str [j++] = 0;//bit image data
str[j++] = 0x00;str[j++] = 0x80;str [j++] = 0xFF;str[j++] = 0x90;str[j++] = 0x98;
strr[j++] = 0x96;str[j++] = 0x61;str[j++] = 0x00;str[j++] = 0x0D; ;//print the graphic
SendDataToPrinter(str,j);
0
1
1
1
1
1
0
0
b7
0
0
1
0
0
0
1
0
b6
0
0
1
0
0
0
1
0
b5
0
0
1
1
1
1
0
0
b4
0
0
1
0
1
0
0
0
b3
0
0
1
0
0
1
0
0
b2
0
0
1
0
0
1
0
0
b1
0
0
1
0
0
0
1
0
b0