User's Manual Part 2

Table Of Contents
Chapter 5 — Control Code Definitions
6822 Series 80-Column Printer User’s Manual 63
Set Print Position (absolute)
Moves the printhead to an absolute horizontal position on the paper. The
distance is specified in dots from the left margin to the new print position
(at which subsequent characters are printed). Each dot represents 1/60 of
an inch. The values for n1 and n2 determine the distance, as follows:
number of dots = n1 + (n2 * 256)
Maximum position is 480. The previous contents of the current print
buffer is printed.
If the position specified moves the printhead outside the current margins,
the command is ignored and the previous setting remains in effect. This
command is also ignored in right, center, and full justification modes.
Set Print Position (relative)
Moves the printhead to a horizontal position on the paper, relative to the
current printhead position. The distance specified is in dots. To
determine n1 and n2, first calculate the displacement required in
1/120ths of an inch. If the displacement is to the left, subtract it from
65536. The values for n1 and n2 determine the distance, as follows:
number of dots = n1 + (n2 * 256)
Maximum displacement is ±960. If the position specified would place
the printhead outside the current margins, this function is ignored and the
previous setting remains in effect. This function is also ignored in right,
center, and full justification modes.
Format
Decimal Hex ASCII
27 36 n1 n2 1B 24 n1 n2 ESC “$” n1 n2
Format
Decimal Hex ASCII
27 92 n1 n2 1B 5C n1 n2 ESC “\” n1 n2