Selecting Upper/Lower Case: sa = 7 Secondary address 7 is used to print data exactly as received. It is similar to SAO except that all unshifted characters are printed in lower case and all shifted (or capital) characters are printed in upper case. Example: 30 OPEN 4,4,7 40 PRINT #4, "MODEL MPS 1000 PRINTER" Result: 50 CLOSE4 model mps 1000 printer Suppress Diagnostic Message Printing: sa = 9 To turn off the diagnostic message printing, send a secondary address of9. Example: *PE:M* COMMODORE COMMODORE 20 OPEN 2,4,2 30 OPEN 1,4,1 40 PRINT #2, "$$$$. 9" 50 PRINT #1, "COMMODORE" 10 OPEN 4,4,4:PRINT #4: CLOSE 4 15 OPEN 9.4.9:PRINT #9:
CLOSE 9 20 OPEN 2,4,2 30 OPEN 1,4,1 40 PRINT #2, 10 OPEN 4,4,4:PR1NT #4:CLOSE4 60 CLOSE 2:CLOSE 1 50 PRINT #!,"COMMODORE" 60 CLOSE 2:CLOSE 1 Resetting the Printer: sa = 10 To reset the printer, send a secondary address of 10. Example: 10 OPEN 10,4,10 20 PRINT#lO 30 CLOSE 10 The commands for the modes used in this chapter are summarized in Appendix B. 57