RD-KT247 thermal printers
20 / 61
[Name] print and
carriage return
[Type] ASCII
:
CR
Decimal:
13
Hex:
0D
[Explanation] Print the data in the print buffer and
carriage return
[Reference]
LF
[Example]
unsigned char str[2];
str[0] = 0x0D;//
或
str[0] = ‘\r’
SendDataToPrinter(str,1);
ESC J
[Name]
print and feed paper
[Type] ASCII
:
ESC
J
n
Decimal:
27
74 n
Hex:
1B
4A n
[Explanation]Print the data in the print buffer and feeds forward paper
[
n
ⅹ
0.125mm(0.0049”)].
[Comment]
•
After printing is finished, the command sets the print starting position to the beginning of
the line
.
[Scope]
0 ≤
n
≤ 255
[Example]
unsigned char str[3];
str[0] = 0x1B;
str[1] = 0x4A;
str[2] = 0x4;
SendDataToPrinter(str,3);//
feeds forward paper 0.5mm