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

Example: 10 OPEN 4,4,4:PRINT#4:CLOSE 4 20 OPEN 25,4,25 30 PRINT#25 40 CLOSE 25 Result: *PE:C* Whether or not diagnostic messages are enabled, overflow of numeric fields is always indicated by fields filled with asterisks (******). This is a nonfatal error; as in other cases, the secondary address option is reset to zero and all data retrieved by the printer is printed exactly as received. Diagnostic Messages *PE:L * - Lines per page out of range. An attempt was made to set the lines per page to a value outside the range 0 lines per page via a print-to-SA 3. The command is ignored and the previous length remains in force. *PE:C* - Bad command.

You gave the printer an invalid SA outside the range. The secondary address is reset to zero. *PE:M* - Data-format mismatch. You gave the printer non-numeric data to print in a numeric field. *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.nnnnE + ee or n.nnnnE- ee. The expression must contain a plus or minus sign with a two digit exponent. *PE:F* - Bad format. The data that was sent to SA= 2 either con- tains illegal formatting characters, or unrecognizable syntax. *PE:T* - Terminator error. The SA changed before a terminator was detected.

A terminator is defined as a carriage return (CHR$(13 )), a line feed (CHR$(10)), or a carriage return line-feed sequence. Communication with the current SA must be ended with a terminator before attempting to "talk" to another SA. Note: suppressing diagnostic message printing is accomplished with a secondary address of 9. 53