Printek Emulation
User defined horizontal tab stops are associated with absolute physical positions, not with columns. The tab stops are set relative to the current character spacing, but subsequent changes in character spacing will not affect the physical position of the tab stops (except that the position will be rounded up to the closest character boundary).
Horizontal Tab | HT |
Advances to the next horizontal tab stop. If no tab stop exists between the active column and the right margin, the HT will be ignored. Default tab stops are set at every eighth column, i.e. column 8, 16, 24, 32, 40, etc. Different tab stops may be set with ESC HT.
Control code: | HT |
Hexadecimal: | 09 |
Set Horizontal Tab Stops | ESC HT n1 n2 ... nx NUL |
Clears all currently set horizontal tab stops, and sets new tab stops at column n1, n2, n3, etc. 1≥n≥255. The tab stops must be presented in ascending order. The NUL character, or any tab stop value less than the preceding one, terminates the sequence. The tab stops are set relative to the current character spacing, but subsequent changes in character spacing will not affect the physical position of the tab stops (except that the position will be rounded up to the closest character boundary). The leftmost column is column zero.
Default tab stops are set at every eighth column, i.e. column 8, 16, 24, 32, 40, etc. The tab stops set by ESC HT will replace the default tab stops. ESC HT NUL will clear all tab stops, leaving no tab stops set. The default tab stops are restored by ESC R.
Example: The following escape sequence will set horizontal tab stops at half inch intervals, if character spacing is currently 10 cpi.
Escape Sequence: | ESC | HT | 5 | 10 | 15 | 20 | 25 | 30 | NUL |
Hexadecimal: | 1B | 09 | 05 | 0A | 0f | 14 | 19 | 1E | 00 |
99