[Type]
ASCII
:
ESC
1
n
Decimal: 27
49
n
Hex: 1B
31
n
[Scope]
0 ≤ n ≤ 255 (The default value of ‘
n
’ is 3)
[Default]
n=3
[Explanation]
Set the line spacing to n vertical dot pitch
[Example]
unsigned char str[4];
str[0] = 0x1B;
str[1] = 0x31;
str[2] = 8;
SendDataToPrinter(str,3);//
Set the line spacing to 8 vertical dot pitch
ESC SP n
[Name]
set the character spacing
[Type]
ASCII
:
ESC
SP
n
Decimal: 27
32
n
Hex: 1B
20
n
[Scope]
0 ≤ n ≤ 255 (The default value of ‘
n
’ is 0)
[Explanation]
Set the character spacing to n horizontal dot pitch
[Example]
unsigned char str[4];
str[0] = 0x1B;
str[1] = 0x20;
str[2] = 8;
SendDataToPrinter(str,3);//
Set the character spacing to 8 horizontal dot pitch
ESC a n
[Name]
Select justification methods
[Type]
ASCII
:
ESC a n
Decimal:
27 97 n
Hex:
1B 61 n
[Scope]
0 ≤ n ≤ 2
[Explanation]
Aligns all the data in one line to the specified position.
n selects the justification as follows:
n
justification methods
0
Left
justification
1
Centering
2
Right
justification
[Comment]
• This command is only valid at the beginning of the line.
[Default]
n=0
[Example]
unsigned char str[4];
str[0] = 0x1B;
str[1] = 0x61;
Summary of Contents for RD-FH8C7
Page 41: ...B character set 1 and 2 C International standard ASCII ...
Page 43: ......