1 | ; printer description file for Survex - http://www.survex.com/ |
---|
2 | ; |
---|
3 | ; Copyright (C) 1993-2000 Olly Betts |
---|
4 | ; |
---|
5 | ; This program is free software; you can redistribute it and/or modify |
---|
6 | ; it under the terms of the GNU General Public License as published by |
---|
7 | ; the Free Software Foundation; either version 2 of the License, or |
---|
8 | ; (at your option) any later version. |
---|
9 | ; |
---|
10 | ; This program is distributed in the hope that it will be useful, |
---|
11 | ; but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | ; GNU General Public License for more details. |
---|
14 | ; |
---|
15 | ; You should have received a copy of the GNU General Public License |
---|
16 | ; along with this program; if not, write to the Free Software |
---|
17 | ; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
18 | |
---|
19 | ; ====================================================================== |
---|
20 | |
---|
21 | ; list of printers - not used at present |
---|
22 | ;[printers] |
---|
23 | ;dm=bj,dm_8pin_a4,dm_8pin_11inch,dm_8pin_12inch,dm_9pin_a4,dm_9pin_11inch,dm_9pin_12inch,dm_24pin_a4,dm_24pin_11inch,dm_24pin_12inch,dm_panasonic_24pin,dm_lx86_9pin_11inch |
---|
24 | ;hpgl=hpgl_generic_a4landscape,hpgl_generic_a1landscape,hpgl_generic_a0landscape |
---|
25 | ;pcl=pcl_generic_a4,pcl_modern_a4 |
---|
26 | ;ps=ps_generic_a4 |
---|
27 | |
---|
28 | ; ====================================================================== |
---|
29 | |
---|
30 | [base] |
---|
31 | ;default for MSDOS |
---|
32 | output_msdos=LPT1 |
---|
33 | |
---|
34 | ;default for MS Windows |
---|
35 | output_mswindows=LPT1 |
---|
36 | |
---|
37 | ;default for Unix |
---|
38 | output_unix=|lpr |
---|
39 | |
---|
40 | ;default for RISC OS |
---|
41 | output_riscos=Printer: |
---|
42 | |
---|
43 | ;default for anything else (send to a file called `Printout') |
---|
44 | output=Printout |
---|
45 | |
---|
46 | ; The drivers look for the section "[dm]", "[ps]", "[pcl]" or "[hpgl]" as |
---|
47 | ; appropriate, so just change the appropriate "like=" line below to point to |
---|
48 | ; the driver that works with your printer. |
---|
49 | ; |
---|
50 | ; From v0.71, printdm can also drive Canon bubblejets in native mode (which |
---|
51 | ; gives a higher resolution than in Epson emulation mode). To use this, |
---|
52 | ; set "like=bj" in the "[dm]" section. |
---|
53 | |
---|
54 | ; ====================================================================== |
---|
55 | |
---|
56 | [dm] |
---|
57 | like=dm_8pin_a4 |
---|
58 | ; change to use the line below for native mode on Canon BJ printers |
---|
59 | ;like=bj |
---|
60 | |
---|
61 | ; ====================================================================== |
---|
62 | |
---|
63 | [ps] |
---|
64 | like=ps_generic_a4 |
---|
65 | |
---|
66 | ; ====================================================================== |
---|
67 | |
---|
68 | [pcl] |
---|
69 | like=pcl_generic_a4 |
---|
70 | |
---|
71 | ; ====================================================================== |
---|
72 | |
---|
73 | [hpgl] |
---|
74 | like=hpgl_generic_a4landscape |
---|
75 | |
---|
76 | ; ====================================================================== |
---|
77 | |
---|
78 | [xbm] |
---|
79 | type=xbm |
---|
80 | output=printout.xbm |
---|
81 | width=1000 |
---|
82 | height=2000 |
---|
83 | |
---|
84 | ; Driver definitions for different printers |
---|
85 | |
---|
86 | ; ====================================================================== |
---|
87 | |
---|
88 | [dm_8pin_a4] |
---|
89 | like=base |
---|
90 | type=dm |
---|
91 | pixels_across_page=960 |
---|
92 | |
---|
93 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
94 | lines_down_page=101 |
---|
95 | |
---|
96 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
97 | dots_per_pass=8 |
---|
98 | |
---|
99 | ; Page mm Wide (Measure *your* printouts to check) |
---|
100 | mm_across_page=205.5 |
---|
101 | |
---|
102 | ; Page mm Deep (Measure *your* printouts to check) |
---|
103 | mm_down_page=276.25 |
---|
104 | |
---|
105 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
106 | code_line_spacing=\[3\x18 |
---|
107 | |
---|
108 | ; Printer graphics mode |
---|
109 | code_graphics_mode=\[L |
---|
110 | code_graphics_mode_suffix= |
---|
111 | |
---|
112 | ; Printer large font |
---|
113 | code_large_font=\x12\[W1 |
---|
114 | |
---|
115 | ; Printer small font |
---|
116 | code_small_font=\[W0\x0f |
---|
117 | |
---|
118 | ; Printer page feed |
---|
119 | code_formfeed=\x0c |
---|
120 | |
---|
121 | ; Printer reset |
---|
122 | code_reset_printer=\[2 |
---|
123 | |
---|
124 | ; End of line code |
---|
125 | code_end_of_line=\x0D\x0A |
---|
126 | |
---|
127 | ; ====================================================================== |
---|
128 | |
---|
129 | [dm_8pin_11inch] |
---|
130 | like=dm_8pin_a4 |
---|
131 | |
---|
132 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
133 | lines_down_page=99 |
---|
134 | |
---|
135 | ; Page mm Deep (Measure *your* printouts to check) |
---|
136 | mm_down_page= |
---|
137 | |
---|
138 | ; ====================================================================== |
---|
139 | |
---|
140 | [dm_8pin_12inch] |
---|
141 | like=dm_8pin_a4 |
---|
142 | |
---|
143 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
144 | lines_down_page=108 |
---|
145 | |
---|
146 | ; Page mm Deep (Measure *your* printouts to check) |
---|
147 | mm_down_page= |
---|
148 | |
---|
149 | ; ====================================================================== |
---|
150 | |
---|
151 | [dm_9pin_a4] |
---|
152 | like=dm_8pin_a4 |
---|
153 | |
---|
154 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
155 | lines_down_page=101 |
---|
156 | |
---|
157 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
158 | dots_per_pass=9 |
---|
159 | |
---|
160 | ; Page mm Deep (Measure *your* printouts to check) |
---|
161 | mm_down_page= |
---|
162 | |
---|
163 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
164 | code_line_spacing=\[3\[ |
---|
165 | |
---|
166 | ; Printer graphics mode |
---|
167 | code_graphics_mode=\[^\x01 |
---|
168 | |
---|
169 | ; ====================================================================== |
---|
170 | |
---|
171 | [dm_9pin_11inch] |
---|
172 | like=dm_9pin_a4 |
---|
173 | |
---|
174 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
175 | lines_down_page=99 |
---|
176 | |
---|
177 | ; Page mm Wide (Measure *your* printouts to check) |
---|
178 | mm_across_page=203 |
---|
179 | |
---|
180 | ; Page mm Deep (Measure *your* printouts to check) |
---|
181 | mm_down_page=276.5 |
---|
182 | |
---|
183 | ; ====================================================================== |
---|
184 | |
---|
185 | [dm_9pin_12inch] |
---|
186 | like=dm_9pin_a4 |
---|
187 | |
---|
188 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
189 | lines_down_page=108 |
---|
190 | |
---|
191 | ; Page mm Wide (Measure *your* printouts to check) |
---|
192 | mm_across_page=203 |
---|
193 | |
---|
194 | ; Page mm Deep (Measure *your* printouts to check) |
---|
195 | mm_down_page=276.5 |
---|
196 | |
---|
197 | ; ====================================================================== |
---|
198 | |
---|
199 | [dm_24pin_a4] |
---|
200 | like=dm_8pin_a4 |
---|
201 | pixels_across_page=1440 |
---|
202 | |
---|
203 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
204 | lines_down_page=101 |
---|
205 | |
---|
206 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
207 | dots_per_pass=24 |
---|
208 | |
---|
209 | ; Page mm Wide (Measure *your* printouts to check) |
---|
210 | mm_across_page=203 |
---|
211 | |
---|
212 | ; Page mm Deep (Measure *your* printouts to check) |
---|
213 | mm_down_page=276.25 |
---|
214 | |
---|
215 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
216 | code_line_spacing=\[3\x18 |
---|
217 | |
---|
218 | ; Printer graphics mode |
---|
219 | code_graphics_mode=\[*\x27 |
---|
220 | |
---|
221 | ; ====================================================================== |
---|
222 | |
---|
223 | [dm_24pin_11inch] |
---|
224 | like=dm_24pin_a4 |
---|
225 | |
---|
226 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
227 | lines_down_page=99 |
---|
228 | |
---|
229 | ; Page mm Wide (Measure *your* printouts to check) |
---|
230 | mm_across_page=203 |
---|
231 | |
---|
232 | ; Page mm Deep (Measure *your* printouts to check) |
---|
233 | mm_down_page=276.25 |
---|
234 | |
---|
235 | ; ====================================================================== |
---|
236 | |
---|
237 | [dm_24pin_12inch] |
---|
238 | like=dm_24pin_a4 |
---|
239 | |
---|
240 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
241 | lines_down_page=108 |
---|
242 | |
---|
243 | ; Page mm Wide (Measure *your* printouts to check) |
---|
244 | mm_across_page=203 |
---|
245 | |
---|
246 | ; Page mm Deep (Measure *your* printouts to check) |
---|
247 | mm_down_page=276.25 |
---|
248 | |
---|
249 | ; ====================================================================== |
---|
250 | |
---|
251 | [dm_panasonic_24pin] |
---|
252 | like=dm_24pin_a4 |
---|
253 | |
---|
254 | ; Page Lines Deep |
---|
255 | lines_down_page=85 |
---|
256 | |
---|
257 | ; Page mm Wide (Measure *your* printouts to check) |
---|
258 | mm_across_page=203.5 |
---|
259 | |
---|
260 | ; Page mm Deep (Measure *your* printouts to check) |
---|
261 | mm_down_page=276.25 |
---|
262 | |
---|
263 | ; ====================================================================== |
---|
264 | |
---|
265 | [dm_lx86_9pin_11inch] |
---|
266 | like=dm_9pin_11inch |
---|
267 | |
---|
268 | ; Page mm Wide (Measure *your* printouts to check) |
---|
269 | mm_across_page=202.5 |
---|
270 | |
---|
271 | ; Page mm Deep (Measure *your* printouts to check) |
---|
272 | mm_down_page=274.5 |
---|
273 | |
---|
274 | ; ====================================================================== |
---|
275 | |
---|
276 | [hpgl_generic_a4landscape] |
---|
277 | like=base |
---|
278 | |
---|
279 | ; Page: plottable width (mm) (page is landscape) |
---|
280 | mm_across_page=285 |
---|
281 | |
---|
282 | ; Page: plottable length (mm) |
---|
283 | mm_down_page=200 |
---|
284 | |
---|
285 | origin_in_centre=1 |
---|
286 | |
---|
287 | ; ====================================================================== |
---|
288 | |
---|
289 | [hpgl_generic_a1landscape] |
---|
290 | like=base |
---|
291 | |
---|
292 | ; Page: plottable width (mm) (page is landscape) |
---|
293 | mm_across_page=430 |
---|
294 | |
---|
295 | ; Page: plottable length (mm) |
---|
296 | mm_down_page=580 |
---|
297 | |
---|
298 | origin_in_centre=1 |
---|
299 | |
---|
300 | ; ====================================================================== |
---|
301 | |
---|
302 | [hpgl_generic_a0landscape] |
---|
303 | like=base |
---|
304 | |
---|
305 | ; Page: plottable width (mm) (page is landscape) |
---|
306 | mm_across_page=1140 |
---|
307 | |
---|
308 | ; Page: plottable length (mm) |
---|
309 | mm_down_page=800 |
---|
310 | |
---|
311 | origin_in_centre=1 |
---|
312 | |
---|
313 | ; ====================================================================== |
---|
314 | |
---|
315 | [pcl_generic_a4] |
---|
316 | like=base |
---|
317 | |
---|
318 | ; Dots/Inch resolution (check manual or printer will use approxn) |
---|
319 | dpi=300 |
---|
320 | |
---|
321 | ; Printable area width (mm) |
---|
322 | mm_across_page=200 |
---|
323 | |
---|
324 | ; Printable area depth (mm) |
---|
325 | mm_down_page=280 |
---|
326 | |
---|
327 | ; Use horizontal tabs? 0 for no; 1 for yes |
---|
328 | horizontal_tab_ok=0 |
---|
329 | |
---|
330 | ; Use vertical tabs? 0 for no; 1 for yes |
---|
331 | vertical_tab_ok=0 |
---|
332 | |
---|
333 | ; ====================================================================== |
---|
334 | |
---|
335 | [pcl_modern_a4] |
---|
336 | like=pcl_generic_a4 |
---|
337 | |
---|
338 | ; Use horizontal tabs? 0 for no; 1 for yes |
---|
339 | horizontal_tab_ok=1 |
---|
340 | |
---|
341 | ; Use vertical tabs? 0 for no; 1 for yes |
---|
342 | vertical_tab_ok=1 |
---|
343 | |
---|
344 | ; ====================================================================== |
---|
345 | |
---|
346 | [ps_generic_a4] |
---|
347 | like=base |
---|
348 | |
---|
349 | ; name of font to use for text |
---|
350 | font=Times-Roman |
---|
351 | |
---|
352 | ; font size in points (was fixed at 10 in older versions) |
---|
353 | font_size=10 |
---|
354 | |
---|
355 | ; name of font to use for labels |
---|
356 | font_labels=Helvetica |
---|
357 | |
---|
358 | ; font size for labels in points |
---|
359 | font_size_labels=6 |
---|
360 | |
---|
361 | ; line width in points (was fixed at printer default in older versions) |
---|
362 | line_width=0.5 |
---|
363 | |
---|
364 | ; left edge to left margin (mm) |
---|
365 | mm_left_margin=8.1 |
---|
366 | |
---|
367 | ; left edge to right margin (mm) |
---|
368 | mm_right_margin=203.6 |
---|
369 | |
---|
370 | ; bottom edge to bottom margin (mm) |
---|
371 | mm_bottom_margin=8.1 |
---|
372 | |
---|
373 | ; bottom edge to top margin (mm) |
---|
374 | mm_top_margin=288.9 |
---|
375 | |
---|
376 | ; ====================================================================== |
---|
377 | |
---|
378 | [bj] |
---|
379 | like=base |
---|
380 | type=dm |
---|
381 | pixels_across_page=2880 |
---|
382 | |
---|
383 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
384 | lines_down_page=101 |
---|
385 | |
---|
386 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
387 | dots_per_pass=48 |
---|
388 | |
---|
389 | ; Page mm Wide (Measure *your* printouts to check) 205.5 |
---|
390 | mm_across_page=205.5 |
---|
391 | |
---|
392 | ; Page mm Deep (Measure *your* printouts to check) 276.25 |
---|
393 | mm_down_page=276.25 |
---|
394 | |
---|
395 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
396 | code_line_spacing= |
---|
397 | |
---|
398 | ; Printer graphics mode |
---|
399 | code_graphics_mode=\[[g |
---|
400 | code_graphics_mode_suffix=\x10 |
---|
401 | |
---|
402 | ; Printer large font |
---|
403 | code_large_font=\[I\x08\[W\x01 |
---|
404 | |
---|
405 | ; Printer small font |
---|
406 | code_small_font=\[I\x10\[W\x00 |
---|
407 | |
---|
408 | ; Printer page feed |
---|
409 | code_formfeed=\x0c |
---|
410 | |
---|
411 | ; Printer reset |
---|
412 | code_reset_printer= |
---|
413 | |
---|
414 | code_end_of_line=\[J\x18\x0d |
---|
415 | is_ibm=1 |
---|
416 | |
---|
417 | ; ====================================================================== |
---|