Horizontal Positioning Commands; Horizontal Tab; Set Column - NCR 7158 Owner's Manual

Thermal receipt and impact printer
Table of Contents

Advertisement

Horizontal Positioning Commands

The horizontal positioning commands control the horizontal print
positions of characters on the receipt and slip.

Horizontal Tab

ASCII:
Hexadecimal:
Decimal:
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 (both slip and
receipt.) HT has no effect in page mode. Printer initialization sets 32
tabs at column 9, 17, 25, ...

Set Column

ASCII:
Hexadecimal:
Decimal:
Value of n:
1 - 44 (Standard)
1 - 56 (Compressed)
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.
Exceptions:
The command cannot be used with Single- or Double-Density graphics.
HT
09
9
ESC DC4 n
1B 14 n
27 20 n
Receipt
Chapter 7: Programming Guide 7-45
Slip
1 - 66 (Standard)
1 - 80 (Compressed)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents