42
Chapter
2
Configuring The ANSI Emulation
Tab Set, Multiple Horizontal
ASCII Code
ESC [
p1
;
p2...
;
pn
u
Hex Code
1B 5B
p1
3B
p2 ...
3B
pn
75
Dec Code
27 91
p1
59
p2 ...
59
pn
117
Expression
CHR$(27);“[
p1
;
p2...
;
pn
u”
Purpose
Sets up to 22 horizontal tabs. The
p
parameters are set in
decipoints and are normally converted internally to the nearest
equivalent column position based on the current CPI setting. The
absolute decipoint value is used when the printer is printing
proportional characters.
Discussion
Example: Placing tabs at columns 10, 20, and 40 at 10 CPI.
ESC [648;1386;2808u
p
in decipoints = (column number minus 1) times (decipoints per
column)
(10 - 1)(72) = 648 First printed character is in column 10
(20 - 1)(72) = 1368 First printed character is in column 20
(40 - 1)(72) = 2808 First printed character is in column 40
Appendix B contains a conversion table for decipoint
calculations.
If more than 22 tabs are set, the highest numbered tabs (farthest
right) will be pushed out of the table. Tabs set beyond the right
margin are not usable. Moving the right margin beyond these
settings will make them active.
Control code HT (09H) moves the print position to the next
preset location. If no tabs are set, a space is substituted. If there
are tabs set but none between the current position and the right
margin, the current position will become the right margin.
Table 8. Decipoints per Column
CPI
Spacing in
Decipoints
10
72
12
60
13.3
54
15
48
16.7
43
Содержание P7000 H-Series
Страница 1: ...ANSI Programmer s Reference Manual ...
Страница 2: ......
Страница 3: ...Programmer s Reference Manual ANSI Printers ...
Страница 8: ...Table of Contents ...
Страница 22: ...22 Chapter 1 Installing Printer Emulations ...
Страница 60: ...60 Chapter 2 Oversize Character Font Option ...
Страница 76: ...76 Chapter 3 ANSI EVFU ...
Страница 78: ...78 Appendix A ...
Страница 86: ...86 Appendix B ...
Страница 102: ...102 Appendix C ...
Страница 106: ...106 ...
Страница 107: ......