Print Position Commands - Citizen CT-S300 Command Reference Manual

Line thermal printer
Hide thumbs Also See for CT-S300:
Table of Contents

Advertisement

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
AAA
BBB
BBB
CCC
— 31 —
Initially set horizontal tab
When set to the 4th, 8th, and 15th columns

Advertisement

Table of Contents
loading

Table of Contents