[Type]
ASCII
:
ESC
i
Decimal: 27
109
Hex: 1B
6D
[Explanation]
cutter: half cutting
[Comment]
•
This command does not cause feeding line.
•
This command is only used in the printers with cutter.
[Example]
unsigned char str[4];
str[0] = 0x1B;
str[1] = 0x6D;
SendDataToPrinter(str,2);// Send the half-cutting command
ESC K nL nH d1 d2 ……dk
[Name]
Printing graphics command
①
[Type]
ASCII
ESC
K nL nH d1…dk
Decimal:
27 75
nL nH d1…dk
Hex:
1B 4B
nL nH d1…dk
[Scope]
0 ≤nL ≤255
0 ≤nH ≤1
0 ≤d ≤255
[Explanation]
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
Содержание RD-FH8C7
Страница 41: ...B character set 1 and 2 C International standard ASCII ...
Страница 43: ......