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

IBM mode Control Codes in Numeric Order You can use any of the methods explained in Chapter 3 to send these control codes to your MPS 1000. If you use Commodore BASIC, you send a control code using PRINT$4,CHR$(27) CHR$(69) or PRINT#4,CHR$(27)"E". If you use MBASIC, you send a control code using LPRINT CHR$(27) followed by CHR$(n), where n is a number from the decimal (Dec) column below. For those codes with a dash in the ESC column, you omit the ESCape code. For the codes above deci- mal 27, you can use either the character in the symbol column (in quotation marks) or CHR$(n). For example, the command for turning on emphasized lettering can be entered as:

LPRINT CHR$(27) CHR$(69) or LPRINT CHR$(27) "E" See Chapter 3 and your system documentation for other methods of sending codes to the printer. Abbreviations: cpi = characters per inch cps = characters per second ESC DEC HEX Symbol Function 0 00 NUL Terminated horizontal and vertical cab 7 07 9 09 BEL HT setting ESCape sequences. Sounds Beeper Horizontal tab. Empties the printer buffer, then moves the print head co the next tab stop. Line feed. Empties the printer buffer, performs a line feed at the current line spacing, and resets the buffer charac- ter count to 0. Vertical tab. Empties the printer buff er, then advances the paper to the next vertical tab stop. Form feed.

Empties the printer buffer, then advances the paper to the next top of form. Carriage return. Prints the contents of the buff er and resets the buff er char - acter count to 0. 10 OA LF 11 OB VT 12 oc FF 13 OD CR B-3