Download Print this page

OKIDATA Microline 93 User Manual page 107

Okidata microline personal printer user's manual

Advertisement

-------~-----
Bells
and Whistles
INDENTING
This
feature
lets
you indent one
line
of
print
for
the be-
ginning of
paragraphs, positioning headings,
etc.
The
amount
of
indentation is
figured
in
dot columns:
the
distance
from
the
center·
of one dot
to the
center of
the next
within a char-
acter
pattern
.
This distance
is different
for
different
character
sizes;
the
following
table
shows
the measurements
for each
size:
Character Width
10 CPI
12 CPI
Width
of
Dot Column
1
/120"
1
/
144"
Use
this
code sequence for
indenting:
ESC
%
B
CHR$(27);CHR$(37);
Col.#;
CHR$(66);"Col.#";
-
indents
one
line by the
specified
number
of
dot columns
17.1 CPI
1
/
206"
1 B 25 42
Col.# (hex)
NOTE: The number of dot columns must contain four digits
and
cannot be past
the right margin. If
you're
programming in hexadecimal, keep in mind that each
digit must be represented by a
two-digit
hexadecimal number. Be sure to include
the semicolon at the end of this code sequence; otherwise the command will not
work.
Sample program for indenting:
10 LPRINT
CHR$(27);CHR$(37);CHR$(66);"0030";
"This
line
is
indented
30
dot columns."
20
LPRINT
"This
line is not indented
."
This is the
result:
This line is
indented 30
dot columns
This
line
is not
indented.
Try adding
lines,
at
the beginning to change
character width
and compare
at12CPI:
This
line is indented 30 dot columns
This
line is not indented.
101

Advertisement

loading

This manual is also suitable for:

Microline 92