IBM Proprinter Emulation
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 9, 17, 25, 33, 41, etc. Different tab stops may be set with ESC D.
Control code: | HT |
Hexadecimal: | 09 |
Set Horizontal Tab Stops | ESC D 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 one.
Default tab stops are set at every eighth column, i.e. column 9, 17, 25, 33, 41, etc. The tab stops set by ESC D will replace the default tab stops. ESC D 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 | D | 6 | 11 | 16 | 21 | 26 | 31 | NUL |
Hexadecimal: | 1B | 44 | 06 | 0B | 10 | 15 | 1A | 1F | 00 |
55