background image

Summary of Contents for MPS-802

Page 1: ......

Page 2: ...AB LE PROT ECTION AGAINST SUCH INT ERFERENCE IN A RESIDENTIAL INSTALLATION HOWEVER THERE IS NO GUAR ANTEE THAT INTERFERENCE WILL NOT OCCUR IN A PARTICULAR INSTALLATION IF TH IS EQUIPMENT DOES CAUSE IN...

Page 3: ...COMMODORE MPS BD2 DDT MATRIX PRINTER USER S GUIDE A Friendly Introductian ta Your MPS B02 Dot Matrix Printer commodore COMPUTER...

Page 4: ...j 1984 Commodore Electtonlcs Ltd...

Page 5: ...aAccording toa Previously Defined Format sa 1 16 Storing the Formatting Data sa 2 17 The Formatting Characters 18 Numeric 18 Alpha String Data 19 Skip Blank 20 Literals in Format Strings 20 Setting th...

Page 6: ...r printer has considerable formatting capability owing to its in ternal microprocessor system Printing Characteristics Your printer employs a dot matrix print head The wire heavy duty jeweled head has...

Page 7: ...intelligent peripheral it uses none of your computer s memory Specifications Table 1 shows the specifications for the MPS 802 Printer TABLE 1 Model 1526 Printer Specifications Printing Method Print Ra...

Page 8: ...ul when you inspect its contents DON T throw away any of the packaging material until you have located all the contents of the carton The package should contain 1 Commodore Printer Model MPS 802 2 Ser...

Page 9: ...idge with the plastic knob at the top left side then set it on the two side frames of the printer mechanism with tilting the cartridge so the two front hooks on the side frames be engaged with two cat...

Page 10: ...COMMODORE PRINTER SERIAL CABLE Figure 3 Printer to Computer Hookup Figure 4 Multiple Hookup 5 COMMODORE PRINTER...

Page 11: ...the cable to your computer in the Serial Port Connector located in the back of your computer Make sure that you are keying the pins pro perly into the connector with Sholes d Now plug the printer s po...

Page 12: ...ge to the print head To perform this test simply turn on the printer wh Ie pressing the paper feed button Turn power off to end the test 4I O 01234 56788 1 e A8CDEFGHIJKl PQRSTUVWXYl It J 1t 1_r 4I r...

Page 13: ...s the DATASSETIE recorder or the Commodore Floppy Disk Drive 4 Open and close files You should refer to your computer User Manual for this information This section uses these conventions to indicate c...

Page 14: ...e technician See your Com modore dealer about this You might want to have a printer s device number changed if you have two printers attached to your computer You need to refer to each of them individ...

Page 15: ...when you are finished with them This way you will always have the maximum number of files available for use Remember when using the CMD command since CMD does not unlisten the line to the printer you...

Page 16: ...and to unlisten the printer You close the file so that Ifn 3 can be used for something else PRINTING UNDER PROGRAM CONTROL As we have seen you can control the printer directly from the keyboard You ca...

Page 17: ...ram the OFF RVS key and the CRSR Down Cursor Down key You may find out more about these starting on page 26 A printout of a program you place in your computer s memory looks like this 10 OPEN 4 4 20 F...

Page 18: ...ith a Cursor Down to reset the printer to lowerc e NOTE The use of a Cursor Down to set to lowercase and Cursor Up to reset to uppercase enables you to use upper and lowercase letters on the same line...

Page 19: ...FGH I JKLMNOPQRSTUVL lXY2 to 1 1 iii n L _ L r I11 r _ 8 J _ h L vf 8 rXOIo 1 _ 7 ZT is eW_ Q __ 4_ I IIiiIiiI I SU__t1 U aa I IItf I J 1 1i 34 S7 38 J I 9 bcl l1i f at i j k 1 rrrnopqr s 1 uvwxy z It...

Page 20: ...nt data exactly as received in Upper Graphics case Print data according to a previously defined format 2 Store the formatting data 3 Set the number of lines per page to be printed 4 Enable the printer...

Page 21: ...printed is arrayed according to a previously specified format using sa 2 If you should transmit a string of data when sa 1 is in effect and there is no formatting data in the printer s memory then th...

Page 22: ...mands in the example above transfer formatting data to the printer s internal memory for future print editing use Once completed READY and the blinking cursor appear on the screen The Formatting Chara...

Page 23: ...d before the most significant digit S When preceding a numeric field the sign of the number or is to be printed in this fixed column position Defines the position of the decimal point and is printed l...

Page 24: ...999 1 5E 02 0 015 The printer software handles up to ten significant figures and an exponent range 99on numbers passed as data to be formatted Exponential numbers must be normalized such that Q s IXI...

