Specifications

Rev. A Command Descriptions 1-27
TM–U375/U375P Information Manual
HT
[Name] Horizontal tab
[Format] ASCII HT
Hex 09
Decimal 9
ESC D n1 ... nk NUL
[Name] Set horizontal tab positions
[Format] ASCII ESC D n1 ... nk NUL
Hex 1B 44 n1 ... nk 00
Decimal 27 68 n1 ... nk 0
[Range] 1 n 255
0 k 32
HT moves the print start position to the next horizontal tab. This command is ignored unless the next
horizontal tab position has been set.
ESC D n1 ... nk NUL sets a horizontal tab to the left margin or n columns from the beginning of a line,
with k indicating the total number of horizontal tab positions to be set. A maximum of 32 tab
positions can be set. This command cancels any previous horizontal tab settings. The default tab
positions are every eight characters for the 7 × 9 font.
Program Example Print Sample
PRINT #1, "0123456789012345678901234567890123456";
PRINT #1, CHR$(&HA);
GOSUB ht
PRINT #1, CHR$(&H1B);"D";CHR$(10);CHR$(20);
CHR$(30);CHR$(0);
GOSUB ht
END
ht:
FOR i=1 TO 4
PRINT #1, CHR$(&H9); "H";
NEXT i
PRINT #1, CHR$(&HA);
RETURN
0123456789012345678901234567890123456
HHHH
HHHH
↑↑
8162432
Tab
position
10
Default
Tab
position
30
Tab
position
20