****************************************************************
*
*   
*                 SEIKOSHA SP-1000 I
*   
*   
*
*    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
* ===============
*
SEIKOSHA SP-1000 I
*
*
* 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: 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, 0A, 0D                  * Linefeed WITH return
2, 1B, 55, 01              * Forward print
3, 1B, 55, 00              * Reverse print
*4, 0B                      * Vertical tab to line (FX or LX)
5, 1B, 44, n1, n2, n3, n4, n5, n6, n7, n7, n8, n9, n10, n11, n12, n13, nk, 00 *Absolute horizontal tab 
6, 1B, 45                  * Draft bold on
7, 1B, 46                  * Draft bold off
8, 1B, 45                  * Near Letter Quality (NLQ) bold
9, 1B, 46                  * NLQ bold off
A, 1B, 34                  * Draft italic on
B, 1B, 35                  * Draft italic off
C, 1B, 34                  * NLQ italic on
D, 1B, 35                  * NLQ italic off
E, 1B, 48                  * Draft light on
F, 1B, 47                  * Draft light off
10, 1B, 78, 00, 1B, 48     * NLQ light on
11, 1B, 78, 01, 1B, 47     * NLQ light off
12, 0F                     * Draft superscript on
13, 12                     * Draft superscript off
14, 0F                     * NLQ superscript on
15, 12                     * NLQ superscript off
16, 1B, 53, 00             * Draft subscript on
17, 1B, 54                 * Draft subscript off
18, 1B, 53, 00             * NLQ subscript on
19, 1B, 54                 * NLQ subscript off
1A, 1B, 2D, 01             * Draft underline on
1B, 1B, 2D, 00             * Draft underline off
1C, 1B, 2D, 01             * NLQ underline on
1D, 1B, 2D, 00             * NLQ underline off
1E, 0C                     * Formfeed
1F, 09                     * Horizontal initialisation
20, 1B, 32                 * Vertical initialisation
21, 1B, 40                 * Termination: printer reset
22, 08                     * Backspace
23, 0D                     * Carriage Return
24, 1B, 43, n              * form length in lines
25, 1B, 41, n              * set line feed to N units
26, 1B, 2A, m, n1, n2      * start graphics
0                          * NULL termination byte

*
* Translation Table
* =================
*
*
*
*
*
*
*
*
*
* 

