Tab Set, Multiple Horizontal - Printronix P7000 Programmer's Reference Manual

Ansi programmer’s reference manual
Hide thumbs Also See for P7000:
Table of Contents

Advertisement

Chapter
2
Configuring The ANSI Emulation

Tab Set, Multiple Horizontal

ASCII Code ESC [ p1 ; p2... ; pn u
Hex Code
Dec Code
Expression CHR$(27);"[ p1 ; p2... ; pn u"
Purpose
Discussion Example: Placing tabs at columns 10, 20, and 40 at 10 CPI.
42
1B 5B p1 3B p2 ... 3B pn 75
27 91 p1 59 p2 ... 59 pn 117
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.
Table 8. Decipoints per Column
CPI
10
12
13.3
15
16.7
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.
Spacing in
Decipoints
72
60
54
48
43

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the P7000 and is the answer not in the manual?

Questions and answers

Table of Contents