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

One use of literal is to create a special 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 data, either by overprinting graphic charac- ters or by inserting literal characters in a format string as shown below. The only limitation on literal characters in formal strings is that they cannot be printed in the reverse field mode. They are also restricted to the same character set in which data is currently being printed. Example:

10 OPEN 2,4,2 20 OPEN 1,4,1 30 PRINT #2, " (CTRL)(RVS ON) [AAAAA ON)] (CTRL)(RVS ON) (AAAAA(CTRL)(RVS ON)) (CTRL)(RVS ON) ?AAAAA(CTRL)(RVS ON)? " 32 A$="" 35 FORI= 1TO10 : A$=A$+CHR$(64+1) 40 PRINT #1, A$CHR$(29)A$CHR$(29)A$CHR$(29) 50 NEXT 60 CLOSE 2:CLOSE 1 Result: [A ] (A ) ?A ? [AB ] (AB ) ?AB ? [ABC ] (ABC ) ?ABC ? (ABCD ] (ABCD ) ?ABCD ? (ABCDE] (ABCDE) ?ABCDE? (ABCDE] (ABCDE) ?ABCDE? [ABCDE] (ABCDE) ?ABCDE? (ABCDE] (ABCDE) ?ABCDE? (ABCDE] (ABCDE) ?ABCDE? (ABCDE] (ABCDE) ?ABCDE? 51