7197 Series II Owner’s Guide Chapter 6: Commands
August 2011
93
Horizontal Positioning Commands
The horizontal positioning commands control the horizontal print positions of characters
on the receipt.
Horizontal Tab
ASCII:
HT
Hexadecimal:
09
Decimal:
9
Moves the print position to the next tab position set by the Set Horizontal Tab Positions
(1B 44 n1 n2 ... 00) command. The print position is reset to column one after each line.
Tab treats the left margin as column one, therefore changes to the left margin will move
the tab positions.
When there are no tabs defined to the right of the current position, or if the next tab is past
the right margin, line feed is executed . HT has no effect in page mode. Printer
initialization sets 32 tabs at column 9, 17, 25, … (Every 8 characters)
Example:
MSComm1.Output = Chr$(&H09)
Set Column
ASCII: ESC DC4 n
Hexadecimal: 1B 14 n
Decimal:
27 20 n
Value of n:
1-44 (Standard, 80 mm) 1-32 (Standard, 58 mm)
1-56 (Compressed, 80
mm)
1-42 (Compressed, 58 mm)
Default of n:
1
Prints the first character of the next print line in column n. It must be sent for each line not
printed at column one. The value of n is set to one after each line.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H14) & Chr$(n)
Exceptions:
The command cannot be used with Single- or Double-Density graphics.