0, 00            * NULL: print a space 
*1               * Up arrow: USA | backspace USA ^
*2               * Down arrow: USA | backspace USA v
*3               * Right arrow: - backspace >
*4               * Left arrow: - backspace <
*5               * No close box
*6               * No size box
*7, 1B, 37, 07   * No full box
*8, 1B, 37, 08   * No tick
*9, 1B, 37, 09   * No clock
*A, 1B, 37, 0A   * No bell
*B, 1B, 37, 0B   * No musical note
*C, 1B, 37, 0C   *
*D, 1B, 37, 0D   *
*E, 1B, 37, 0E   * No LH Atari symbol     
*F, 1B, 37, 0F   * No RH Atari symbol
*10              * LCD 0
*11              * LCD 1
*12, 1B. 37, 12  * LCD 2    
*13              * LCD 3
*14, 1B, 37, 14  * LCD 4
*15              * LCD 5
*16              * LCD 6
*17              * LCD 7     
*18, 1B, 37, 18  * LCD 8
*19, 1B, 37, 19  * LCD 9
*1A
*1B, 1B, 37; 1B
*1C
*1D
*1E
*1F
20, 1B, 37, 20              * SP
21, 1B, 37, 21              * !
22, 1B, 37, 22              * "
23, 1B, 37, 23              * #
24, 1B, 37, 24              * $
25, 1B, 37, 25              * %
26, 1B, 37, 26              * &
27, 1B, 36, 27              * '
28, 1B, 37, 28              * (
29, 1B, 37, 29              * )
2A, 1B, 37, 2A              * *
2B, 1B, 37, 2B              * +
2C, 1B, 37, 2C              * ,
2D, 1B, 37, 2D              * -
2E, 1B, 37, 2E              * .
2F, 1B, 37, 2F              * /
40, 1B, 37, 40              * @
5B, 1B, 37, 5B              * [
5C, 1B, 37, 5C              * \
5D, 1B, 37, 5D              * ]
5E, 1B, 37, 5E              * ^
60, 1B, 36, 27              * '
7B, 1B, 37, 7B              * {
7C, 1B, 37, 7C              * |
7D, 1B, 37, 7D              * }
7E, 1B, 37, 7E              * ~
7F                          * 
80, 1B, 36, 80              * €
81, 1B, 36, 81              * 
82, 1B, 36, 82              * ‚
83, 1B, 36, 83              * ƒ
84, 1B, 36, 84              * „
85, 1B, 36, 85              * …
86, 1B, 36, 86              * †
87, 1B, 36, 87              * ‡
88, 1B, 36, 88              * ˆ
89, 1B, 36, 89              * ‰
8A, 1B, 36, 8A              * Š
8B, 1B, 36, 8B              * ‹
8C, 1B, 36, 8C              * Œ
8D, 1B, 36, 8D              * 
8E, 1B, 36, 8E              * Ž
8F, 1B, 36, 8F              * 
90, 1B, 36, 90              * 
91, 1B, 36, 91              * ‘
92, 1B, 36, 92              * ’
93, 1B, 36, 93              * “
94, 1B, 36, 94              * ”
95, 1B, 36, 95              * •
96, 1B, 36, 96              * –
97, 1B, 36, 97              * —
98, 1B, 36, 98              * ˜
99, 1B, 36, 99              * ™
9A, 1B, 36, 9A              * š
9B, 1B, 36  9B              * ›
9C, 1B, 36, 9C              * œ
9D, 1B, 36, 9D              * 
9E, 1B, 37, E1              * ž
9F, 1B, 36, 9F              * Ÿ
A0, 1B, 36, A0              *  
A1, 1B, 36, A1              * ¡
A2, 1B, 36, A2              * ¢
A3, 1B, 36, A3              * £
A4, 1B, 36, A4              * ¤
A5, 1B, 36, A5              * ¥
A6, 1B, 36, A6              * ¦
A7, 1B, 36, A7              * §
A8, 1B, 36, A8              * ¨
A9, 1B, 36, A9              * ©    
AA, 1B, 36, AA              * ª
AB, 1B, 36, AB              * «
AC, 1B, 36, AC              * ¬
AD, 1B, 36, AD              * ­
AE, 1B, 36, AE              * ®
AF, 1B, 36, AF              * ¯ 
B0                          * °
B1                          * ±
B2, 1B, 37, ED              * ²
B3, 1B, 36, ED              * ³
B4, 1B, 36, 91              * ´
B5                          * µ
B6                          * ¶
B7                          * ·
B8                          * ¸
B9                          *  ¹
BA                          * º
BB, 1B, 37, D7              * »
BC                          * ¼
BD                          * ½
BE                          * ¾
BF                          * ¿
C0                          * À
C1                          * Á
C2                          * Â
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, 1B, 36, 15              * Ý
DE, 1B, 37, 5E              * Þ
DF, 1B, 36, EC              * ß 
E0, 1B, 36, E0              * à
E1, 1B, 36, E1              * á     
E2, 1B, 36, E2              * â
E3, 1B, 36, E3              * ã
E4, 1B, 36, E4              * ä
E5, 1B, 36, E5              * å
E6, 1B, 36, E6              * ã
E7, 1B, 36, E7              * ç
E8, 1B, 36, E8              * è
E9, 1B, 36, E9              * é
EA, 1B, 36, EA              * ê
EB, 1B, 36, EB              * ë
EC                          * ì
ED                          * í
EE, 1B, 36, EE              * î
EF, 1B, 36, EF              * ï
F0, 1B, 36, F0              * ð
F1, 1B, 36, F1              * ñ
F2, 1B, 36, F2              * ò
F3, 1B, 36, F3              * ó
F4, 1B, 36, F4              * ô
F5, 1B, 36, F5              * õ
F6, 1B, 36, F6              * ö
F7, 1B, 36, F7              * ÷
F8, 1B, 37, F8              * ø
F9                          * ù
FA                          * ú
FB, 1B, 36, FB              * û
FC, 1B, 36, FC              * ü
FD, 1B, 36, FD              * ý
FE                          * þ
FF, 1B, 36, FF              *
0

   

