36
Chapter
2
Configuring The ANSI Emulation
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
Line Spacing
ASCII Code
ESC [
p1
;
p2
SP G
Hex Code
1B 5B
p1
3B
p2
20 47
Dec Code
27 91
p1
59
p2
32 71
Expression
CHR$(27);“[
p1
;
p2
G”;
Purpose
Sets line spacing (
p1
) and character spacing or pitch (
p2
) in
decipoints.
Discussion
Horizontal spacing (
p2
) is dependent on the font selected.
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
240
4
180
6
120
8
90
Table 6. Common
p2
Values
CPI
p2
(decipoints)
10
72
12
60
13.3
54
15
48
16.7
43
Summary of Contents for ANSI Printer
Page 1: ...Programmer s Reference Manual ANSI Printers ...
Page 2: ......
Page 3: ...164305 001D Programmer s Reference Manual ANSI Printers ...
Page 7: ...Table of Contents B Conversion Tables 77 C Glossary 85 ...
Page 8: ...Table of Contents ...
Page 22: ...22 Chapter 1 Installing Printer Emulations ...
Page 58: ...58 Chapter 2 Oversize Character Font Option ...
Page 74: ...74 Chapter 3 ANSI EVFU ...
Page 76: ...76 Appendix A ...
Page 84: ...84 Appendix B ...
Page 100: ...100 Appendix C ...
Page 104: ...104 ...
Page 105: ......