*****************************************************************
*                                                               *
*                                                               *
*                                                               *
*                  MATRIX PRINTER CONFIGURATION                 *
*                  ============================                 *
*                                                               *
*                                                               *
*    This file contains configuration details for the printers  *
*    described below.  To modify the printer configuration,     *
*    you must:                                                  *
*                                                               *
*    (a)  Read the chapter PRINTER CONFIGURATION in your User   *
*         Manual - THOROUGHLY!                                  *
*                                                               *
*    (b)  Edit this file using 1st Word Plus to make the        *
*         required changes (all values are HEXADECIMAL).        *
*                                                               *
*    (c)  Run the INSTALL program to install the new driver.    *
*                                                               *
*    Consult your User Manual for details of how to load your   *
*    custom driver from the 1st Word Plus desktop, and how to   *
*    make it your default printer.                              *
*                                                               *
*              Copyright (C) 1986, GST Holdings Ltd             *
*                                                               *
*****************************************************************


*    Printer name
*    ============
*
*    For display above the font table on the
*    1st Word Plus desktop (max 32 characters) 
*
*    Select one of the following:
*
*    Epson FX/RX (9-pin matrix)
*    Epson JX/EX (9-pin color)
*    Epson LX/GX/FX (9-pin NLQ)
*    Epson LQ/SQ series (24-pin)
*    Atari SMM804 (9-pin matrix)


Epson FX/RX (9-pin matrix)


*    Configuration variables
*    =======================
*
*    These six variables define certain printer
*    configuration details required by 1st Word Plus:
*
*    (1)  1 for microspacing daisywheel, else 0
*    (2)  Character width in printer units (daisy)
*    (3)  Linefeed height in printer units
*    (4)  Mid-carriage (daisy) pixels/inch (matrix)
*    (5)  Bold offset in printer units (daisy)
*    (6)  1 to pause printing between pages, else 0
*
*    Select one of the following:
*
*    0,0,C,48,0,0   (FX/JX/LX)
*    0,0,A,3C,0,0   (LQ/SQ)
*    0,2,C,50,0,0   (SMM804)


0,0,C,48,0,0


*    Printer characteristics
*    =======================
*
*    This table defines values to be sent to the
*    printer by 1st Word Plus to control its operation.
*
*    An entry consists of:
*
*    (1)  Function number (these must be kept in order)
*    (2)  Command bytes (hex commands and placeholders)
*
*    A placeholder has the top bit set and is substituted
*    by an actual value by 1st Word Plus when printing.
*
*    Lines preceded by an asterisk are commented out.
*
*    For NLQ printers, if the NLQ print style command is the same
*    as the draft style command, you can omit the NLQ command.
*    This does NOT apply to pitch changes.
*
*    Epson FX commands are the basis for this table, alternate
*    commands for specific printers are shown by printer model
*    letters in the comments.
*
*    Select the commands for your specific printer and comment
*    out the remainder, as shown.

