Chapter
2
Configuring The ANSI Emulation
Line Spacing
ASCII Code ESC [p1;p2 SP G
Hex Code
Dec Code
Expression CHR$(27);"[p1;p2 G";
Purpose
Discussion Horizontal spacing (p2) is dependent on the font selected.
36
For Gothic NLQ font underlined:
ESC [4;13m
To cancel underlining and retain Gothic NLQ
send one of the following:
ESC [;13m
ESC [0m
ESC [0;13m
ESC [;m
1B 5B p1 3B p2 20 47
27 91 p1 59 p2 32 71
Sets line spacing (p1) and character spacing or pitch (p2) in
decipoints.
Values outside the range of a particular font will be ignored.
Commonly used line spacings are listed in Table 5 and Table 6.
Table 5. Common p1 Values
LPI
p1 (decipoints)
3
4
6
8
Table 6. Common p2 Values
CPI
p2 (decipoints)
10
12
13.3
15
16.7
240
180
120
90
72
60
54
48
43
Need help?
Do you have a question about the ANSI Printer and is the answer not in the manual?
Questions and answers