Commodore MPS 1000 — Commodore MPS 1000 Dot Matrix Printer User's Manual PDF

You can enter any of twelve secondary addresses in your OPEN com- mand. These are: 0 Print data exactly as received in Uppercase/Graphics mode 1 Print data according to a previously-defined format 2 Store the formatting data 4 Enable the printer format diagnostic messages 3 Set the number of lines per page to be printed 5 Define a programmable character 6 Set spacing between lines 7 Print data exactly as received in Upper I lower case 9 Suppress diagnostic message printing 10 Reset printer After the appropriate OPEN statement has been transmitted, a PRINT# statement is required to transmit the secondary address infor- mation to the specified device (in this case, your printer).

Remember that it is possible to have as many as ten files open simul- taneously. This allows you to perform several formatting functions at one time on the data in the computer's memory. There are examples of the formatting capabilities described in this section in Appendix B. Printing Data Exactly As Received: Sii = 0 This secondary address is the default value. Whether or not you include it in your OPEN statement, the printer prints data exactly as received. Up to 80 characters are printed on each line and if the next character is not a Carriage Return, a Carriage Return is performed auto- matically and the overflow characters are printed on the next line. Example:

10 OPEN 5,4 20 PRINT #5, ''THIS IS A TEST!'' 30 CLOSE 5 Result: TH l !3 I f3 ?\ TEf:lT ~ Printing Data According to a Previously Defined Format: s11 = 1 A secondary address of 1 invokes the formatting features of your printer. The data to be printed is arranged according to a previously 46