**************************************************************** * * Atari SMM804 Matrix Printer Driver Configuration Table * * This file contains tables defining the code sequences * to be sent to the printer to perform various functions * and to access the characters from codes in the Atari * character set. * **************************************************************** * * Name of printer * =============== * SLM 804 * * Miscellaneous configurable variables * ==================================== * * 1: printer type, 0=dot matrix, 1=daisy wheel * Note if printer type is 0 the following 4 variables are never used. * 2: unit width of one character * 3: unit height of one line * 4: Approximate middle of carriage after formfeed * 5: Carriage shift for bold overstrike * 6: 1 to pause between pages * 0, 0, 0, 0, 0, 0 * * Printer characteristics * ======================= * * This table specifies the printer command sequences. * If the top bit of a code is set, then this indicates the position * of a parameter passed to the printer. The code whose top bit is set * in this table is added to the parameter passed before being sent to the * printer. It is not used in all command sequences, only in those where * the printer requires a variable value such as the length of a vertical * tab. * * 0 * Character width 1, D, A * Linefeed WITH return * 2 * Forward print * 3 * Reverse print * 5 * Absolute horizontal tab 6, 1B, 4F * Draft bold on 7, 1B, 26 * Draft bold off 8, 1B, 4F * NLQ bold on 9, 1B, 26 * NLQ bold off A, 1B, 57 * Draft italic on B, 1B, 26 * Draft italic off C, 1B, 57 * NLQ italic on D, 1B, 26 * NLQ italic off E, 1B, 0E, 34 * Draft light on * F, 1B, 0E, 31 * Draft light off * 10, 1B, 0E, 34 * NLQ light on * 11, 1B, 0E, 31 * NLQ light off * 12, 1B, 0E, 36 * Draft superscript on * 13, 1B, 0E, 31 * Draft superscript off * 14, 1B, 0E, 36 * NLQ superscript on * 15, 1B, 0E, 31 * NLQ superscript off * 16, 1B, 0E, 36, 1B, 55 * Draft subscript on * 17, 1B, 44, 1B, 0E, 31 * Draft subscript off * 18, 1B, 0E, 36, 1B, 55 * NLQ subscript on * 19, 1B, 44, 1B, 0E, 31 * NLQ subscript off * 1A, 1B, 45 * Draft underline on 1B, 1B, 52 * Draft underline off 1C, 1B, 45 * NLQ underline on 1D, 1B, 52 * NLQ underline off 1E, C * Formfeed 1F, 1B, 0D, 50 * Horizontal initialisation * 20, 20 * Vertical initialisation 21, 1B, 0D, 50 * Termination: printer reset 2A, 1B, 0E, 35 * Enkel Elite, 12 tkn/tum (fack 5) 2B, 1B, 0E, 35 * NLQ Elite 2C, 1B, 0E, 36 * Enkel f”rminskad , 6-pkt-font (fack 6) 2D, 1B, 0E, 36 * NLQ f”rminskad 0 * NULL termination byte * * Translation Table * ================= * * This table provides translation from single Atari input bytes into * multiple printer codes, or to disable output of some characters. * * The entries must be arranged in ascending order of Atari input * code. The table is NULL terminated. * 0 * NULL: print a space 1, 1B * CONTROL CODES: up arrow is ESC 2 * others---not printed 3 4 5 6 7 8 9 A B C D E F 10 11 12 13 14 15 16 17 18 19 7F * DELETE IS NOT PRINTABLE 0 * end of table!