Page 25: ...al form at the same time you are printing data This is done by using the special graphics character to form vertical horizontal or other lines between the fields You can create a form while printing d...

Page 26: ...120 CLOSE 4 CLOSE 3 CLOSE 2 CLOSE 1 Enabling _he Printer Diagnostic Messages sa 4 When a secondary address of 4 is transmitted the printer s diagnostic messages ap pear whenever an error occurs When...

Page 27: ...ing character PE E Exponent error The numeric data given to the printer to print in a numeric field had an invalid exponent The expected form of an exponential number is n nnnn ee or n nnnn ee The exp...

Page 28: ...program Example 128 64 32 i 16 8 4 2 28 4 65 65 54 34 0 0 TOTALS The DATA statement in your program will read DATA 28 34 65 65 54 34 0 0 The program shown in the printout in the next example writes t...

Page 29: ...14 Prints enhanced characters CHR 254 Prints the programmed character the Commodore logo Cursor Up Sets the printer to uppercase Cursor Down Sets the printer to lowercase 90 100 Closes the two files...

Page 30: ...h produces the standard 6 lines per inch Example 10 OPEN 4 4 20 OPEN 6 4 6 30 FOR I 1 TO 127 STEP 4 40 PRINT 6 CHR I 50 PRINT 4 HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH 60 NEXT Selecting Upper Lower Case...

Page 31: ...ss of 10 Example 10 OPEN 10 4 10 20 PRINT lIlO 30 CLOSE 10 SPECIAL CHARACTER FUNCTIONS Special control characters can be Llsed to change the mode of printing within a single line Table 3 contains a su...

Page 32: ...racter set is ASCII Graphics when power is first turned on to the printer Though it is not possible to display both graphics and lowercase simultaneous lyon the video display screen the printer does a...

Page 33: ...0 Quote The Carriage Return If you attempt to print more than 80 characters on a line a Carriage Return with Line Feed will be forced and the overflow characters will be printed on the next line If y...

Page 34: ...r different tasks It prints three lines the format string the unformatted data string and the formatted data string Here is a printoutfrom the program AA AA AA AA ABC AB AB AB AB 10 OPEN 1 4 20 OPEN 2...

Page 35: ...as transmitted 2 Format data before it is printed 3 2 Transmit the formal string 4 4 Enable format error diagnostic messages to e printed if any 50 Enables error messages if any 60 Defines the format...

Page 36: ...and plus signs in the first two fields 0001 0002 0002 0003 0003 0004 0004 0005 0005 0006 0006 0007 0007 0008 0008 0009 0009 0010 0010 0011 10 OPEN 1 4 20 OPEN 2 4 1 30 OPEN 3 4 2 40 OPEN 4 4 4 0003 00...

Page 37: ...accountants A leading sign always prints a plus or a minus for the sign of the number If no sign is specified in the format then no sign is printed This works essentially like an absolute value on the...

Page 38: ...true then the formatted number is truncated 5 00 1 25000 3 10 00 2 50000 6 15 00 3 75000 9 20 00 5 00000 12 25 00 6 25000 15 30 00 7 50000 18 35 00 8 75000 21 40 00 10 00000 24 45 00 11 25000 27 50 00...

Page 39: ...l point Unused digit fields to the left of the are printed blank 66 29 6 62 45 83 4 58 32 86 3 28 53 33 5 33 74 91 7 49 7 79 77 97 51 9 75 27 03 2 70 15 28 1 52 49 95 4 99 10 OPEN 1 4 20 OPEN 2 4 1 30...

Page 40: ...s used as a terminator for the alpha field so that it is format ted correctly 00002 PET COMPUTER 10 OPEN 1 4 20 OPEN 2 4 1 30 OPEN 3 4 2 40 OPEN 4 4 4 795 00 50 50 PRINT 4 REM ENABLE ERROR DIAGNOSTICS...

Page 41: ...on symbol 10 OPEN 1 4 20 OPEN 2 4 2 30 OPEN 3 4 1 40 F _ I_ zz _ ZZ 999 50 PR1NTII2 F 60 FOR 1 1 TO 10 X 10 RND 1 Y lOOO RND l Z 8 RND 1 70 PR1NT 3 XiY Z NEXT 80 CLOSEl CLOSE2 CLOSE3 READY 1 04 S02 0...

Page 42: ...I...

Page 43: ...Avenue Trading Estate Slough Berks SL I 4BG England Commodore Bueromashinen GmbH Lyonerstrasse 38 PO BOX 710126 Frankfult 6000 West Germany Commodore Italiana S R L Via Consen atoria 22 Milano 20122...

Page 44: ......

Reviews: