current printer default parameters.
[Note]
•
The data in the receive buffer is not cleared.
[Example]
unsigned char str[2];
str[0] = 0x1B;
str[1] = 0x40;
SendDataToPrinter(str,2);
LF
[Name]
print and
feed line
[Type]
ASCII
:
LF
Decimal: 10
Hex: 0A
[Explanation]
Print the data in the print buffer and feed one line
[Note]
The command sets the print position to the beginning of the line
[Example]
unsigned char str[2];
str[0] = 0x0A;//
或
str[0] = ‘\n’
SendDataToPrinter(str,1);
CR
[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;
Содержание RD-FH8C7
Страница 41: ...B character set 1 and 2 C International standard ASCII ...
Страница 43: ......