3 print position commands – CITIZEN CT-S300 User Manual
Page 36

— 31 —
2.2.3 Print Position Commands
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.
[Default]
At the selection of font A, tabs are set every 8 characters (at 9th, 17th, 25th, ...) with
right space amount of a character set at 0 and horizontal enlargement rate of a
character set at 1.
[See Also]
ESC D
[Sample Program]
LPRINT "012345678901234567890";CHR$(&HA);
LPRINT CHR$(&H9);"AAA";
LPRINT CHR$(&H9);"BBB";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);
[Printing Result]
12345678901234567890
AAA
BBB
← Initially set horizontal tab
AAA
BBB
CCC
← When set to the 4th, 8th, and 15th columns