[Name]
set the left margin
[Type] ASCII
:
ESC
1 n
Decimal:
27
108
n
Hex:
1B
6C n
[Scope]
0 ≤n ≤ 32
[Explanation]
The left margin is the number of characters, which isn’t printed on the left side
of the printing paper.
The distance from the beginning of the line to the printing position is the width of
n English characters.
[Comment]
•
If the printing position is outside the printable area, the command is ignored.
•
The width of the character includes the default character width of the character
spacing
[Example]
unsigned char str[4];
str[0] = 0x1B;
str[1] = 0x6C;
str[2] = 3;//
SendDataToPrinter (str, 3); // the left position is set to the width of 3 English
characters from the left margin
ESC
Q n
[Name]
set the right margin
[Type] ASCII
:
ESC
Q n
Decimal:
27
81 n
Hex:
1B
51 n
Содержание RD-FH5C7
Страница 57: ...C International standard ASCII ...
Страница 60: ......