* 0                           *    Character width
1,   D,A                      *    Carriage return line feed
* 2                           *    Forward print
* 3                           *    Reverse print
4,   1B,42,80,0,B             *    Vertical tab to line
* 4                           * SM No vertical tab!
* 5                           *    Absolute horizontal tab 
6,   1B,47                    *    Draft bold on
7,   1B,48                    *    Draft bold off
* 6, 1B,45                    * LQ Draft bold on
* 7, 1B,46                    * LQ Draft bold off
* 8, 1B,45                    * LX NLQ bold on
* 9, 1B,46                    * LX NLQ bold off
A,   1B,34                    *    Draft italic on
B,   1B,35                    *    Draft italic off
* C, 1B,78,0,1B,34,1B,47      * LX NLQ italic on (double draft!)
* D, 1B,48,1B,35,1B,78,1      * LX NLQ italic off
* E, 1B,72,5                  * JX Draft light on (red)
* F, 1B,72,0                  * JX Draft light off (black)
* 10,1B,78,0                  * LX NLQ light on
* 11,1B,78,1                  * LX NLQ light off
* 10,1B,78,0                  * LQ NLQ light on
* 11,1B,78,1                  * LQ NLQ light off
12,  1B,53,0                  *    Draft superscript on
13,  1B,54                    *    Draft superscript off
* 14,1B,78,0,1B,53,0          * LX NLQ superscript on
* 15,1B,54,1B,78,1            * LX NLQ superscript off
16,  1B,53,1                  *    Draft subscript on
17,  1B,54                    *    Draft subscript off
* 18,1B,78,0,1B,53,1          * LX NLQ subscript on
* 19,1B,54,1B,78,1            * LX NLQ subscript off
1A,  1B,2D,1                  *    Draft underline on
1B,  1B,2D,0                  *    Draft underline off
* 1C                          *    NLQ underline on
* 1D                          *    NLQ underline off
1E,  C                        *    Formfeed
1F,  12                       *    Horizontal initialization
20,  1B,52,0                  *    Vertical initialization
* 20                          * SM Vertical initialisation
21,  1B,40                    *    Termination: printer reset
22,  8                        *    Backspace
23,  D                        *    Carriage return
24,  1B,43,80                 *    Form length in lines
25,  1B,41,80                 *    Set line feed to N units
26,  1B,2A,5                  *    Start graphics (mode 5)
* 26,1B,2A,0                  * LQ Start graphics (mode 0)
* 26,1B,59                    * SM Start graphics
* 27                          *    Reserved
28,  12,1B,57,0,1B,50         *    Draft Pica      (10   cpi)
* 29                          *    NLQ   Pica      (10   cpi)
2A,  12,1B,57,0,1B,4D         *    Draft Elite     (12   cpi)
* 2B                          *    NLQ   Elite     (12   cpi)
2C,  1B,57,0,1B,50,F          *    Draft Condensed (17.2 cpi)
* 2D                          *    NLQ   Condensed (17.2 cpi)
2E,  12,1B,4D,1B,57,1         *    Draft Expanded  ( 6   cpi)
* 2F                          *    NLQ   Expanded  ( 6   cpi)
* 28,1B,78,0,12,1B,57,0,1B,50 * LX Draft Pica      (10   cpi)
* 29,12,1B,57,0,1B,50,1B,78,1 * LX NLQ   Pica      (10   cpi)
* 2A,1B,78,0,12,1B,57,0,1B,4D * LX Draft Elite     (12   cpi)
* 2B                          * LX NLQ   Elite     (12   cpi)
* 2C,1B,78,0,1B,57,0,1B,50,F  * LX Draft Condensed (17.2 cpi)
* 2D                          * LX NLQ   Condensed (17.2 cpi)
* 2E,1B,78,0,12,1B,4D,1B,57,1 * LX Draft Expanded  ( 6   cpi)
* 2F                          * LX NLQ   Expanded  ( 6   cpi)
* 28,1B,78,0,12,1B,57,0,1B,50 * LQ Draft Pica      (10   cpi)
* 29,12,1B,57,0,1B,50,1B,78,1 * LQ NLQ   Pica      (10   cpi)
* 2A,1B,78,0,12,1B,57,0,1B,4D * LQ Draft Elite     (12   cpi)
* 2B,12,1B,57,0,1B,4D,1B,78,1 * LQ NLQ   Elite     (12   cpi)
* 2C,1B,78,0,1B,57,0,1B,50,F  * LQ Draft Condensed (17.2 cpi)
* 2D,1B,57,0,1B,50,F,1B,78,1  * LQ NLQ   Condensed (17.2 cpi)
* 2E,1B,78,0,12,1B,4D,1B,57,1 * LQ Draft Expanded  ( 6   cpi)
* 2F,12,1B,4D,1B,57,1,1B,78,1 * LQ NLQ   Expanded  ( 6   cpi)
* 30,1B,72,0                  * JX Black   ink
* 31,1B,72,1                  * JX Magenta ink
* 32,1B,72,2                  * JX Cyan    ink
* 33,1B,72,4                  * JX Yellow  ink
0                             *    NULL termination byte


*    Translation Table (Epson Printers)
*    ==================================
*
*    This table is used to translate the ST
*    character codes for output to the printer.
*
*    Each entry consists of:
*
*    (1)  ST character code (these must be in order)
*    (2)  The (possibly null) byte string to be output
*
*    ST character codes with a NULL translation
*    string are printed as spaces.
*
*    ST character codes NOT in the table are sent
*    directly to the printer without translation.


