RD-KT247 thermal printers
29 / 61
[Comment]
•
Settings outside the specified printable area are ignored.
•
In mode 1, n <= 372; In mode 2, n <= 420
[Example]
unsigned char str[4];
str[0] = 0x1B;
str[1] = 0x24;
str[2] = 32;//
SendDataToPrinter (str, 3); // Set the absolute position to 32 horizontal dot pitch from the left
margin
ESC l n
[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;