218 | Epson |
|
| ||||
|
|
|
|
|
|
|
|
|
| ESC B |
|
|
| Set Multiple Vertical Tabs |
|
|
|
|
|
|
|
|
|
|
| ASCII: | ESC | B | (n1)...(n16) | NUL |
|
|
| Control: | CTRL [ | B | (n1)...(n16) | CTRL @ |
|
|
| Decimal: | 27 | 66 | (n1)...(n16) | 0 |
|
|
| Hexadecimal: | 1B | 42 | (n1)...(n16) | 00 |
|
Sets vertical tabs to the specified lines. Note that this control command is terminated with a null byte. n denotes the line number for each tab. The valid entries for n are from 2 to the bottom line on the page, as specified by the form length setting. Send the values of n in ascending order. An out of order tab value is interpreted as a terminator.
The tab positions set by ESC B are the same as those set by ESC b (0), vertical tab channel zero.
ESC B and ESC b clear all existing vertical tabs. Therefore, to add one tab, you must include all existing tabs, plus the new one. Use ESC B or ESC b to set the tabs. Use the Vertical Tab control code, VT, to cause the printer to tab to each subsequent tab.
Example
REM SET VERTICAL TABS TO LINES 5 TO 10
LPRINT CHR$(27);"B";CHR$(5);CHR$(10);CHR$(0);
ESC b |
|
|
|
| Set Vertical Tab Channel |
ASCII: | ESC | b | (m) | (n1)...(n16) | NUL |
Control: | CTRL [ | b | (m) | (n1)...(n16) | CTRL @ |
Decimal: | 27 | 98 | (m) | (n1)...(n16) | 0 |
Hexadecimal: | 1B | 62 | (m) | (n1)...(n16) | 00 |
Sets vertical tabs to the specified lines for the vertical tab Channel m. Note that this control sequence is terminated with a null byte. m denotes the tab channel. The valid entries for m are 0 to 7. n denotes the line number for each tab. The valid entries for n are from 2 to the bottom line on the page, as specified by the form length setting. Send the values of n in ascending order. An out of order tab value is interpreted as a terminator.
Note: The tab positions for Channel 0 can also be set with ESC B.