****************************************************************
*
*    Teletype 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
* ===============
*
Teletype
*
* Miscellaneous configurable variables
* ====================================
*
* 1: printer type, 0=dot matrix, 1=daisy wheel
* Note, if the 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 if pause between pages
*
0, 0, 0, 0, 0, 0

*
* Printer characteristics
* =======================
*
* This table specifies the printer command sequences.
*
* 0       * Character width
1, D, A   * Linefeed WITH return
* 2       * Forward print
* 3       * Reverse print
* 4       * Vertical tab to line
* 5       * Absolute horizontal tab 
* 6       * Draft bold on
* 7       * Draft bold off
* 8       * Near Letter Quality (NLQ) bold on
* 9       * NLQ bold off
* A       * Draft italic on
* B       * Draft italic off
* C       * NLQ italic on
* D       * NLQ italic off
* E       * Draft light on
* F       * Draft light off
* 10      * NLQ light on
* 11      * NLQ light off
* 12      * Draft superscript on
* 13      * Draft superscript off
* 14      * NLQ superscript on
* 15      * NLQ superscript off
* 16      * Draft subscript on
* 17      * Draft subscript off
* 18      * NLQ subscript on
* 19      * NLQ subscript off
* 1A      * Draft underline on
* 1B      * Draft underline off
* 1C      * NLQ underline on
* 1D      * NLQ underline off
* 1E      * Formfeed
1F, D     * Horizontal initialisation
* 20      * Vertical initialisation
* 21      * Termination: printer reset
0         * NULL termination byte

*
* Translation Table
* =================
*
* This table provides translation from single Atari input bytes into
* multiple printer codes, and is useful for printing extraneous
* characters such as accented characters etc. All characters are 
* subjected to translation, but if there is no entry in the table for
* a particular code, then the original code is sent to the printer.
*
* The entries must be arranged in ascending order of Atari input
* code. The table is NULL terminated.
* 
* If the table entry contains just the character code, it means
* that the character in not printable.

0              * NULL: print a space
1, 7C, 8, 5E   * Up arrow: | backspace ^
2, 7C, 8, 76   * Down arrow: | backspace v
3, 2D, 8, 3E   * Right arrow: - backspace >
4, 3C, 8, 2D   * Left arrow: - backspace <
5              * No close box
6              * No size box
7              * No full box
8              * No tick
9              * No clock
A              * No bell
B              * No musical note
E              * No LH Atari symbol     
F              * No RH Atari symbol
10, 30         * LCD 0
11, 31         * LCD 1
12, 32         * LCD 2    
13, 33         * LCD 3
14, 34         * LCD 4
15, 35         * LCD 5
16, 36         * LCD 6
17, 37         * LCD 7     
18, 38         * LCD 8
19, 39         * LCD 9     
7F             * No triangle
80, 43, 8, 2C  * Capital C cedilla: C backspace ,
81, 75         * No lower case u umlaut
82, 65         * No lower case e acute
83, 61, 8, 5E  * Lower case a circumflex:  a backspace ^
84, 61         * No lower case a umlaut
85, 61, 8, 60  * Lower case a grave: a backspace `
86, 61         * No lower case a boll
87, 63, 8, 2C  * Lower case c cedilla: c backspace ,
88, 65, 8, 5E  * Lower case e circumflex: e backspace ^
89, 65         * No lower case e umlaut
8A, 65, 8, 60  * Lower case e grave: e backspace `
8B, 69         * No lower case i umlaut
8C, 69, 8, 5E  * Lower case i circumflex: i backspace ^     
8D, 69, 8, 60  * Lower case i grave: i backspace `
8E, 41         * No capital A umlaut
8F, 41         * No capital A boll
90, 45         * No capital E acute
91             * No lower case ae dipthong
92             * No capital AE dipthong
93, 6F, 8, 5E  * Lower case o circumflex: o backspace ^
94, 6F         * No lower case o umlaut
95, 6F, 8, 60  * Lower case o grave: o backspace `
96, 75, 8, 5E  * Lower case u circumflex: u backspace ^
97, 75, 8, 60  * Lower case u grave: u backspace `
98, 79         * No lower case y umlaut 
99, 4F         * No capital O umlaut
9A, 55         * No capital U umlaut     
9B, 63, 8, 7C  * c cent: c backspace |
9C             * No pound sterling
9D, 59, 8, 2D  * Yen: Y backspace - 
9E             * No esszet
9F, 66         * No lower case swash 
A0, 61         * No lower case a acute 
A1, 69         * No lower case i acute 
A2, 6F         * No lower case o acute 
A3, 75         * No lower case y acute 
A4, 6E, 8, 7E  * Lower case n tilde: n backspace ~ 
A5, 4E         * No capital N tilde 
A6, 61, 8, 5F  * Lower case a underline: a backspace _ 
A7, 6F, 8, 5F  * Lower case o underline: o backspace _ 
A8             * No inverted ? 
A9             * No top left corner
AA             * No top right corner
AB             * No 1/2 fraction
AC             * No 1/4 fraction
AD             * No inverted !
AE             * No <<
AF             * No >>
B0, 61, 8, 7E  * Lower case a tilde: a backspace ~
B1, 6F, 8, 7E  * Lower case o tilde: o backspace ~
B2, 4F, 8, 2F  * Capital crossed O: O backspace /
B3, 6F, 8, 2F  * Lower case crossed o: o backspace /
B4             * No lower case oe dipthong
B5             * No capital OE dipthong
B6, 41         * No capital A grave: print A
B7, 41         * No capital A tilde: print A
B8, 4F         * No capital O tilde: print O
B9             * No umlaut
BA             * No acute
BB             * No dagger
BC             * No paragraph symbol
BD             * No copyright symbol
BE             * No Registered symbol
BF             * No Trademark symbol
C0, 79         * ij ligature: print y
C1, 59         * Capital IJ ligature: print Y
C2             * No Hebrew...
C3
C4
C5
C6
C7
C8
C9
CA
CB
CC
CD
CE
CF
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
DA
DB
DC
DD        * No section mark 
DE        * No dropped circumflex
DF        * No infinity
E0        * No alpha
E1        * No esszet      
E2        * No Greek...
E3
E4
E5
E6
E7
E8
E9
EA
EB
EC
ED
EE
EF
F0             * no equivalence sign
F1, 2B, 8, 5F  * +-: + backspace _
F2, 3E, 8, 5F  * >=: > backspace _
F3, 3C, 8, 5F  * <=: < backspace _
F4             * No integral top piece
F5             * No integral bottom piece
F6, 3A, 8, 2D  * Division sign: : backspace -
F7             * No twiddly = symbol
F8             * No degree symbol
F9             * No superior bullet
FA             * No inferior bullet
FB             * No square root sign
FC             * No superior n
FD             * No superior 2
FE             * No superior 3
FF             * No macron     
0



5F            * Lower case a underline: a back