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

Setting the Number of Lines Per Page: : sa = 3 This special secondary address allows you to vary the number of printed lines per page. In order for this paging option to take effect, you must turn paging on with the special paging character, CHR$(147), described later in the chapter. When paging is on and the paging sec- ondary address is not implemented, six blank lines are left at the bot- tom of the page (since the default is 60 lines). Standard page length is 66 lines, so there is one inch of blank space left at the bottom of the page. This assumes the top of the page is set at line 1.

If you pref er to split the blank space between the top and bottom of the page, set the top of the page approximately three lines (a half inch) down from the top of the page. Example: 10 OPEN 4,4 20 OPEN 1,4,1 30 OPEN 2,4,2 40 OPEN 3,4,3 50 A$= "999 9999 99.99999999 99.99999999" 55 PRINT #2,A$ 60 PRINT #3, CHR$(60) 70 PRINT #4, CHR$(147) 80 FOR I = 1 TO 99 90 PRINT #1,I;I*I;SQR(I);Ii( 113) 100 NEXTI 110 PRINT #4,CHR$(19) 120 CLOSE 4:CLOSE 3:CLOSE 2:CLOSE 1 Enabling the Printer Diagnostic Messages:: sa = 4 When a secondary address of 4 is transmitted, the printer's diagnostic messages appear whenever an error occurs.

When a formatting error occurs, a message is printed, the format is dumped, and a pointer is located at the offending field. If a secondary address of 4 has NOT been transmitted, then once an error occurs, data characters are dumped directly to the print line even if the last command was to for- mat data. 52