7-
41
LINE
s
(Lines per page)
LINE=number
sets the number of lines per page for the printer. If both
(factory default=60)
HEAD
er and
FORM
feed are disabled, the number of lines per
page is insignificant since no page separation is accomplished.
The
number
may be entered in either standard or scientific
notation, but fractional numbers are truncated to the greatest
integer. Changes may be made permanent through the use of
the
SAVE
command.
LINE?
returns the current lines per page setting. The number returned
is an integer in 8 digit scientific notation.
IBM BASICA Example (assuming com1 is initialized to #1 and 5A-1MP
ECHO
is
OFF
):
.
.
.
100
PRINT #1, "LINE?"
'Get # of lines per page.
110
INPUT #1, A$
'A$="6.001". Default value.
.
.
.
200
PRINT #1, "LINES=66"
'Set to 66 lines per page.
.
.
.
TERMINAL Example (assuming
ECHO
is
ON
):
LINES?
Get # of lines per page.
6.001
Power-up default is 60.
LINE=35.2
Try setting to fractional #.
LINES?
See what it is now.
3.501
Only kept integer part, 35.
IEEE 488 Example (HP Rocky Mountain BASIC syntax):
.
.
.
280
OUTPUT 705; "LINES =30;INTE =00:02;PRIN=ON" !Gives new page each hour.
.
.
.
660
OUTPUT 705; "LINE?"
!Get value.
670
ENTER 705; x
680
OUTPUT 705; "LINE ="; x + 10
!Increase by 10 lines per page.