* Title of printer filter:
Standard printer filter
* This is a printer filter for a common dot matrix printer
* Hasse Wehner 11.06.91
* Please read the Printing chapter in the manual to help
* in understanding this structure.
*
ESCDEFINITION
* This section describes your printer's control codes.
* First number in every line specifies the character following ESC                     *
* Next number is a code for how the length of the command can
* be determined:
*  1  The length is fixed
*     Next number describes the number of chars following 
*     ESC, <1stnumber>
*  2  The ESC-sequence terminates by a specific value.
*     The endvalue is given as the last number
*  3  This command actives graphics printing.
*     first digit in the third number tells how many bytes is needed
*     per column.
*     For 8 bit graphics this will normally be 1.
*     24 pin graphics need 3 bytes per coloumn
*  4  Length of printer command can't be determined on the first
*     byte following ESC. Its different interpretation is described in
*     the EXCEPTION section
2A 4 0   * described in exception no. 0
4B 3 10  * graphics printing 1 byte for each strike, n1 & n2 immediately
         * following ESC 4B 
4C 3 10
59 3 10
5A 3 10

FSDEFINITION
* This section has the same format as the ESCdefinition
* It describes control codes beginning with FS [1C]
5a 3 30        * high-density 24 pin graphic

EXCEPTIONS
* In this section all commands are described which couldn't
* be described in the ESCDEFINITION.
* 1st number: exception no.
* 2nd number on same line: no of subcommands
* next <2nd number> lines defines each subcommand
0 0b        * This exception describes 11 subcommands all produced by 1b 2a ...
0 3 10      * sd     8 pin
1 3 10      * dd     8 pin
2 3 10      * dd     8 pin  double speed
3 3 10      * qd     8 pin
4 3 10      * CRT1   8 pin
6 3 10      * CRT2   8 pin
20 3 30     * sd    24 pin
21 3 30     * dd    24 pin
26 3 30     * CRT2  24 pin
27 3 30     * td    24 pin
28 3 30     * hd    24 pin

            
TRANSLATION
**********************************************
* The most interesting section - it defines  *
* the actual translation that is to be made  *
* Each line defines a translation for        *
* a character in the ATARI ST character set. *
* 1st number: the character to be translated *
* The following numbers on the same line     *
* are the characters and/or printer commands *
* the character must be translated to before *
* being printed                              *
**********************************************
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, 0A, 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
8D, 1B, 52, 6, 7E, 1B, 52, 0  * � - Italian
8E, 1B, 52, 2, 5B, 1B, 52, 0  * � - German
8F, 1B, 52,0A, 5D, 1B, 52, 0  * � - Danish 1 (use 0A or 04)
90, 1B, 52, 5, 40, 1B, 52, 0  * � - Sweden
91, 1B, 52,0A, 7B, 1B, 52, 0  * � - Danish 1 (use 0A or 04)
92, 1B, 52,0A, 5B, 1B, 52, 0  * � - Danish 1 (use 0A or 04)
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
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
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
AD, 1B, 52, 7, 5B, 1B, 52, 0  * � - Spanish
B0, 61, 8, 7E                 * � - a BS ~
B1, 6F, 8, 7E                 * � - o BS ~
* B2 and B3 are left as comments because the font uses them
* for IBM graphic characters. Danish users should remove the leading
* '*' character to activate them
* B2, 1B, 52,0A, 5C, 1B, 52, 0  * � - Danish 1 (use 0A or 04)
* B3, 1B, 52,0A, 7C, 1B, 52, 0  * � - Danish 1 (use 0A or 04)
B9, 1B, 52, 1, 7E, 1B, 52, 0    * � - French
C0, 79, 8,1B,52,1,7E,1B,52,0    * � - y BS French �
C1, 59                          * � - Y
DD, 1B, 52, 2, 40, 1B, 52, 0    * � - German
E1, 1B, 52, 2, 7E, 1B, 52, 0    * � - German     
F1, 2B, 8, 5F                   * � - + BS _
F2, 3E, 8, 5F                   * � - > BS _
F3, 3C, 8, 5F                   * � - < BS _
F8, 1B, 52, 1, 5B, 1B, 52, 0    * � - French

PRINTERCOMMANDS:
**********************************************
* This section defines the printer commands  *
* that will be installed as "buttons" in     *
* the "Printer Filter box" in Harlekin.ACC   *
* A button is defined in two lines:          *
* 1st line: label to be put in box           *
* 2nd line: the commands sent to the printer *
*                                            *
* A maximum of 8 buttons can be defined      *
* The label may be no longer than 15 chars   *
**********************************************
Reset
1b 40
Elite
1b 4d 1b 6c 05
Small (90/15)            * 8 lines/inch, condensed
1b F 1b 30 1b 6c 6
Uni-directional
1b 55 01
Prop&justify70
1b 70 01 1b 61 03  1b 51 46
END