Printer Control with
With BASIC language, you can easily control the MZ-80P6 and print various formats. Here we will
explain a method of printer control based on with BASIC language. Commands differ according to the
1. BASIC for MZ-80B or MZ-80A
iJ ; ••
.... ij" ,.";
Outputs to the printer the complete list of the BASIC
Outputs to the printer the BAS IC text to number 100.
100 to 500.
the printer the BASI C text from number
Outputs to the printer the BAS I C text after nu rnber 500.
Outputs to the pri nter just as it is the contents of string
PRINT/P CHR$ (N)
For an N of
it considers this as an ASCII
code, and outputs a matching character to the printer. It
pri nts "A" if N
PRINT/P CHR$ (5)
Feeds paper to top of the form position on the next
page. It is called form feed. The function of the control
button "TOP OF FORM" of the printer is controlled
(Note) It is equivalent to control code FF (OCH) of the
PRINT/P CHR$ (6)
Returns the printing mode to its initial condition.
Furthermore, the form feed is carried out.
It is called initial mode set.
Initial mode means 80 digit 'mode, line space mode.
PRINT/P CHR$ (16)
Sets the printing mode for line spacing. It is called line
(Note) It is equivalent to printer control code (ESC
PRINT/P CHR$ (17)
(Non line space mode)
Sets the printing mode, completely closing up printing
I i ne space. I t is called non I ine space mode.
(Note) I t is equ ivalent to printer control code (ESC