RD-KT247 thermal printers
28 / 61
(Decimal)
0
Does not rotate
1
90 degrees (Counterclockwise rotation)
2
180 degrees (Counterclockwise rotation)
3
270
degrees (Counterclockwise rotation)
[Note] Under the 90 degrees or 270 degrees rotation mode, the character width and height
magnification direction is opposite to the magnification direction of the general mode.
[Default] n=0
[Example]
unsigned char str[3];
str[0] = 0x1C;
str[1] = 0x49;
str[2] = 1;//
set 90 degrees rotation
SendDataToPrinter(str, 3);
ESC
$ nL nH
[Name]
Set absolute print position
[Type] ASCII
:
ESC $ nL nH
Decimal:
27 36 nL nH
Hex:
1B 24 nL nH
[Scope]
0 ≤
n
L + (
n
H x 256)
< 384
[Explanation] Set the distance from the beginning of the line to the position at which
subsequent characters are to be printed.
The distance from the beginning of the line to the printing position is N horizontal dot pitch
The nL and nH are the low and high bit of double-byte unsigned integer N .
N=nL + nH×256