[net.micro.atari16] 1st word printer driver for DEC letterprinter 100

bray@alberta.UUCP (Brian Bray) (05/08/86)

Here is a First Word configuration file for the DEC Letterprinter
100 terminal.  Other letterprinter users may like to have this
because the printer is quite different from the EPSON standard.

-Brian

------------------------------------------------------------------
****************************************************************
*
*    DEC Letterprinter 100 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.
*    
*    These codes do not initialize the margins, spacing,
*    page length, character set, transmission mode, etc. of
*    the letterprinter.  Also, they assume a standard character
*    set in G0 and the DEC Technical character set in G1. The
*    special symbols will not print properly without the DEC
*    Technical characters.  Also, note that superscript and
*    subscript work poorly with the tractor feed option.
*
*    This file was created by Brian Bray using the sample files
*    supplied with First Word (86/05/08).
*
****************************************************************

*
* Name of printer
* ===============
*
DEC LP100

*
* 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
* 4                                * Vertical tab to line (FX or LX)
* 5                                * Absolute horizontal tab 
6, 1B, 5B, 32, 22, 7A              * Draft bold on
7, 1B, 5B, 31, 22, 7A              * Draft bold off
* 8                                * NLQ bold on 
* 9                                * NLQ bold off
A, 1B, 5B, 31, 32, 6D, 1B, 5B, 31, 22, 7A  * Draft italic on
B, 1B, 5B, 31, 30, 6D              * Draft italic off
C, 1B, 5B, 31, 32, 6D, 1B, 5B, 32, 22, 7A  * NLQ italic on
D, 1B, 5B, 31, 30, 6D              * NLQ italic off
* E                                * Draft light on
* F                                * Draft light off
10, 1B, 5B, 31, 22, 7A             * NLQ light on
11, 1B, 5B, 32, 22, 7A             * NLQ light off
12, 1B, 4C, 1B, 5B, 31, 22, 7A     * Draft superscript on
13, 1B, 4B                         * Draft superscript off
14, 1B, 4C, 1B, 5B, 32, 22, 7A     * NLQ superscript on
15, 1B, 4B                         * NLQ superscript off
16, 1B, 4B, 1B, 5B, 31, 22, 7A     * Draft subscript on
17, 1B, 4C                         * Draft subscript off
18, 1B, 4B, 1B, 5B, 32, 22, 7A     * NLQ subscript on
19, 1B, 4C                             * NLQ subscript off
1A, 1B, 5B, 34, 6D, 1B, 5B, 31, 22, 7A     * Draft underline on
1B, 1B, 5B, 30, 6D                     * Draft underline off
1C, 1B, 5B, 34, 6D, 1B, 5B, 32, 22, 7A     * NLQ underline on
1D, 1B, 5B, 30, 6D                     * NLQ underline off
1E, C                              * Formfeed
* 1F, 12                           * Horizontal initialisation
* 20                               * Vertical initialisation
* 21                               * Termination                
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.
* 

