Control With Basic Language - Sharp MZ-80P4 Instruction Manual

Dot printer
Table of Contents

Advertisement

-
Control with BASIC language
This printer can be easily controlled with the use of Sharp BASIC language. Note, however, that
different computers employed have different versions of BASIC language and commands to the printer.
For details, refer to the BASIC Language ManUal .
• BASIC for MZ-80B/BASIC for MZ-80A
LIST/P
PRINT/P
LIST/P
LIST/P-IOO
LIST /P 100-500
LIST/P 500-
PRINT/P A$
PRINTjP CHR$ (N)
PRINT/P CHR$(5)
Form feed
PRINT/P CHR$(6)
Initialization
PRINT/P CHR$(16)
Cancellation of line-
to-line compression
mode
PRINT /P CHR$(l7)
Line-ta-line
compression mode
PRINT /P CHR$(18)
Enlarged character
instruction
Outputs all the lists in the BASIC text to the printer.
Outputs BASIC text as far as statement No. 100 to the
printer.
Outputs BASIC text from statement Nos.IOO to 500 to
the printer.
Outputs BASIC text above the statement No.500 to the
printer.
Outputs the contents of string variable A$ to the printer.
If 32
~
N
~
255, N shall be regarded as ASCII code, and
the character corresponding to it shall be output to the
printer. IF N
=
65, "A" shall be printed.
Paper shall be fed to the top (form position) of the next
page. The function of the printer control button (TOP
OF FORM) will be carried out by software.
Resets all the control codes to their initial positions.
At this instance, form feed is carried out.
• The 136 characters/line mode can be resumed.
1/6 inch line feed is selected.
1/6 inch line feed is selected.
1/9 inch line feed is selected.
The mode in which the present printing character size is
doubled is set. If the 136-character mode is set presently,
the 68-character mode will be selected. If the 160-
character mode is set presently, the 80-character mode
will be selected.
24

Advertisement

Table of Contents
loading

Table of Contents