"
• -~ .. Note for Users in UK IMPORTANT The wires in the mains lead of this aJJparatus are coloured In accordance with the following code: BLUE: Neutral BROWN: Live As the colours of the wires in the mains lead of this apparatus may not correspond with the coloured markings identifying the terminals in your plug, proceed as follows: .. The wire which is coloured BLUE must be connected to the terminal which is marked with the letter N or coloured BLACK . ..
\'. TABLE OF CONTENTS Outline ...................................................................... . Cautions for operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 2 Names of parts of the main body. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 3 Connection with computers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outline ,,. This is a lightweight, high-performance dot printer, capable of printing a maximum of 160 characters on one line at a printing speed of 150 characters/sec. max. The two-way shortest-distance method is adopted to increase its processing capacity. Fan-fold paper having a width of 5 to 15 inches, or paper sheets (letter pad, etc.) can be used for printing with this machine. The control programs and print character data are made into several ROM units.
Cautions for operation • Installation • Do not install this machine in the following places. Humid place, excessively dry place Place exposed directly to sunlight Dusty place Extremely hot/cold place Place with a lot of vibration • Install this machine as horizontally as possible. • Do not install this machine near equipment generating noise. Further, different power source fnust be used for such equipment, since wrong operation may be caused if the same power source is employed.
Names of parts of the body ROM unit (optional) @ ROM unit model indication lahel @ ROM unit arm [Back view] [Interior of ROM unit holder}
Connection with computers (1) Connection with computer MZ-80B/MZ-80A STEP 1. Turn off power for all equipment. (Back of computer) STEP 2. Install an expansion unit in the computer and insert an I/O card into this unit. Insert the card in Slit No.3 for MZ-80B (where 6 slits are available), and in Slit No.2 for MZ-80A (where 4 slits are available). The picture on the right shows correct insert of the I/O card. f- - -1-:------::=1e el • I• • le 1/0 card Fig. 1 STEP 3.
r' , \i.. (2) Connection with computer MZ-80K STEP 1. Turn off power for all equipment. (Interface unit) --;::c:=c::;n STEP 2. Connect the interface unit MZ-80I/O to MZ-80K. (Refer to Interface Unit Instruction Manual.) STEP 3. Remove the side cover of the interface unit. < Insert an I/O card in anyone of the five slots .. Remove screws. Side cover Fto,5 STEP 4. Connect the connector on one end of the signal cable to the signal terminal of the I/O card. Match the polarity symbols (,.
Setting cartridge ribbon For this machine, endress ink ribbon is used to simplify installation and removal. For handling the cartridge ribbon, follow the procedure described below. How to install the cartridge ribbon STEP 1. Open the front cover to your side. STEP 2. Turn on power while pressing the top feed switch to shift the carriage to the prescribed position. When power is turned off, the carriage can' be shifted manually. On this occasion, however, do not touch the printing head. STEP 3.
Setting paper F an fold paper or paper sheets whose width is 5 to 15 in. can be used for this machine. • Specification for paper Paper width Number of copies ; Paper thIckness (Note ) Total thickness I part Copy paper 5 in. - 15 in. 5 in. - 15 in. Original + 2 copies I part only (Copying not allowed) 0.23mm max. 45kg - 60kg Original 35kg - 45kg Copy 35kg - 45kg 45kg - 60kg (Notes) • Weight (thickness) of paper in kg indicates the weight of 1000 sheets of AD-type paper.
Paper sheets .". • Open the front and rear covers, and pull the paper release lever to your side. • Insert the paper from the paper guide provided on the back of the printer mechanism section. While pulling the manual feed knob, adjust the paper so that its end is set at the desired printing position. Then, turn the paper release lever backwards, and set the paper to achieve parallelism. • Before starting printing on paper sheets, be sure to pull the paper release lever to your side.
,, Mounting/Dismounting ROM unit When installing the ROM unit in this machine or replacing it, follow the procedure described below. Since the ROM unit is susceptible to electric shock, such as static electricity, adequate precautions must be taken in handling Or storing it. • Installation of ROM unit STEP l. Turn off power for this machine, and remove the ROM unit holder cover. STEP 2.
Operation switches and checking function , " • Power switch The power switch is indicated by "POWER" on the rear side of this machine. Press this switch towards the "ON" side (" I") in order to turn on power.. POWER Fig. 21 • Opl'ration switches . On the control panel on the front side of this machine, there are 3 switches and 3 indicators. Cl ON LINE 11 =NO PAPERiI Cl ON/OFF LINE IITOP OF FORMiI I I I I POWER LINE FEEO I I Fig.
Function switches • Position of function switches When the ROM unit holder cover is removed from this machine, two multiple-switches are found on the lower side of the ROM unit. These are called "function switches". Before operating the printer, set these function switches following the procedure described below. SW2 SW1 ~~~~~~~~~~ IEx.1 SW2-8 J J lEx.! SWI-2 Fig. 23 Switch Nos. of function sw.
• Functions of function switch SW2 The functions of switch SW2 vary, depending on ROM units used in this machine. Set tHe switch, after carefully confIrming the following. When ROM unit MZ-8BP4R is used \, ···~~:tM: (':,~,I'-, 'L," ~ t _);,,,,, :.:,!: ·l. ·::,''':····/:·'~''·'· .',;· :',,)11"": "I"; ,I",," L ,-" ill SW2-\ I", ',1,- i""" ;I~,,/II~" ,,',' ,;"1 1 ,[.,' ;11_':';,'::, """ . .,}'[,I', . . . . . .,,' ·····'9l!! I'... "":"'" I"" ,,:...,,'~ -~ '. ...... , . . ·; . I: . .
• \, Languagewise international character setting For differences in languagewise international characters, refer to the Character Code Table on page 45.
Memory backup function This machine is capable of memory backup by cells. (Cells are sold separately, though.) When the memory backup function is effected, form position will not be affected by turning on/off of power. Thus, handling of fan-fold paper can be simplified. This function can be stopped by operating pertinent function switch inside the machine. Install 2 cells !SU ., Fig. 24 • How to set form position STEP 1.
• Printer control codes The printer control differs, depending on the kinds of ROM units used in this machine, (OOH) • When CR code is input, data inside the buffer is printed. • When there is not data before CR code is received, the carriage does not shift. • When the internal function switch is turned OFF, linefeed is carried out. (Refer to the function of SW2-2.) (OAH) • Line feed code. • This code is used both as line change instruction and printing instruction.
(MZ-SBP4R) ~~~N (13H) 1 - - - - - - - - - + - - - - - - - - - - ------- • I • Device control 3 (DC3) • This is a printer deselect instruction code. • This code is ignored when the printer is in DESELECT mode. (l4H) • Instruction to cancel enlarged characters. • This code can be set in any place in the data code string. • This code is ignored when the 136 character/line mode is selected. (ISH) • Cancel code • This cancel code clears printing data before this code is received as well as SO/SI.
(M7_RRP<1 J;I :t~:~: '''I i, ;:';' I~" "",""""~'"'' ~i '''/'' c, I ',_"1,"';';,11,;1",'11""1 ",:"" " "",>< "C.i,,}C( , (lB)+(06H) • Code to cancel (I B)+(OSH) (lB)+(08H) • When this code is received, PAPER EMPTY (PE) will be ignored. (I B) +<09H) • Makes PAPER EMPTY (PE) signal effective. ~"'" (lB)+( I IH)+
• ~WhBjeln~R~oIMHln~n~it~M~Z~-E83K~P4~R~o~r~M~Z~-8~A1P~4~Rji~S~UCsetd~E~~~tF~~~~~(~M~Z-8KP4R/MZ-'8AP4R) • (ODH) • Prints data in the buffer by CR code input. • If there is not data before CR code is received, only line feed is carried out. (OBH) • Control code to create enlarged characters. • Enlarges each character as 80 characters/line (in the l60-character mode) or as 68 characters/line (in the I 36-character model.
(MZ-8KP4 R/MZ-IlAP4R) (09H)+(09H)+(OBH) • I 36-character mode can be selected. • The mode when power is turned on can also be set the function switch SWl-S. • After the mode change, line feed is carried out automatically. • If data exist in the buffer, the carriage returns to the home position after printing, line feed is carried out, and modes are changed. (OBH)+(OBH)+ (Data string) • Permits image printing.
''':' 09H Horizontal tabulation • When this code is received, data for tabulation previously set in RAM will be reorganized and stored in the buffer. OAH Line feed • This functions both as line change instruction and as printing instruction. • If no printing data exists prior to line feed, the paper will be fed by only one line. , OBH Vertical tabulation • Paper is fed to the tabulation position previously set in RAM. • This code also functions as a printing instruction.
T' - - - - - - - - - - - - - - - - I I OFH Shift in (SI) • Input of SI code cancels enlarged characters. :ters. • When SO and SI are mixed, printing will be carried out as follows. A) Input SO+"A"+CR+LF Printing: A (enlarged character) B) Input SO+"A"+SI+"A"+CR+LF Printing: A A IIH Device control I (DCI) • This is a printer select instruction code. • This code can be ignored by the operation of the internal function switch. • When this code is received, the ON-LINE indicator will go on.
ESC+(03H> I 36-character mode instruction • If the buffer contains data, they will be printed before line feed. After that, the 136 character mode will be selected. • If the 136-character mode is already selected, this code will be ignored. 160-character mode instruction • When this code is received, the carriage returns to the home position. • Printing after this code is received will have the following printing construction - or gap between HH characters. (Ex.
• ESC+(]3H)+ (HEX1) +..... -+ (HEXn)+
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 LIST/P Outputs all the lists in the BASIC text to the printer. LIST/P-IOO Outputs BASIC text as far as statement No. 100 to the printer.
!"'"r~_m(MZ-80B/80A) 'i!I" PRINT/P .. PRINT/P CHR$(19) Cancellation of enlarged characters The 136-character mode or 160-character mode is resumed. PRINT /P CHR$(20) Character-ta-character compression The space between characters is compressed. (The 160-character mode will be selected.) PRINT/P CHR$(21) Cancellation of character-ta-character compression Cancels character-ta-character compression. (The I 36-character mode shall be selected.
COPY/P PAGE/P COPY/P 3 Outputs one-screen data accommodated in graphic region 2 to the printer, and carries out bit image pattern printing. COPY/P 4 OR of the bits of the data accommodat'ed in graphic regions I and 2 will be regarded as output data to the printer. Therefore, the patterns obtained by COPY /P2 and COpy /P3 will be superposed for printing. COPY/PN The value. specified by N shall be the maximum number of lines to be printed on one page.
- ._- - - -- -~ -- -~ ~-~ ~-~ - - - .--. -- • BASIC for MZ-80K LlST/P LlST/P Outputs all the lists in the BASIC text to the printer. LlST/P~IOO Outputs BASIC text as far as statement No.1 00 to the printer. LlST/P 100~150 Outputs BASIC text from statement Nos.1 00 to 500 to the printer. LlST/P 500~ Outputs BASIC text from statement No.500 on to the printer. PRINT/P A$ Outputs the contents of string variable A$ to the printer.
1-""" 'I" " PRINT /P"DDXX" (xx = data string in bit pattern) Image print • Permits image printing. • Bit pattern data expressed in hexadecimal number will be printed in the vertical direction as previously determined. (Ex.) PRINT/p "DD 01" If 0 I H is converted into a binary indication, OIH = 0000 000 I PRINT/P LSB ..... ' .~ ~This o o o -t a - l t MSB LSB dot is printed. o MSB ..... o PRINT/P " DDD " • 160 characters/line mode is selected.
Example of control with machine language' The example of program for controlling this printer with machine language is shown below. The method of control varies, depending on the ROM unit used. The example shown below represents reference subroutine program which constitutes the most basic part of the control. • Control as printer for MZ-80B/MZ-80A [Concept of printer control I [Printing data transfer routine I Start Start .
• •• ZeD ASSEMBLER 88-7201 PAGE 01 · ......................... . ............ . 01 0000 1 1 • 02 0000 1 , • 1 , , , 1 , 1 , , , , , , , I , , r r I I ' , , I 1 , , 1 1 1 1 1 1 , PRINTER MZ-80P4 CONTROL SUBROUTINE · ...................................... .
• Control as printer for MZ-80K [Status check flow chart] [Printing character transfer flow chart] Start Start BUSY signal input No No Transfers chtacter code. Makes DATA STB signal low.
..
** zeo 01 02 03 04 05 06 07 ASSEMBLER gp-7101 10 11 12 0030 D3FE 0(1 ::z C9 0033 0(133 0033 0033 D~J 0034 57 0035 010000 00:::8 OBFE 003A E600 003C BA 0030 2002 P" OO:-:F D9 08 O~I 14 0040 0041 16 0041 17 0043 18 0044 1 ~J 0046 20 0047 21 0048 22 0049 23 0048 24 004C 25 004F 26 0052 27 C,055 28 0058 2~1 0058 30 0058 31 0058 32 005B 33 005D 34 0060 35 0062 36 0063 37 0064 38 0065 PAGE 02 (POTFE),A ;DATA STB LOW EX X LD LD IN AND (:P D,A BC,OOOOH A, (POTH) ODH D ,Ace-COMPARE DATA 'TIMER SET JR N
** '-' "''"- 01 , 02 03 04 05 06 07 08 09 10 11 12 13 14 15 It.
• Printer interface • Signal terminals The printer has a total of 36 1(0 signal tenninals (Fig. 26). The relationship between the signal and the tenninals are as shown below. , 1111!HllI111109S7"S" Fig. 26 • Signal arrangement and description (A) When a combination of host computer MZ-80B, interface card MZ-8BPSI, and signal cable MZ8BP4C is employed. DATASTB 2 3 4 5 6 7 8 9 DATA DATA DATA DATA DATA DATA DATA DATA • Synchronization signal to read DATA I through DATA 8. (Positive logic).
13 'SELECT • Signal to indicate whether the printer is in SELECT or DESELECT mode. When the printer is in SELECT mode (ON-LINE mdoe), data can be received. • High level when the printer is in SELECT mode. (Positive logic) 14 OV 15 NC 16 OV 17 FG 18 +5V • PULL UP at 330n 19 - 30 GND • Twist pair, GND 31 PRIME • Printer reset signal (Negative logic) (Note) IRT for terminal No.34 is also a printer reset signal, bu t has an opposite logic.
(B). When a combination of host computer MZ-80K, interface card MZ-BKP4I, and signal, cable MZ-BKP4C is employed, • When a combination of host computer MZ-80A, interface card MZ-8BP5I, and signal cable MZ-8BP4C is employed. DATA STB • Synchronizationsignal to read DATA I through 8. 2 3 4 5 l; 7 8 9 DATA I DATA 2 DATA 3 DATA 4 DATA 5 DATA 6 DATA 7 DATA 8 • These terminals receive signals contained in the I st to 8th bits of DATA. 10 NC • Data input is not permitted when this signal is high level.
• (C) When this machine is used by the Centronics System (ROM unit MZ-8S P4R) Data input system: 8 bit parallel Control signal: ACK, BUSY, SELECT DATA STB, PRIME, FAULT Data input code: • ASCII code (Setting of international characters is also possible.) • 96O-byte image printing is possible. I line Data buffer: s)J,i:r .·.···t~r·.".,:I:ij' . . . . . '. . . . .'. . ";i ............... ''-111' .; ••.. . . '.~ . '. . ~Ili cr~.~;ii ... ' ....;;.]. ). .• """'. i.'" . . .··f·.. .i .'.. ·."• ...•••.'.•.
... ~,:-----------------------------------------------------------------------------------\, 14 OV 15 NC 16 OV 17 FG 18 +5V • PULL UP at 3300 - 30 GND • Provide.d for twist pair cable. 31 PRIME • Printer reset signal (Negative logic) (Note) IRT for terminal No.34 is also a printer reset signal, but has an opposite logic. When one reset signal is employed, the other signal shall be made NC. Otherwise, trouble may be caused. 32 FAULT • Signal to indicate that the printer is in FAULT state.
• I/O circuit conHguration (I) DATAl - DATA8 (Input) (2) DATA STB, DATA STB +5V +5V 560n. 560n " SN74LS244 (3) IRT (Input) 220n I SN75189 470PF (4) PRIME (Input) 470n >-------w.. . . -.----
• Signal timing The timing charts (standard) are shown below. \. Data input DATA--...JI DATA 5TS ~ BUSY -ACK 2. BUSY signal BUSY -I ; I-l0~s ( '01 ACK \ DATA ) DATA STB 3. Line feed t= 400,"5 DAT~ DATASTB LJ BUSY I ACK 70ms -! ~ 4. Cancel code, undefined code DATA DATA STB t BUSY ACK 5. Horizontal tabulation (09H) DATA 400}1s r- u- r---r DftTA 5TS ~ BUSY ACK 6. Carriage return (Printing instruction code) =t= 6,5ms DAT~ DATA 5TB BUSY ACK ~ t= 7.
Character Code Table (ASCII) The set of printing characters varies, depending on the kind of ROM unit used. Character Code Tables for individual ROM units are shown below. Each table has a matrix structure, with the upper 4 bits of hexadecimal ASCII code shown in columns and the lower 4 bits thereof shown in rows. For example, the ASCII code for alphabet "A" is 41H .
• When ROM unit MZ-80AP4R is used Character Code Table (For MZ-80A) Upper 4 bits 0 Low.
, • When ROM unit MZ-8KP4R is used Character Code Table (For MZ-80K) 2 0 0000 0 0001 0010 3 4 0011 0100 5 0101 6 0110 3 0011 4 0100 5 0101 6 0110 7 0111 8 1000 9 1001 A 1010 B 1011 C 1100 D 1101 E 1110 F 1111 9 A B C D E F 1001 1010 1011 1100 1101 1110 1111 I A 2 B 3 C 0001 0010 0111 8 n 00)0 2 7 4 D E 7 8 H 9 I • • ~ ,• K , ( L 7t 44 .
, • When ROM unit MZ-8SP4R is used As for characters marked" © "in the table below, different characters can be printed by the use of the function switch. For details, refer to the Languagewise Character Table given below.
.' Specifications "i~' Printing system Feeding system Maximum number of printing characters Kind of printing characters Character dot construction Interval between characters Graphic dot construction '""i",,~("' ',::l:2:;;1;~J":),"··'" " _ -- Dot matrix impact system • Tractor system • Friction system • 136 characters/line (ordinary character) 68 characters (enlarged character) • 160 characters/line (ordinary character) 80 characters (enlarged character) Differs depending on ROM units.