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
Содержание RD-FH5C7
Страница 57: ...C International standard ASCII ...
Страница 60: ......