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