_ _ _ _ _ _ _ _ _ _ CHAPTER 3
PROGRAMMING
LINE SPACING
The default line spacing for the IBM-compatible ML182/183 printer
is 6 lines per inch. This means that when the printer power is
turned on, the spacing from the bottom of one line to the bottom
of the next line on the same page is automatically set to 1/6 inch.
This is also the normal spacing of a standard typewriter.
You can change the line spacing to 8 lines per inch to fit more lines
of printing per page, and for special effects, you can also vary line
spacing in multiples of 1/72 or 1/126 inch. This affects space be
tween lines only, not the height of the characters.
ASCII
DeCimal
Hexadecimal
ESC 0
CHR$(27);CHR$(48)
1 B 30
The ESC 0 command sets line spacing to 1/8 inch.
ASCII
Decimal
Hexadecimal
ESC
1
CH R$(2 7);CH R$(49)
1 B 31
The ESC 1 command sets line spacing to 7/72 inch.
ASCII
Decimal
Hexadecimal
ESC An
CHR$(27);CH R$(65);
lB41 01-55
CHR$(l - 85)
The ESC A command is a user-selectable line space setting that
enables you to choose a setting in increments of 1/72 inch. You can
select a maximum line space setting of 85/72 inches, which is the
equivalent of one printed line every 1-13/72 inches.
ASCII
. : . . Decimal
. . . . .
Hexadeci mal
ESC 2
CH R$(2 7);CH R$(50)
1 B 32
47