![Thunder Scientific 5A-1MP Owner'S Operation And Maintenance Manual Download Page 63](http://html1.mh-extra.com/html/thunder-scientific/5a-1mp/5a-1mp_owners-operation-and-maintenance-manual_1113432063.webp)
7-
36
FORM
feed
FORM=ON
causes a formfeed character (CHR$ (12)) to be sent to the
(factory default)
printer at the end of each page, advancing the printer to the top
of the next page. Each time the printer is disabled from either
the
PRIN=OFF
command or from the keypad, a formfeed will
also be sent, advancing the printer to the top of the next page
(often called top of form). Changes may be made permanent
through the use of the
SAVE
command.
FORM=OF
F
prevents formfeeds (CHR$ (12)) from being sent to the printer.
With formfeeds disabled, the printer may be turned on and off
repeatedly without wasting paper. (Refer to
HEAD
er
command).
FORM?
returns either
ON
or
OFF
, depending on the present status.
IBM BASICA Example (assuming com1 is initialized to #1 and 5A-1MP
ECHO
is
OFF
):
.
.
.
100
PRINT #1, "FORM=OF"
'Only need first 2 letters in "OFF".
.
.
.
200
PRINT #1, "FORM?"
'Get formfeed status.
210
INPUT #1, A$
'A$="ON" or "OFF".
220
PRINT "PRINTER FORMFEEDS ARE
TURNED"; A$
.
.
.
TERMINAL Example (assuming
ECHO
is
ON
):
FORM?
Check status.
ON
Power-up default.
FORM
feed
=OFF
Disable formfeeds to printer.
FORM?
Verify.
OFF
OK, it's OFF.
IEEE 488 Example (HP Rocky Mountain BASIC syntax):
.
.
.
100
OUTPUT 705; "FORMFEEDS?"
!Request status.