• •
The Function Codes
~
-
..
-
• •
position. Upon power "on;' the horizontal tab
•
locations are set to columns 10, 20, 30, etc.
•
PURPOSE:
Set the horizontal tab positions.
FORMAT:
ESC "0"
n1, n2, n3 . ..
0
•
CHR$(27) CHR$(68) CHR$(n1)
CH
R$(n2) . ..
CH R$(O)
•
REMARKS:
When the ESC "0" ... command is sent to the
printer, the existing horizontal tab positions are
•
cancelled. The new horizontal tab positions are
set to print column
n1, n2, n3, . ..
The maximum
•
number of horizontal tabs is 255. The CHR$(O)
code must be at the end of this command. The
•
value of
n1
must be less than
n2, n2
must be
less than
n3,
etc.
•
EXAMPLE:
LPRINT CHR$(27);"M";CHR$(5);CHR$(27);
"Q";CH R$(70);
•
LPRINT CHR$(27);"0";CHR$(10);CHR$(30);
CHR$(O)
•
... sets the left-hand margin at print column 5,
sets the right-hand margin at print column 70,
and sets the two horizontal tab positions: one
•
at print column 10, and the other at print
column 30.
•
PURPOSE:
Move the print head back one space.
•
FORMAT:
BS
•
CHR$(8)
REMARKS:
When the BS code is sent to the printer, the
•
print head is shifted one print column to the
left. The BS code can be used to overprint
characters.
• •
PURPOSE:
Send
a
one·time·only horizontal tab of
n
columns.
•
FORMAT:
ESC b
n
CHR$(27) CHR$(98) CHR$(n)
I
135