7F                            *  - N/A
80                            *  - N/A
81, 1B, 52, 2, 7D, 1B, 52, 0  *  - German
82, 1B, 52, 1, 7B, 1B, 52, 0  *  - French
83, 61, 8, 5E                 *  - a BS ^
84, 1B, 52, 2, 7B, 1B, 52, 0  *  - German
85, 1B, 52, 1, 40, 1B, 52, 0  *  - French
86, 1B, 52, 4, 7D, 1B, 52, 0  *  - Danish 1
87, 1B, 52, 1, 5C, 1B, 52, 0  *  - French
88, 65, 8, 5E                 *  - e BS ^
89, 65, 8,1B,52,1,7E,1B,52,0  *  - e BS French 
8A, 1B, 52, 1, 7D, 1B, 52, 0  *  - French
8B                            *  - N/A
8C                            *  - N/A
8D, 1B, 52, 6, 7E, 1B, 52, 0  *  - Italian
8E, 1B, 52, 2, 5B, 1B, 52, 0  *  - German
8F, 1B, 52, 4, 5D, 1B, 52, 0  *  - Danish 1
90, 1B, 52, 9, 40, 1B, 52, 0  *  - Norwegian
91, 1B, 52, 4, 7B, 1B, 52, 0  *  - Danish 1
92, 1B, 52, 4, 5B, 1B, 52, 0  *  - Danish 1
93, 6F, 8, 5E                 *  - o BS ^
94, 1B, 52, 2, 7C, 1B, 52, 0  *  - German
95, 1B, 52, 6, 7C, 1B, 52, 0  *  - Italian
96, 75, 8, 5E                 *  - u BS ^
97, 1B, 52, 1, 7C, 1B, 52, 0  *  - French
98, 79, 8,1B,52,1,7E,1B,52,0  *  - y BS French 
99, 1B, 52, 2, 5C, 1B, 52, 0  *  - German
9A, 1B, 52, 2, 5D, 1B, 52, 0  *  - German
9B                            *  - N/A
9C, 1B, 52, 3, 23, 1B, 52, 0  *  - UK
9D, 1B, 52, 8, 5C, 1B, 52, 0  *  - Japanese
9E, 1B, 52, 2, 7E, 1B, 52, 0  *  - German
9F, 66                        *  - f
A0                            *  - N/A
A1                            *  - N/A
A2                            *  - N/A
A3                            *  - N/A
A4, 1B, 52, 7, 7C, 1B, 52, 0  *  - Spanish
A5, 1B, 52, 7, 5C, 1B, 52, 0  *  - Spanish
A6, 61, 8, 5F                 *  - a BS _
A7, 6F, 8, 5F                 *  - o BS _
A8, 1B, 52, 7, 5D, 1B, 52, 0  *  - Spanish
A9                            *  - N/A
AA                            *  - N/A
AB                            *  - N/A
AC                            *  - N/A
AD, 1B, 52, 7, 5B, 1B, 52, 0  *  - Spanish
AE                            *  - N/A
AF                            *  - N/A
B0, 61, 8, 7E                 *  - a BS ~
B1, 6F, 8, 7E                 *  - o BS ~
B2, 1B, 52, 4, 5C, 1B, 52, 0  *  - Danish 1
B3, 1B, 52, 4, 7C, 1B, 52, 0  *  - Danish 1
B4                            *  - N/A
B5                            *  - N/A
B6                            *  - N/A
B7                            *  - N/A
B8                            *  - N/A
B9, 1B, 52, 1, 7E, 1B, 52, 0  *  - French
BA                            *  - N/A
BB                            *  - N/A
BC                            *  - N/A
BD                            *  - N/A
BE                            *  - N/A
BF                            *  - N/A
C0, 79, 8,1B,52,1,7E,1B,52,0  *  - y BS French 
C1, 59                        *  - Y
C2                            *  - N/A
C3                            *  - N/A
C4                            *  - N/A
C5                            *  - N/A
C6                            *  - N/A
C7                            *  - N/A
C8                            *  - N/A
C9                            *  - N/A
CA                            *  - N/A
CB                            *  - N/A
CC                            *  - N/A
CD                            *  - N/A
CE                            *  - N/A
CF                            *  - N/A
D0                            *  - N/A
D1                            *  - N/A
D2                            *  - N/A
D3                            *  - N/A
D4                            *  - N/A
D5                            *  - N/A
D6                            *  - N/A
D7                            *  - N/A
D8                            *  - N/A
D9                            *  - N/A
DA                            *  - N/A
DB                            *  - N/A
DC                            *  - N/A
DD, 1B, 52, 2, 40, 1B, 52, 0  *  - German
DE                            *  - N/A
DF                            *  - N/A
E0                            *  - N/A
E1, 1B, 52, 2, 7E, 1B, 52, 0  *  - German     
E2                            *  - N/A
E3                            *  - N/A
E4                            *  - N/A
E5                            *  - N/A
E6                            *  - N/A
E7                            *  - N/A
E8                            *  - N/A
E9                            *  - N/A
EA                            *  - N/A
EB                            *  - N/A
EC                            *  - N/A
ED                            *  - N/A
EE                            *  - N/A
EF                            *  - N/A
F0                            *  - N/A
F1, 2B, 8, 5F                 *  - + BS _
F2, 3E, 8, 5F                 *  - > BS _
F3, 3C, 8, 5F                 *  - < BS _
F4                            *  - N/A
F5                            *  - N/A
F6                            *  - N/A
F7                            *  - N/A
F8, 1B, 52, 1, 5B, 1B, 52, 0  *  - French
F9                            *  - N/A
FA                            *  - N/A
FB                            *  - N/A
FC                            *  - N/A
FD                            *  - N/A
FE                            *  - N/A
0                             * NULL terminator


*    Translation Table (Atari SMM804)
*    ================================
*
*    This table is used to translate the ST
*    character codes for output to the printer.
*
*    Each entry consists of:
*
*    (1)  ST character code (these must be in order)
*    (2)  The (possibly null) byte string to be output
*
*    ST character codes with a NULL translation
*    string are printed as spaces.
*
*    ST character codes NOT in the table are sent
*    directly to the printer without translation.


* 7F                          *  - N/A
* 0                           * NULL terminator

