home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / discs / mag_discs / volume_2 / issue_04 / 1wp / HEX / HP_DESKJET
Text File  |  1988-12-29  |  12KB  |  249 lines

  1. *    0060.7 GST 286/0.00
  2. *
  3. *****************************************************************
  4. *                                                               *
  5. *                                                               *
  6. *                                                               *
  7. *         HEWLETT PACKARD DESKJET PRINTER CONFIGURATION         *
  8. *         =============================================         *
  9. *                                                               *
  10. *                                                               *
  11. *    This file contains configuration details for the printer   *
  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.  
  39. HP Deskjet
  40.  
  41.  
  42. *    Configuration variables
  43. *    =======================
  44. *
  45. *    These six variables define certain printer
  46. *    configuration details required by 1st Word Plus:
  47. *
  48. *    (1)  1 for microspacing daisywheel, else 0
  49. *    (2)  Character width in printer units (daisy)
  50. *    (3)  Linefeed height in printer units
  51. *    (4)  Mid-carriage (daisy) pixels/inch (matrix)
  52. *    (5)  Bold offset in printer units (daisy)
  53. *    (6)  1 to pause printing between pages, else 0
  54.  
  55.  
  56. 0, 0, 1, 64, 0, 0
  57.  
  58.  
  59. *    Printer characteristics
  60. *    =======================
  61. *
  62. *    This table defines values to be sent to the
  63. *    printer by 1st Word Plus to control its operation.
  64. *
  65. *    An entry consists of:
  66. *
  67. *    (1)  Function number (these must be kept in order)
  68. *    (2)  Command bytes (hex commands and placeholders)
  69. *
  70. *    A placeholder has the top bit set and is substituted
  71. *    by an actual value by 1st Word Plus when printing.
  72. *
  73. *    Lines preceded by an asterisk are commented out.
  74.  
  75.  
  76. * 0                                 * Character width
  77. 1,  A ,D                            * Carriage return and line feed
  78. * 2                                 * Forward print
  79. * 3                                 * Reverse print
  80. * 4                                 * Vertical tab to line
  81. * 5                                 * Absolute horizontal tab 
  82. 6,1B,28,73,33,42                    * Draft bold on
  83. 7,1B,28,73,30,42                    * Draft bold off
  84. 8,1B,28,73,33,42                    * NLQ bold on
  85. 9,1B,28,73,30,42                    * NLQ bold off
  86. * A, 1B,50,1B,34                    * Draft italic on
  87. * B, 1B,35                          * Draft italic off
  88. * C, 1B,34,1B,47                    * NLQ italic on
  89. * D, 1B,35,1B,48,1B,28              * NLQ italic off
  90. * E                                 * Draft light on
  91. * F                                 * Draft light off
  92. 10,1B,28,73,31,51                   * NLQ light on
  93. 11,1B,28,73,32,51                   * NLQ light off
  94. 12,1B,28,73,36,56,1B,28,73,2B,31,55 * Draft superscript on
  95. 13,1B,28,73,31,32,56,1B,28,73,30,55 * Draft superscript off
  96. 14,1B,28,73,36,56,1B,28,73,2B,31,55 * NLQ superscript on
  97. 15,1B,28,73,31,32,56,1B,28,73,30,55 * NLQ superscript off
  98. 16,1B,28,73,36,56,1B,28,73,2D,31,55 * Draft subscript on
  99. 17,1B,28,73,31,32,56,1B,28,73,30,55 * Draft subscript off
  100. 18,1B,28,73,36,56,1B,28,73,2D,31,55 * NLQ subscript on
  101. 19,1B,28,73,31,32,56,1B,28,73,30,55 * NLQ subscript off
  102. 1A,1B,26,64,31,44                   * Draft underline on
  103. 1B,1B,26,64,40                      * Draft underline off
  104. 1C,1B,26,64,31,44                   * NLQ underline on
  105. 1D,1B,26,64,40                      * NLQ underline off
  106. * 1E,  C                            * Formfeed
  107. 1F,1B,45,1B,28,73,31,51             * Horizontal initialization (Draft Courier)
  108. 20,1B,26,6C,36,34,50                * Vertical initialization (64 lines/page, USA char)
  109. 21,1B,45                            * Termination: printer reset
  110. 22, 8                               * Backspace
  111. 23, D                               * Carriage return
  112. 24,1B,26,6C,36,64,50                * Form length in lines
  113. 25,1B,2A,72,42,1B,2A,74,31,30,30,52,1B,2A,72,30,41 * Reset graphics, set 100 pixels/in, start at left.
  114. 26,1B,2A,62,80,80,53                * Start graphics 
  115. * 27                                * Reserved
  116. 28,1B,28,73,31,51,1B,28,73,31,30,48 * Draft Pica      (10    cpi)
  117. 29,1B,28,73,32,51,1B,28,73,31,30,48 * NLQ   Pica      (10    cpi)
  118. * 2A                                * Draft Elite     (12    cpi)
  119. * 2B                                * NLQ   Elite     (12    cpi)
  120. 2C,1B,28,73,31,51,1B,28,73,31,36,48 * Draft Condensed (16.67 cpi)
  121. 2D,1B,28,73,32,51,1B,28,73,31,36,48 * NLQ   Condensed (16.67 cpi)
  122. 2E,1B,28,73,31,51,1B,28,73,35,48    * Draft Expanded  ( 5    cpi)
  123. 2F,1B,28,73,32,51,1B,28,73,35,48    * NLQ   Expanded  ( 5    cpi)
  124. * 30                                * Black   ink
  125. * 31                                * Magenta ink
  126. * 32                                * Cyan    ink
  127. * 33                                * Yellow  ink
  128. 0                                   * NULL termination byte
  129.  
  130.  
  131. *    Translation Table
  132. *    =================
  133. *
  134. *    This table is used to translate the Archimedes
  135. *    character codes for output to the printer.
  136. *
  137. *    Each entry consists of:
  138. *
  139. *    (1)  Archimedes character code (these must be in order)
  140. *    (2)  The (possibly null) byte string to be output
  141. *
  142. *    Archimedes character codes with a NULL translation
  143. *    string are printed as spaces.
  144. *
  145. *    Archimedes character codes NOT in the table are sent
  146. *    directly to the printer without translation.
  147.  
  148.  
  149.  
  150. A0, 20                        * non break space
  151. A1,1B,28,32,53,5B,1B,28,38,55 * í - Spanish       upside down !
  152. A2                            * ó - N/A           cent
  153. A3,1B,28,31,45,23,1B,28,38,55 * ú - UK            pound
  154. A4,1B,28,33,53,24,1B,28,38,55 * ñ - Swedish       circle with horns
  155. A5,1B,28,31,45,5C,1B,28,38,55 * Ñ - Japanese      Yen
  156. A6, 7C                        * ª -               broken vertical bar
  157. A7,1B,28,31,47,40,1B,28,38,55 * º - German        ???
  158. A8,1B,28,31,46,7E,1B,28,38,55 * ¿ - France        umlaut
  159. A9                            * ⌐ - N/A           copyright
  160. AA, 61, 8, 5F                 * ¬ - a BS _        a underline
  161. AB                            * ½ - N/A           <<
  162. AC                            * ¼ - N/A           top right rectangle
  163. AD, 2D                        * ¡ - hyphen        soft hyphen
  164. AE                            * « - N/A           registered
  165. AF                            * » - N/A           raised hyphen
  166. B0,1B,28,31,46,5B,1B,28,38,55 * ░ - France        raised circle
  167. B1, 2B,  8, 5F                * ▒ - + BS _        plus/minus
  168. B2                            * ▓ - N/A           superscript 2
  169. B3                            * │ - N/A           superscript 3
  170. B4, 27                        * ┤ -               back quote
  171. B5                            * ╡ - N/A           mu
  172. B6                            * ╢ - N/A           paragraph
  173. B7                            * ╖ - N/A           centred dot
  174. B8                            * ╕ - N/A           small comma
  175. B9                            * ╣ - N/A           superscript 1
  176. BA, 6F,  8, 5F                * ║ - O BS _        o underline
  177. BB                            * ╗ - N/A           >>
  178. BC                            * ╝ - N/A           1/4
  179. BD                            * ╜ - N/A           1/2
  180. BE                            * ╛ - N/A           3/4
  181. BF,1B,28,32,53,5D,1B,28,38,55 * ┐ - Spanish       upside down ?
  182. C0, 41                        * └ - A             A \
  183. C1, 41                        * ┴ - A             A /
  184. C2, 41                        * ┬ - A             A ^
  185. C3, 41                        * ├ - A             A ~
  186. C4,1B,28,31,47,5B,1B,28,38,55 * ─ - German        A umlaut
  187. C5,1B,28,33,53,5D,1B,28,38,55 * ┼ - Swedish       A circle
  188. C6,1B,28,30,44,5B,1B,28,38,55 * ╞ - Danish        AE ligature
  189. C7, 43                        * ╟ - C             C cedilla
  190. C8, 45                        * ╚ - E             E \
  191. C9,1B,28,30,53,40,1B,28,38,55 * ╔ - Swedish       E /
  192. CA, 45                        * ╩ - E             E ^
  193. CB, 45                        * ╦ - E             E umlaut
  194. CC, 49                        * ╠ - I             I \
  195. CD, 49                        * ═ - I             I /
  196. CE, 49                        * ╬ - I             I ^
  197. CF, 49                        * ╧ - I             I umlaut
  198. D0, 44                        * ╨ - D             D with bar
  199. D1,1B,28,32,53,5C,1B,28,38,55 * ╤ - Spanish       N ~
  200. D2, 4F                        * ╥ - O             O \
  201. D3, 4F                        * ╙ - O             O /
  202. D4, 4F                        * ╘ - O             O ^
  203. D5, 4F                        * ╒ - O             O ~
  204. D6,1B,28,30,53,5C,1B,28,38,55 * ╓ - Swedish       O umlaut
  205. D7                            * ╫ - N/A           cross
  206. D8,1B,28,30,44,5C,1B,28,38,55 * ╪ - Danish        O slash
  207. D9, 55                        * ┘ - U             U \
  208. DA, 55                        * ┌ - U             U /
  209. DB, 55                        * █ - U             U ^
  210. DC,1B,28,31,47,5D,1B,28,38,55 * ▄ - German        U umlaut
  211. DD, 59                        * ▌ - Y             Y /
  212. DE                            * ▐ - N/A           capital thorn
  213. DF,1B,28,31,47,7E,1B,28,38,55 * ▀ - German        beta / schluss
  214. E0,1B,28,30,49,7B,1B,28,38,55 * α - Italian       a \
  215. E1, 61, 8, 27                 * ß - a BS '        a /
  216. E2, 61, 8, 5E                 * Γ - a BS ^        a ^
  217. E3, 61, 8, 7E                 * π - a BS ~        a ~
  218. E4,1B,28,30,53,7B,1B,28,38,55 * Σ - Swedish       a umlaut
  219. E5,1B,28,30,53,7D,1B,28,38,55 * σ - Swedish       a circle
  220. E6                            * µ - N/A           ae ligature
  221. E7,1B,28,31,46,5C,1B,28,38,55 * τ - French        c cedilla
  222. E8,1B,28,31,46,7D,1B,28,38,55 * Φ - French        e \
  223. E9,1B,28,31,46,7B,1B,28,38,55 * Θ - French        e /
  224. EA, 65, 8, 5E                 * Ω - e BS ^        e ^
  225. EB,65,8,1B,28,31,46,7E,1B,28,38,55 * δ - e BS French umlaut
  226. EC,1B,28,30,49,7E,1B,28,38,55 * ∞ - Italian       i \
  227. ED, 69                        * φ - i             i /
  228. EE, 69                        * ε - i             i ^
  229. EF, 69                        * ∩ - i             i umlaut
  230. F0, 64                        * ≡ - d             d with bar
  231. F1,1B,28,32,53,7C,1B,28,38,55 * ± - Spanish       n ~
  232. F2,1B,28,30,49,7C,1B,28,38,55 * ≥ - Italian       o \
  233. F3, 6F, 8, 27                 * ≤ - o BS '        o /
  234. F4, 6F, 8, 5E                 * ⌠ - o BS ^        o ^
  235. F5, 6F, 8, 7E                 * ⌡ - o BS ~        o ~
  236. F6,1B,28,31,47,5C,1B,28,38,55 * ÷ - German        o umlaut
  237. F7                            * ≈ - N/A           divide
  238. F8,1B,28,30,44,7C,1B,28,38,55 * ° - Danish        o slash
  239. F9,1B,28,31,46,7C,1B,28,38,55 * ∙ - French        u \
  240. FA, 75, 8, 27                 * · - u BS '        u /
  241. FB, 75, 8, 5E                 * √ - u BS ^        u ^
  242. FC,1B,28,31,47,7D,1B,28,38,55 * ⁿ - German        u umlaut
  243. FD, 79, 8, 27                 * ² - y BS '        y /
  244. FE                            * ■ - N/A           lower case thorn
  245. FF,79,8,1B,28,31,46,7E,1B,28,38,55  *   - y BS French umlaut
  246.  
  247. 0                             * NULL terminator
  248.  
  249.