2001/10/02
CHAPTER 7 IBM PROPRINTER - 12
Line spacing and tabs
Set 1/8" line spacing
Esc0
(27)(48)
<1Bh><30h>
This command sets the line spacing to 1/8". All subsequent line feed operations will move the print
position 1/8" down the page.
LPRINT CHR$(27); CHR$(48); 'Set line spacing to 1/8".
Set 7/72" line spacing
Esc1
(27)(48)
<1Bh><31h>
•
This command sets the line spacing to 7/72". All subsequent line feed operations will move the print
position 7/72" down the page.
•
Since the printer's resolution is 600 dots per inch the line spacing will not be exactly 7/72".
LPRINT CHR$(27); CHR$(49); 'Set line spacing to 7/72".
Save n/72" line spacing
EscAn
(27)(65)n
<1Bh><41h>n
•
This command allows you to select a line spacing of
n
/72". Your selection does not take effect until
you activate it with the
Esc 2
command.
•
Since the printer's resolution is 600 dots per inch the line spacing may not be exactly
n
/72".
•
n
must be in the range 1 to 85.
•
If n is outside the range 1 to 85 the default line spacing, 1/6" is selected.
LPRINT CHR$(27); CHR$(65); CHR$(10); 'Select line spacing of 10/72".
Activate n/72" line spacing
Esc2
(27)(50)
<1Bh><32h>
This command allows you to activate the line spacing setting you specified with the Esc A command.
LPRINT CHR$(27); CHR$(50); 'Activate selected line spacing of n/72".
Set n/216" line spacing
Esc3n
(27)(51)n
<1Bh><33h>n
•
This command sets the line spacing to
n
/216". All subsequent line feed operations will move the print
position
n
/216" down the page.
•
Since the printer's resolution is 600 dots per inch the line spacing may not be exactly
n
/216".
•
n
must be in the range 1 to 255.
LPRINT CHR$(27); CHR$(51); CHR$(25); 'Select line spacing of 25/216".
Execute n/216" line spacing
EscJn
(27)(74)n
<1Bh><4Ah>n
•
This command moves the print position one line down the page using a line spacing of
n
/216".
•
The existing line space setting is not affected.
LPRINT CHR$(27); CHR$(50); CHR$(30); 'Move print position down 30/216".