home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fonts 1 / freshfonts1.bin / programs / amiga / pastex / config / dviprint.printers < prev    next >
Text File  |  1994-05-20  |  26KB  |  978 lines

  1. ;
  2. ; $VER: DVIprint.printers 1.20 (20.05.94)
  3. ;
  4. ; This file defines all printers which use DVIprints fast hardcopy routines.
  5. ;
  6. ; The Generic, SLM804 (Atari only), DeskJet/LaserJet  printers are not defined here,
  7. ; as they use special routines in DVIprint. However the description keywords
  8. ; may be used here too for these printers.
  9. ;
  10. ;
  11. ; List of keywords:
  12. ;
  13. ;printer    <name>            (required)
  14. ;draft        on/off            (optional)
  15. ;optimize    on/off            (optional)
  16. ;            (if not given, command line arguments don't matter)
  17. ;
  18. ; The above keywords must *precede* the following ones:
  19. ;
  20. ;resolution    <res> or <resx/rexy>    (required)
  21. ;gfx_str    <bytes>            (required, ex. 27 * 3 LOW HIGH)
  22. ;skip_str    <bytes>            (required, ex. 27 J LOW)
  23. ;skips        <bytes>            (required, ex. 1 1 22)
  24. ;height        <value>            (required, ex. 24)
  25. ;blank        <method>        (required, SPACES, POINT or GFX)
  26. ;            (the internal bitmap height is a multiple of
  27. ;            this value)
  28. ;grouping    <value>            (required, 1 or 3 for 8 or 24 pins)
  29. ;
  30. ;paper_width    <value>            (required, ex. 8.0in)
  31. ;            (width in some TeX dimension (same as for
  32. ;            specifying offsets in DVIprint or ShowDVI))
  33. ;init_str    <bytes>            (optional, ex. 27 @)
  34. ;exit_str    <bytes>            (optional, ex. 27 @)
  35. ;ID_str        <string>        (optional)
  36. ;prtbuffer    <value>            (optional)
  37. ;
  38. ;description    <no parameter>        (optional)
  39. ;            (starts a description of the current
  40. ;            configuration. This description is dumped to
  41. ;            the screen if the 'ShowPrinters' option of
  42. ;            DVIprint is selected together with a printer
  43. ;            name.)
  44. ;end_desc    <no parameter>        (required to end a description)
  45. ;#                    (required, ends definition)
  46. ;
  47. ;
  48. ; The following is allowed in a <bytes> argument:
  49. ;    o decimal number    (e.g. 27 for ESC)
  50. ;    o 0xhex number        (e.g. 0x1b for ESC)
  51. ;    o 'ascii character'    for the numbers 0-9. (e.g. '3')
  52. ;    o ESC            value 27
  53. ;    o FS            value 28
  54. ;    o LOW, HIGH        inserts numerical argument in gfx_str
  55. ;        and skip_str commands, low or high byte.
  56. ;    o NR100, NR10, NR1    inserts numerical argument in gfx_str
  57. ;        and skip_str commands.
  58. ;        E.g. "251" -> NR100 == 2, NR10 == 5, NR1 == 1
  59. ;
  60. ; BUGS: ';' is not valid. ; serve as a comment delimiter,
  61. ;        use 59 or 0x3B instead.
  62. ;
  63. ; Valid separators are spaces, tabs and commas.
  64. ;
  65. ; The optimize and draft switches have no internal use, they only
  66. ; allow the user to switch quickly between different printing
  67. ; methods, resolutions or whatever. For example, `optimize' may
  68. ; determine the blanking method, and `draft' the resolution.
  69. ;
  70. ; init_str can use the LOW character. The value passed will be the
  71. ; number of 'pica' wide characters that fit on a line. This value is
  72. ; computed from paper_width. Note that most printer can only print
  73. ; over 8 inch, even though US paper is 8.5 inch wide. The correct
  74. ; value to set for paper_width is nevertheless 8.0in.
  75. ;
  76. ; Be very careful when modifying these values! You could meet the GURU.
  77. ;
  78. ; A more complete description of all the keywords is given at the end
  79. ; of this file. Please look at the configurations below first to get an
  80. ; idea of what you can do.
  81.  
  82. ; These are true 360/360 dpi 24 pin printers
  83. printer        NECP6
  84. draft        off
  85. ;optimize    on    ; any choice
  86. resolution    360
  87. ID_str        NEC P6 360dpi (POINT)
  88. description
  89. This is your favorite NEC P6 printer driver. You should use the option
  90. 'unidir off' too.
  91. end_desc
  92. gfx_str        FS 'Z' LOW HIGH
  93. skip_str    FS '3' LOW 10
  94. skips        1 47
  95. height        48
  96. blank        POINT
  97. grouping    3
  98. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0x0 ESC 'Q' LOW
  99. exit_str    13 ESC 48
  100. paper_width    8.0in
  101. #
  102.  
  103. ; Use these as NEC and EpsonLQ 180dpi (draft) modes
  104. ; All these entries are the same, exception taken from the blanking method.
  105.  
  106. printer        NECP6
  107. draft        on
  108. ;optimize    on
  109. ID_str        NECP6/LQ 180dpi (POINT)
  110. resolution    180
  111. gfx_str        ESC '*' 39 LOW HIGH
  112. skip_str    13 ESC 'J' LOW
  113. skips        24
  114. height        24
  115. blank        POINT
  116. grouping    3
  117. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  118. exit_str    13
  119. paper_width    8.0in
  120. #
  121.  
  122. ; These are 360/180 dpi 24 pin printers
  123. printer        NECP6draft
  124. ;draft        off
  125. ;optimize    on    ; any choice
  126. resolution    360/180
  127. ID_str        NEC P6 360x180dpi (POINT)
  128. description
  129. This is a NEC P6 driver for 360x180dpi. This needs only on pass.
  130. end_desc
  131. gfx_str        ESC '*' 40 LOW HIGH
  132. skip_str    ESC '3' LOW 10
  133. skips        24
  134. height        24
  135. blank        POINT
  136. grouping    3
  137. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  138. exit_str    13 ESC 48
  139. paper_width    8.0in
  140. #
  141.  
  142. printer        NECP6c
  143. draft        off
  144. optimize    on
  145. ID_str        NEC P6 360dpi (SPACES)
  146. description
  147. Some compatibles printer's heads *do* backstep when using the ESC '$'
  148. `move to point' command. If this is not the case for your printer, you
  149. should use the NECP6c printer driver, which use either the SPACES or
  150. the GFX blanking method as defined below, instead of the regular POINT
  151. method above. The Citizen Swift 24 is known to required this
  152. configuration: great speed loss occurs while the printer's head moves
  153. back *and* forth on the same line with the POINT method. 
  154. end_desc
  155. resolution    360
  156. gfx_str        FS 'Z' LOW HIGH
  157. skip_str    FS '3' LOW 10
  158. skips        1 47
  159. height        48
  160. blank        SPACES
  161. grouping    3
  162. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  163. exit_str    13 ESC '0'
  164. paper_width    8.0in
  165. #
  166.  
  167. printer        NECP6c
  168. draft        on
  169. optimize    on
  170. ID_str        NECP6/LQ 180dpi (SPACES)
  171. resolution    180
  172. gfx_str        ESC '*' 39 LOW HIGH
  173. skip_str    13 ESC 'J' LOW
  174. skips        24
  175. height        24
  176. blank        SPACES
  177. grouping    3
  178. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  179. exit_str    13
  180. paper_width    8.0in
  181. #
  182.  
  183. printer        NECP6c
  184. draft        off
  185. optimize    off
  186. resolution    360
  187. ID_str        NEC P6 360dpi (GFX)
  188. gfx_str        FS 'Z' LOW HIGH
  189. skip_str    FS '3' LOW 10
  190. skips        1 47
  191. height        48
  192. blank        GFX
  193. grouping    3
  194. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  195. exit_str    13 ESC '0'
  196. paper_width    8.0in
  197. #
  198.  
  199. printer        NECP6c
  200. draft        on
  201. optimize    off
  202. ID_str        NECP6/LQ 180dpi (GFX)
  203. resolution    180
  204. gfx_str        ESC '*' 39 LOW HIGH
  205. skip_str    13 ESC 'J' LOW
  206. skips        24
  207. height        24
  208. blank        GFX
  209. grouping    3
  210. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  211. exit_str    13
  212. paper_width    8.0in
  213. #
  214.  
  215. printer         STYLUS
  216. draft           off
  217. ;optimize       on      ; any choice
  218. resolution      360
  219. ID_str          EPSON Stylus 800 360dpi (POINT)
  220. description
  221. EPSON Stylus 800 printer driver.
  222. Prints 360 * 360 dpi in one pass using 48 dots.
  223. (From: "Oliver Knorr" <olk@johann.nbg.sub.org>)
  224. end_desc
  225. gfx_str         ESC '*' 73 LOW HIGH
  226. skip_str        13 ESC 'J' LOW
  227. skips           24
  228. height          48
  229. blank           POINT
  230. grouping        6
  231. init_str        ESC 'P' 18 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  232. exit_str        13
  233. paper_width     8.0in
  234. #
  235.  
  236. printer         STYLUS
  237. draft           on
  238. ;optimize       on      ; any choice
  239. resolution      360
  240. ID_str          EPSON Stylus 800 360dpi (POINT)
  241. description
  242. EPSON Stylus 800 economy printer driver.
  243. Prints 360 * 360 dpi in one pass using 48 dots.
  244. Econoy mode is not faster than standard mode,
  245. but uses less ink for a cheaper draft output.
  246. (From: "Oliver Knorr" <olk@johann.nbg.sub.org>)
  247. end_desc
  248. gfx_str         ESC '*' 72 LOW HIGH
  249. skip_str        13 ESC 'J' LOW
  250. skips           24
  251. height          48
  252. blank           POINT
  253. grouping        6
  254. init_str        ESC 'P' 18 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  255. exit_str        13
  256. paper_width     8.0in
  257. #
  258.  
  259.  
  260.  
  261. printer        LQ
  262. draft        off
  263. optimize    on
  264. ID_str        Epson LQ 360/180dpi (SPACES)
  265. description
  266. This is for 360/180 24 pin printers like the Epson LQ 800
  267. end_desc
  268. resolution    360/180
  269. gfx_str        ESC '*' 40 LOW HIGH
  270. skip_str    13 ESC 'J' LOW
  271. skips        24
  272. height        24
  273. blank        SPACES
  274. grouping    3
  275. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  276. exit_str    13
  277. paper_width    8.0in
  278. #
  279.  
  280. printer        LQ
  281. draft        off
  282. optimize    off
  283. resolution    360/180
  284. ID_str        Epson LQ 360/180dpi (GFX)
  285. gfx_str        ESC '*' 40 LOW HIGH
  286. skip_str    13 ESC 'J' LOW
  287. skips        24
  288. height        24
  289. blank        GFX
  290. grouping    3
  291. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  292. exit_str    13
  293. paper_width    8.0in
  294. #
  295.  
  296. printer        LQd
  297. draft        off
  298. ;optimize    on
  299. ID_str        Epson LQ 360/180dpi (POINT)
  300. description
  301. Try this and see if your printer's head backsteps or not. Don't use
  302. this with the Epson LQ 800 for example.
  303. end_desc
  304. resolution    360/180
  305. gfx_str        ESC '*' 40 LOW HIGH
  306. skip_str    13 ESC 'J' LOW
  307. skips        24
  308. height        24
  309. blank        POINT
  310. grouping    3
  311. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  312. exit_str    13
  313. paper_width    8.0in
  314. #
  315.  
  316. ; Epson FX (9 pin printer) and compatibles
  317.  
  318. printer        FX
  319. draft        off
  320. ;optimize    off    ; any choice
  321. ID_str        9 pin printer 240/216dpi (POINT)
  322. description
  323. Use this configuration if your pr