0                        * NULL: print a space 
1, E, 7C, F              * Up arrow: USA | backspace USA ^
2, E, 7E, F              * Down arrow: USA | backspace USA v
3, E, 7D, F              * Right arrow               
4, E, 7B, F              * Left arrow                
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
C
D
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
1A
1B
1C
1D
1E
1F
7F, E, 44, F             * Triangle
80, 43, 8, 2C            * Capital C cedilla: C backspace ,
81, 75, 8, 22            * Lower case u umlaut
82, 65, 8, 27            * Lower case e acute 
83, 61, 8, 5E            * Lower case a circumflex
84, 61, 8, 22            * Lower case a umlaut
85, 61, 8, 60            * Lower case a grave
86                       * NO Lower case a boll
87, 63, 8, 2C            * Lower case c cedilla
88, 65, 8, 5E            * Lower case e circumflex
89, 65, 8, 22            * Lower case e umlaut
8A, 65, 8, 60            * Lower case e grave
8B, 69, 8, 22            * Lower case i umlaut
8C, 69, 8, 5E            * Lower case i circumflex
8D, 69, 8, 60            * Lower case i grave
8E, 41, 8, 1B, 4C, 22, 1B, 4B    * Capital A umlaut
8F                       * NO Capital A boll
90, 45, 8, 1B, 4C, 27, 1B, 4B    * 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, 8, 22            * Lower case o umlaut
95, 6F, 8, 60            * Lower case o grave
96, 75, 8, 5E            * Lower case u circumflex: u backspace ^
97, 75, 8, 60            * Lower case u grave
98, 79, 8, 22            * Lower case y umlaut: y backspace "
99, 4F, 8, 1B, 4C, 22, 1B, 4B    * Capital O umlaut
9A, 55, 8, 1B, 4C, 22, 1B, 4B    * Capital U umlaut
9B, 63, 8, 7C            * c cent: c backspace |
9C                       * NO Pound sterling
9D                       * NO Yen
9E, E, 62, F             * Esszet (Using Beta)     
9F, E, 76, F             * Lower case swash f
A0, 61, 8, 27            * Lower case a acute: a backspace '
A1, 69, 8, 27            * Lower case i acute: i backspace '
A2, 6F, 8, 27            * Lower case o acute: o backspace '
A3, 75, 8, 27            * Lower case u acute: u backspace '
A4, 6E, 8, 7E            * Lower case n tilde
A5, 4E, 8, 1B, 4C, 7E, 1B, 4B    * Capital N tilde from Spanish fount
A6, 61, 8, 5F            * Lower case a underline: a backspace underline
A7, 6F, 8, 5F            * Lower case o underline: o backspace underline
A8                       * NO Inverted
A9, E, 27, F             * Top left corner     
AA, E, 29, F             * 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 USA ~
B1, 6F, 8, 7E            * Lower case o tilde: o backspace USA ~
B2, 4F, 8, 2F            * Capital crossed O from Danish 1 fount
B3, 6F, 8, 2F            * Lower case crossed o from Danish 1 fount
B4                       * No lower case oe dipthong
B5                       * No capital OE dipthong
B6, 41, 8, 1B, 4C, 60, 1B, 4B    * Capital A grave
B7, 41, 8, 1B, 4C, 7E, 1B, 4B    * Capital A tilde
B8, 4F, 8, 1B, 4C, 7E, 1B, 4B    * Capital O tilde
B9, 22                   * Umlaut: Use double quote
BA, 27                   * Acute: print '
BB                       * No dagger
BC                       * No paragraph symbol
BD                       * No copyright symbol
BE                       * No Registered symbol
BF                       * No Trademark symbol
C0                       * NO ij ligature            
C1                       * NO Capital IJ ligature
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, 1B, 4B, 5E, 1B, 4C   * Dropped circumflex
DF, E, 42, F             * Infinity
E0, E, 61, F             * Alpha
E1, E, 62, F             * Esszet from German fount     
E2, E, 47, F             * Gamma       
E3, E, 70, F             * Small Pi
E4, E, 53, F             * Big Sigma
E5, E, 73, F             * Small Sigma
E6, 75                   * Micro: Use u
E7, E, 74, F             * Tau
E8, E, 46, F             * Big Phi
E9, E, 4A, F             * Big Theta
EA, E, 57, F             * Big Omega
EB, E, 64, F             * Small Delta
EC                       * NO Integral O
ED, E, 66, F             * Small Phi
EE, E, 65, F             * Sigma
EF, E, 5C, F             * Big N
F0, E, 4F, F             * Equivalence 
F1, 2B, 8, 5F            * +-
F2, E, 3E, F             * >=
F3, E, 3C, F             * <=
F4, E, 24, F             * Integral top piece
F5, E, 25, F             * Integral bottom piece
F6, E, 43, F             * Division sign: : backspace -
F7, E, 49, F             * Twiddly = symbol
F8                       * NO Degree symbol
F9                       * No superior bullet
FA                       * No inferior bullet
FB, E, 21, F, 8, 1B, 4C, E, 22, F, 1B, 4B    * Square root sign
FC                       * No superior n
FD                       * No superior 2
FE                       * No superior 3
FF                       * No macron     
0

------------------------End of File--------------------------------