Vertical Tab Stops

 

 

 

 

ESC B

 

 

 

 

 

Data Structure ASCII

ESC "B"

<n1>...<n16> NUL

set vertical tab stops

hex.

1B

42

<n1>...<n16> 00

 

 

dec.

27

66

<n1>...<n16> 0

 

 

ASCII

ESC "B"

NUL

reset all vertical tab stops

hex.

1B

42

00

 

 

dec.

27

66

0

 

 

Description By means of this code sequence a maximum of 16 vertical tab stops can be set.

For example,

CHR$(27);"B";CHR$(1);CHR$(11);CHR$(21);CHR$(0);

sets vertical tab stops at lines 1, 11 and 21, line 1 being the first line of the page.

Tab stops are set in those positions which are specified by character codes following ESC B. These character codes must be arranged in ascending order.

The length of this code sequence varies according to the number of tab stops being set. Code <NUL> (hex. 00) is used as a terminator to signal the end of the data string.

If any character code with a smaller numeric value than the preceding is among those codes, the code with the smaller value is ignored. Vertical tab stops set by this sequence remain effective until code sequence ESC B is received again or form length is changed by ESC C.

A vertical tabulation is executed by the VT control code (hex.0B, dec.11).

This code sequence cancels all previous tab stops.

For example,

CHR$(27);"B";CHR$(0) clears all vertical tab stops.

Print Positioning 55

Page 138
Image 138
Tally Genicom Matrix Printer manual Esc B, Ascii ESC B NUL