REGO Thermal Printer Technical Manual
www.regotek.com
10
[Format]
ASCII
ESC 2
Hex
1B
32
Decimal
27
50
[Description]
Set the line height to 4 mm ,1/6"-.
[Notes]
Line height is independent in standard mode and page mode.
[Reference]
ESC 3
ESC 3 n Set line height
[Name]
Set line height
[Format]
ASCII
ESC 3
n
Hex
1B
33
n
Decimal
27
51
n
[Range]
0 ≤ n ≤ 255
[Description]
Set the line height to [n ×(vertical or horizontal motion unit)].
[Notes]
Maximum amount is 1016 mm (40’’).
[Default]
Default line height is 4mm (about 1/6 inch).
[Reference]
ESC 2, GS P
[Example]
char SendStr[29]
={0x31,0x32,0x33,0x0A,0x31,0x32,0x33,0x0A,0x1B,0x33,0xFF,0x31,0x32,0x33,0x0
A,0x31,0x32,0x33,0x0A,0x1B,0x32,0x31,0x32,0x33,0x0A,0x31,0x32, 0x33,0x0A};
ESC SP n Set right-side character spacing
[Name]
Set right-side character spacing
[Format]
ASCII
ESC
SP
n
Hex
1B
20
n
Decimal
27
32
n
[Range]
0 ≤ n ≤255
[Description]
Sets the right-side character spacing to [n × horizontal or vertical motion unit].
[Notes]
The maximum amount is 255/203 inches.
[Default]
n = 0
[Reference]
GS P
[Example]
char SendStr[11] = {0x31,0x32,0x33,0x0A,0x1B,0x20,0x08,0x31,0x32,0x33,0x0A};
SendData(SendStr, 11);
123
123
123
123
123
123
123
1 2 3