RD-KT247 thermal printers
51 / 61
str[i++] = 0x27;
str[i++] = 0x5;//
打印
5
条曲线
str[i++] = 0x0;
str[i++] = 50+m_cur2;
str[i++] = 0;
str[i++] = 50-m_cur2;
str[i++] = 0;
str[i++] = 50;
str[i++] = 0;
str[i++] = 50+m_cur1;
str[i++] = 0;
str[i++] = 50-m_cur1;
str[i++] = 0;
str[i++] = 0x0D;
SendDataToPrinter(str,i);//
}
[Print results]
ESC v
[Name]
Send the printer’s status to the host
[Type] ASCII
:
ESCv
Decimal:
27
118
Hex:
1B
76
[Explanation]
Send the printer’s status to the host
[Note] It is only effective for the printer with serial interface
Bit
Function
Value
0
1
0
Paper detector
No paper
Have paper
1
Work status
Idle
Printing
2
Receiving buffer
No full
Full