Citizen CBM1000 Printer User Manual


 
— 45 —
10.2.2 Command Details
HT
[Function] Horizontal tab
[Code] <09>H
[Outline] Shifts the printing position to the next horizontal tab position.
Ignored when the next horizontal tab position has not been
set.
[Caution] • The horizontal tab position is set by ESC D.
• The initial setting of horizontal tab positions is at intervals of
8 characters for font A at 9th, 17th, 25th, 33rd, columns.
[See Also] ESC D
[Sample Program]
[Printing Result]
12345678901234567890
AAA BBB
← Initially set horizontal tab
AAA BBB CCC ← When set to the 4th, 8th, and 15th columns
LPRINT “0123456789012345678901”;
LPRINT CHR$(&HA);
LPRINT CHR$(&H9) + “AAA”;
LPRINT CHR$(&H9) + “BBB”;
LPRINT CHR$(&HA) ;
LPRINT CHR$(&H1B) + “D”;
LPRINT CHR$(3) + CHR$(7) + CHR$(14) + CHR$(0);
LPRINT CHR$(&H9) + “AAA”;
LPRINT CHR$(&H9) + “BBB”;
LPRINT CHR$(&H9) + “CCC” + CHR$(&HA) ;
END