home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / discs / mag_discs / volume_3 / issue12 / fwp_column / sources / LQ5000di
Text File  |  1990-07-01  |  10KB  |  257 lines

  1. *    0060.7 GST 298/0.00
  2. *
  3. *****************************************************************
  4. *                                                               *
  5. *                                                               *
  6. *                                                               *
  7. *                  MATRIX PRINTER CONFIGURATION                 *
  8. *                  ============================                 *
  9. *                                                               *
  10. *                                                               *
  11. *    This file contains configuration details for the printers  *
  12. *    described below.  To modify the printer configuration,     *
  13. *    you must:                                                  *
  14. *                                                               *
  15. *    (a)  Read the chapter PRINTER CONFIGURATION in your User   *
  16. *         Manual - THOROUGHLY!                                  *
  17. *                                                               *
  18. *    (b)  Edit this file using 1st Word Plus to make the        *
  19. *         required changes (all values are HEXADECIMAL).        *
  20. *                                                               *
  21. *    (c)  Run the 1PR program to install the new driver.        *
  22. *                                                               *
  23. *    Consult your User Manual for details of how to load your   *
  24. *    custom driver from the 1st Word Plus desktop, and how to   *
  25. *    make it your default printer.                              *
  26. *                                                               *
  27. *    Copyright (C) 1986, 1987, 1988, GST Holdings Ltd           *
  28. *                                                               *
  29. *****************************************************************
  30.  
  31.  
  32. *    Printer name
  33. *    ============
  34. *
  35. *    For display above the font table on the
  36. *    1st Word Plus desktop (max 32 characters) 
  37. *
  38. *    Select one of the following:
  39. *
  40. *    Epson FX/RX (9-pin matrix)
  41. *    Epson JX/EX (9-pin color)
  42. *    Epson LX/GX/FX (9-pin NLQ)
  43. *    Epson LQ/SQ series (24-pin)
  44.  
  45.  
  46. AMSTRAD LQ5000di
  47.  
  48.  
  49. *    Configuration variables
  50. *    =======================
  51. *
  52. *    These six variables define certain printer
  53. *    configuration details required by 1st Word Plus:
  54. *
  55. *    (1)  1 for microspacing daisywheel, else 0
  56. *    (2)  Character width in printer units (daisy)
  57. *    (3)  Linefeed height in printer units
  58. *    (4)  Mid-carriage (daisy) pixels/inch (matrix)
  59. *    (5)  Bold offset in printer units (daisy)
  60. *    (6)  1 to pause printing between pages, else 0
  61. *
  62. *    Select one of the following:
  63. *
  64. *    0,0,C,48,0,0   (FX/JX/LX)
  65. *    0,0,A,3C,0,0   (LQ/SQ)
  66. *    0,2,C,50,0,0   (SMM804)
  67.  
  68.  
  69. 0,0,A,3C,0,0
  70.  
  71.  
  72. *    Printer characteristics
  73. *    =======================
  74. *
  75. *    This table defines values to be sent to the
  76. *    printer by 1st Word Plus to control its operation.
  77. *
  78. *    An entry consists of:
  79. *
  80. *    (1)  Function number (these must be kept in order)
  81. *    (2)  Command bytes (hex commands and placeholders)
  82. *
  83. *    A placeholder has the top bit set and is substituted
  84. *    by an actual value by 1st Word Plus when printing.
  85. *
  86. *    Lines preceded by an asterisk are commented out.
  87. *
  88. *    For NLQ printers, if the NLQ print style command is the same
  89. *    as the draft style command, you can omit the NLQ command.
  90. *    This does NOT apply to pitch changes.
  91. *
  92. *    Epson FX commands are the basis for this table, alternate
  93. *    commands for specific printers are shown by printer model
  94. *    letters in the comments.
  95. *
  96. *    Select the commands for your specific printer and comment
  97. *    out the remainder, as shown.
  98.  
  99. 1,   D,A                      *    Carriage return line feed
  100. 4,   1B,42,80,0,B             *    Vertical tab to line
  101. 5,   1B,24,80                 *    Absolute horizontal tab 
  102. 6,   1B,45                    *    Draft bold on
  103. 7,   1B,46                    *    Draft bold off
  104. 8,   1B,45                    *    NLQ bold on
  105. 9,   1B,46                    *    NLQ bold off
  106. A,   1B,34                    *    Draft italic on
  107. B,   1B,35                    *    Draft italic off
  108. C,   1B,34                    *    NLQ italic on
  109. D,   1B,35                    *    NLQ italic off
  110. 10,  1B,78,0                  *    NLQ light on
  111. 11,  1B,78,1                  *    NLQ light off
  112. 12,  1B,53,0                  *    Draft superscript on
  113. 13,  1B,54                    *    Draft superscript off
  114. 14,  1B,53,0                  *    NLQ superscript on
  115. 15,  1B,54                    *    NLQ superscript off
  116. 16,  1B,53,1                  *    Draft subscript on
  117. 17,  1B,54                    *    Draft subscript off
  118. 18,  1B,53,1                  *    NLQ subscript on
  119. 19,  1B,54                    *    NLQ subscript off
  120. 1A,  1B,2D,1                  *    Draft underline on
  121. 1B,  1B,2D,0                  *    Draft underline off
  122. 1C,  1B,2D,1                  *    NLQ underline on
  123. 1D,  1B,2D,0                  *    NLQ underline off
  124. 1E,  C                        *    Formfeed
  125. 21,  1B,40                    *    Termination: printer reset
  126. 22,  8                        *    Backspace
  127. 23,  D                        *    Carriage return
  128. 24,  1B,43,80                 *    Form length in lines
  129. 25,  1B,41,80                 *    Set line feed to N units
  130. 26,  1B,2A,0                  *    Start graphics (mode 0)
  131. 28,  1B,78,0,12,1B,57,0,1B,50 *    Draft Pica      (10   cpi)
  132. 29,  1B,78,1,12,1B,57,0,1B,50 *    NLQ   Pica      (10   cpi)
  133. 2A,  1B,78,0,12,1B,57,0,1B,4D *    Draft Elite     (12   cpi)
  134. 2B,  1B,78,1,12,1B,57,0,1B,4D *    NLQ   Elite     (12   cpi)
  135. 2C,  1B,78,0,1B,57,0,1B,50,F  *    Draft Condensed (17.2 cpi)
  136. 2D,  1B,78,0,1B,57,0,1B,50,F  *    NLQ   Condensed (17.2 cpi) (Not NLQ)
  137. 2E,  1B,78,0,12,1B,4D,1B,57,1 *    Draft Expanded  ( 6   cpi)
  138. 2F,  1B,78,1,12,1B,4D,1B,57,1 *    NLQ   Expanded  ( 6   cpi)
  139. 0                             *    End of Table 
  140.  
  141. *    Translation Table (Epson Printers)
  142. *    ==================================
  143. *
  144. *    This table is used to translate the Archimedes
  145. *    character codes for output to the printer.
  146. *
  147. *    Each entry consists of:
  148. *
  149. *    (1)  Archimedes character code (these must be in order)
  150. *    (2)  The (possibly null) byte string to be output
  151. *
  152. *    Archimedes character codes with a NULL translation
  153. *    string are printed as spaces.
  154. *
  155. *    Archimedes character codes NOT in the table are sent
  156. *    directly to the printer without translation.
  157.  
  158. A0, 20,                     00  * á
  159. A1, 1B, 74, 02, 85, 1B, 74, 00  * í
  160. A2, 1B, 74, 02, 83, 1B, 74, 00  * ó
  161. A3, 1B, 52, 03, 23, 1B, 52, 00  * ú   
  162. A4, 1B, 74, 02, 91, 1B, 74, 00  * ñ
  163. A5, 1B, 74, 02, 84, 1B, 74, 00  * Ñ
  164. A6, 1B, 74, 02, 87, 1B, 74, 00  * ª
  165. A7, 1B, 74, 02, 90, 1B, 74, 00  * º
  166. A8, 1B, 74, 02, 8A, 1B, 74, 00  * ¿
  167. A9, 1B, 74, 02, 82, 1B, 74, 00  * ⌐
  168. AA, 1B, 74, 02, 88, 1B, 74, 00  * ¬
  169. AB, 1B, 74, 02, 89, 1B, 74, 00  * ½
  170. AC, 1B, 74, 02, A4, 1B, 74, 00  * ¼
  171. AD, 1B, 74, 02, 93, 1B, 74, 00  * ¡
  172. AE, 1B, 74, 02, 9A, 1B, 74, 00  * «
  173. AF, 1B, 74, 02, 81, 1B, 74, 00  * »
  174. B0, 1B, 3C, 1B, 74, 02, B0, 1B, 74, 00  * ░
  175. B1, 1B, 3C, 1B, 74, 02, B1, 1B, 74, 00  * ▒
  176. B2, 1B, 3C, 1B, 74, 02, B2, 1B, 74, 00  * ▓
  177. B3, 1B, 3C, 1B, 74, 02, B3, 1B, 74, 00  * │
  178. B4, 1B, 3C, 1B, 74, 02, B4, 1B, 74, 00  * ┤
  179. B5, 1B, 3C, 1B, 74, 02, B5, 1B, 74, 00  * ╡
  180. B6, 1B, 3C, 1B, 74, 02, B6, 1B, 74, 00  * ╢
  181. B7, 1B, 3C, 1B, 74, 02, B7, 1B, 74, 00  * ╖
  182. B8, 1B, 3C, 1B, 74, 02, B8, 1B, 74, 00  * ╕
  183. B9, 1B, 3C, 1B, 74, 02, B9, 1B, 74, 00  * ╣
  184. BA, 1B, 3C, 1B, 74, 02, BA, 1B, 74, 00  * ║
  185. BB, 1B, 3C, 1B, 74, 02, BB, 1B, 74, 00  * ╗
  186. BC, 1B, 3C, 1B, 74, 02, BC, 1B, 74, 00  * ╝
  187. BD, 1B, 3C, 1B, 74, 02, BD, 1B, 74, 00  * ╜
  188. BE, 1B, 3C, 1B, 74, 02, BE, 1B, 74, 00  * ╛
  189. BF, 1B, 3C, 1B, 74, 02, BF, 1B, 74, 00  * ┐
  190. C0, 1B, 3C, 1B, 74, 02, C0, 1B, 74, 00  * └
  191. C1, 1B, 3C, 1B, 74, 02, C1, 1B, 74, 00  * ┴
  192. C2, 1B, 3C, 1B, 74, 02, C2, 1B, 74, 00  * ┬
  193. C3, 1B, 3C, 1B, 74, 02, C3, 1B, 74, 00  * ├
  194. C4, 1B, 3C, 1B, 74, 02, C4, 1B, 74, 00  * ─
  195. C5, 1B, 3C, 1B, 74, 02 ,C5, 1B, 74, 00  * ┼
  196. C6, 1B, 3C, 1B, 74, 02, C6, 1B, 74, 00  * ╞
  197. C7, 1B, 3C, 1B, 74, 02, C7, 1B, 74, 00  * ╟
  198. C8, 1B, 3C, 1B, 74, 02, C8, 1B, 74, 00  * ╚
  199. C9, 1B, 3C, 1B, 74, 02, C9, 1B, 74, 00  * ╔
  200. CA, 1B, 3C, 1B, 74, 02, CA, 1B, 74, 00  * ╩
  201. CB, 1B, 3C, 1B, 74, 02, CB, 1B, 74, 00  * ╦
  202. CC, 1B, 3C, 1B, 74, 02, CC, 1B, 74, 00  * ╠
  203. CD, 1B, 3C, 1B, 74, 02, CD, 1B, 74, 00  * ═
  204. CE, 1B, 3C, 1B, 74, 02, CE, 1B, 74, 00  * ╬
  205. CF, 1B, 3C, 1B, 74, 02, CF, 1B, 74, 00  * ╧
  206. D0, 1B, 3C, 1B, 74, 02, D0, 1B, 74, 00  * ╨
  207. D1, 1B, 3C, 1B, 74, 02, D1, 1B, 74, 00  * ╤
  208. D2, 1B, 3C, 1B, 74, 02, D2, 1B, 74, 00  * ╥
  209. D3, 1B, 3C, 1B, 74, 02, D3, 1B, 74, 00  * ╙
  210. D4, 1B, 3C, 1B, 74, 02, D4, 1B, 74, 00  * ╘
  211. D5, 1B, 3C, 1B, 74, 02, D5, 1B, 74, 00  * ╒
  212. D6, 1B, 3C, 1B, 74, 02, D6, 1B, 74, 00  * ╓
  213. D7, 1B, 3C, 1B, 74, 02, D7, 1B, 74, 00  * ╫
  214. D8, 1B, 3C, 1B, 74, 02, D8, 1B, 74, 00  * ╪
  215. D9, 1B, 3C, 1B, 74, 02, D9, 1B, 74, 00  * ┘
  216. DA, 1B, 3C, 1B, 74, 02, DA, 1B, 74, 00  * ┌
  217. DB, 1B, 3C, 1B, 74, 02, DB, 1B, 74, 00  * █
  218. DC, 1B, 3C, 1B, 74, 02, DC, 1B, 74, 00  * ▄
  219. DD, 1B, 3C, 1B, 74, 02, DD, 1B, 74, 00  * ▌
  220. DE, 1B, 3C, 1B, 74, 02, DE, 1B, 74, 00  * ▐
  221. DF, 1B, 3C, 1B, 74, 02, DF, 1B, 74, 00  * ▀
  222. E0, 1B, 74, 02, E0, 1B, 74, 00  * α
  223. E1, 1B, 74, 02, E1, 1B, 74, 00  * ß
  224. E2, 1B, 74, 02, E2, 1B, 74, 00  * Γ
  225. E3, 1B, 74, 02, E3, 1B, 74, 00  * π
  226. E4, 1B, 74, 02, E4, 1B, 74, 00  * Σ
  227. E5, 1B, 74, 02, E5, 1B, 74, 00  * σ
  228. E6, 1B, 74, 02, E6, 1B, 74, 00  * µ
  229. E7, 1B, 74, 02, E7, 1B, 74, 00  * τ
  230. E8, 1B, 74, 02, E8, 1B, 74, 00  * Φ
  231. E9, 1B, 74, 02, E9, 1B, 74, 00  * Θ
  232. EA, 1B, 74, 02, EA, 1B, 74, 00  * Ω
  233. EB, 1B, 74, 02, EB, 1B, 74, 00  * δ
  234. EC, 1B, 74, 02, EC, 1B, 74, 00  * ∞
  235. ED, 1B, 74, 02, ED, 1B, 74, 00  * φ
  236. EE, 1B, 74, 02, EE, 1B, 74, 00  * ε
  237. EF, 1B, 74, 02, EF, 1B, 74, 00  * ∩
  238. F0, 1B, 74, 02, F0, 1B, 74, 00  * ≡
  239. F1, 1B, 74, 02, F1, 1B, 74, 00  * ±
  240. F2, 1B, 74, 02, F2, 1B, 74, 00  * ≥
  241. F3, 1B, 74, 02, F3, 1B, 74, 00  * ≤
  242. F4, 1B, 74, 02, AE, 1B, 74, 00  * ⌠
  243. F5, 1B, 74, 02, AF, 1B, 74, 00  * ⌡
  244. F6, 1B, 74, 02, F6, 1B, 74, 00  * ÷
  245. F7, 1B, 74, 02, F7, 1B, 74, 00  * ≈
  246. F8, 1B, 74, 02, F8, 1B, 74, 00  * °
  247. F9, 1B, 74, 02, F9, 1B, 74, 00  * ∙
  248. FA, 1B, 74, 02, 92, 1B, 74, 00  * ·á
  249. FB, 1B, 74, 02, FB, 1B, 74, 00  * √
  250. FC, 1B, 74, 02, AB, 1B, 74, 00  * ⁿ
  251. FD, 1B, 74, 02, AC, 1B, 74, 00  * ²
  252. FE, 1B, 74, 02, FE, 1B, 74, 00  * ■
  253. FF, 1B, 74, 02, 9B, 1B, 74, 00  *  
  254.  
  255. 0                             * NULL terminator
  256.  
  257.