1 | ; Printer Description File for Survex - http://www.survex.com/ |
---|
2 | ; |
---|
3 | ; Copyright (C) 1993-2001 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 | ; Note: don't modify this file or your changes will be overwritten by |
---|
21 | ; upgrades. Instead create: |
---|
22 | ; |
---|
23 | ; * /etc/survex/print.ini (Unix - system-wide settings) |
---|
24 | ; * ~/.survex/print.ini (Unix - per user settings) |
---|
25 | ; * myprint.ini in the directory where Survex is installed (other platforms) |
---|
26 | ; |
---|
27 | ; The drivers look for the section "[dm]", "[ps]", "[pcl]" or "[hpgl]" as |
---|
28 | ; appropriate. The file you create should should contain something like |
---|
29 | ; to select a particular printer: |
---|
30 | ; |
---|
31 | ; [pcl] |
---|
32 | ; like=pcl_modern_a4 |
---|
33 | ; |
---|
34 | ; For printdm, it should also contain calibration measurements: |
---|
35 | ; |
---|
36 | ; [dm] |
---|
37 | ; like=dm_24pin_a4 |
---|
38 | ; mm_across_page=202 |
---|
39 | ; mm_down_page=278 |
---|
40 | ; |
---|
41 | ; You can override other settings too, such as the output destination: |
---|
42 | ; |
---|
43 | ; [dm] |
---|
44 | ; output_unix=|lpr -Pepson |
---|
45 | ; like=dm_24pin_a4 |
---|
46 | ; mm_across_page=202 |
---|
47 | ; mm_down_page=278 |
---|
48 | ; |
---|
49 | ; printdm can also drive Canon bubblejets in native mode (which gives a |
---|
50 | ; higher resolution than in Epson emulation mode). To use this, |
---|
51 | ; set "like=bj" in the "[dm]" section - like so: |
---|
52 | ; |
---|
53 | ; [dm] |
---|
54 | ; like=bj |
---|
55 | |
---|
56 | |
---|
57 | [base] |
---|
58 | ;default for MSDOS |
---|
59 | output_msdos=LPT1 |
---|
60 | |
---|
61 | ;default for MS Windows |
---|
62 | output_mswindows=LPT1 |
---|
63 | |
---|
64 | ;default for Unix |
---|
65 | output_unix=|lpr |
---|
66 | |
---|
67 | ;default for RISC OS |
---|
68 | ;Survex$Printer is set in !Cavern.!Boot (to Printer: by default) |
---|
69 | output_riscos=<Survex$Printer> |
---|
70 | |
---|
71 | ;default for anything else (send to a file called `Printout') |
---|
72 | output=Printout |
---|
73 | |
---|
74 | ; ====================================================================== |
---|
75 | |
---|
76 | [dm] |
---|
77 | like=dm_8pin_a4 |
---|
78 | |
---|
79 | ; ====================================================================== |
---|
80 | |
---|
81 | [ps] |
---|
82 | like=ps_generic_a4 |
---|
83 | |
---|
84 | ; ====================================================================== |
---|
85 | |
---|
86 | [pcl] |
---|
87 | like=pcl_generic_a4 |
---|
88 | |
---|
89 | ; ====================================================================== |
---|
90 | |
---|
91 | [hpgl] |
---|
92 | like=hpgl_generic_a4landscape |
---|
93 | |
---|
94 | ; ====================================================================== |
---|
95 | |
---|
96 | ; Driver definitions for different printers |
---|
97 | |
---|
98 | ; ====================================================================== |
---|
99 | |
---|
100 | [dm_8pin_a4] |
---|
101 | like=base |
---|
102 | type=dm |
---|
103 | pixels_across_page=960 |
---|
104 | |
---|
105 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
106 | lines_down_page=101 |
---|
107 | |
---|
108 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
109 | dots_per_pass=8 |
---|
110 | |
---|
111 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
112 | code_line_spacing=\[3\x18 |
---|
113 | |
---|
114 | ; Printer graphics mode |
---|
115 | code_graphics_mode=\[L |
---|
116 | code_graphics_mode_suffix= |
---|
117 | |
---|
118 | ; Printer large font |
---|
119 | code_large_font=\x12\[W1 |
---|
120 | |
---|
121 | ; Printer small font |
---|
122 | code_small_font=\[W0\x0f |
---|
123 | |
---|
124 | ; Printer page feed |
---|
125 | code_formfeed=\x0c |
---|
126 | |
---|
127 | ; Printer reset |
---|
128 | code_reset_printer=\[2 |
---|
129 | |
---|
130 | ; End of line code |
---|
131 | code_end_of_line=\x0D\x0A |
---|
132 | |
---|
133 | ; ====================================================================== |
---|
134 | |
---|
135 | [dm_8pin_11inch] |
---|
136 | like=dm_8pin_a4 |
---|
137 | |
---|
138 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
139 | lines_down_page=99 |
---|
140 | |
---|
141 | ; ====================================================================== |
---|
142 | |
---|
143 | [dm_8pin_12inch] |
---|
144 | like=dm_8pin_a4 |
---|
145 | |
---|
146 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
147 | lines_down_page=108 |
---|
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 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
161 | code_line_spacing=\[3\[ |
---|
162 | |
---|
163 | ; Printer graphics mode |
---|
164 | code_graphics_mode=\[^\x01 |
---|
165 | |
---|
166 | ; ====================================================================== |
---|
167 | |
---|
168 | [dm_9pin_11inch] |
---|
169 | like=dm_9pin_a4 |
---|
170 | |
---|
171 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
172 | lines_down_page=99 |
---|
173 | |
---|
174 | ; ====================================================================== |
---|
175 | |
---|
176 | [dm_9pin_12inch] |
---|
177 | like=dm_9pin_a4 |
---|
178 | |
---|
179 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
180 | lines_down_page=108 |
---|
181 | |
---|
182 | ; ====================================================================== |
---|
183 | |
---|
184 | [dm_24pin_a4] |
---|
185 | like=dm_8pin_a4 |
---|
186 | pixels_across_page=1440 |
---|
187 | |
---|
188 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
189 | lines_down_page=101 |
---|
190 | |
---|
191 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
192 | dots_per_pass=24 |
---|
193 | |
---|
194 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
195 | code_line_spacing=\[3\x18 |
---|
196 | |
---|
197 | ; Printer graphics mode |
---|
198 | code_graphics_mode=\[*\x27 |
---|
199 | |
---|
200 | ; ====================================================================== |
---|
201 | |
---|
202 | [dm_24pin_11inch] |
---|
203 | like=dm_24pin_a4 |
---|
204 | |
---|
205 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
206 | lines_down_page=99 |
---|
207 | |
---|
208 | ; ====================================================================== |
---|
209 | |
---|
210 | [dm_24pin_12inch] |
---|
211 | like=dm_24pin_a4 |
---|
212 | |
---|
213 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
214 | lines_down_page=108 |
---|
215 | |
---|
216 | ; ====================================================================== |
---|
217 | |
---|
218 | [dm_panasonic_24pin] |
---|
219 | like=dm_24pin_a4 |
---|
220 | |
---|
221 | ; Page Lines Deep |
---|
222 | lines_down_page=85 |
---|
223 | |
---|
224 | ; ====================================================================== |
---|
225 | |
---|
226 | [dm_lx86_9pin_11inch] |
---|
227 | like=dm_9pin_11inch |
---|
228 | |
---|
229 | ; ====================================================================== |
---|
230 | |
---|
231 | [hpgl_generic_a4landscape] |
---|
232 | like=base |
---|
233 | |
---|
234 | ; Page: plottable width (mm) (page is landscape) |
---|
235 | mm_across_page=285 |
---|
236 | |
---|
237 | ; Page: plottable length (mm) |
---|
238 | mm_down_page=200 |
---|
239 | |
---|
240 | origin_in_centre=1 |
---|
241 | |
---|
242 | ; ====================================================================== |
---|
243 | |
---|
244 | [hpgl_generic_a1landscape] |
---|
245 | like=base |
---|
246 | |
---|
247 | ; Page: plottable width (mm) (page is landscape) |
---|
248 | mm_across_page=430 |
---|
249 | |
---|
250 | ; Page: plottable length (mm) |
---|
251 | mm_down_page=580 |
---|
252 | |
---|
253 | origin_in_centre=1 |
---|
254 | |
---|
255 | ; ====================================================================== |
---|
256 | |
---|
257 | [hpgl_generic_a0landscape] |
---|
258 | like=base |
---|
259 | |
---|
260 | ; Page: plottable width (mm) (page is landscape) |
---|
261 | mm_across_page=1140 |
---|
262 | |
---|
263 | ; Page: plottable length (mm) |
---|
264 | mm_down_page=800 |
---|
265 | |
---|
266 | origin_in_centre=1 |
---|
267 | |
---|
268 | ; ====================================================================== |
---|
269 | |
---|
270 | [pcl_generic_a4] |
---|
271 | like=base |
---|
272 | |
---|
273 | ; Dots/Inch resolution (check manual or printer will use approxn) |
---|
274 | dpi=300 |
---|
275 | |
---|
276 | ; Printable area width (mm) |
---|
277 | mm_across_page=200 |
---|
278 | |
---|
279 | ; Printable area depth (mm) |
---|
280 | mm_down_page=280 |
---|
281 | |
---|
282 | ; Use horizontal tabs? 0 for no; 1 for yes |
---|
283 | horizontal_tab_ok=0 |
---|
284 | |
---|
285 | ; Use vertical tabs? 0 for no; 1 for yes |
---|
286 | vertical_tab_ok=0 |
---|
287 | |
---|
288 | ; ====================================================================== |
---|
289 | |
---|
290 | [pcl_modern_a4] |
---|
291 | like=pcl_generic_a4 |
---|
292 | |
---|
293 | ; Use horizontal tabs? 0 for no; 1 for yes |
---|
294 | horizontal_tab_ok=1 |
---|
295 | |
---|
296 | ; Use vertical tabs? 0 for no; 1 for yes |
---|
297 | vertical_tab_ok=1 |
---|
298 | |
---|
299 | ; ====================================================================== |
---|
300 | |
---|
301 | [ps_generic_a4] |
---|
302 | like=base |
---|
303 | |
---|
304 | ; name of font to use for text |
---|
305 | font=Times-Roman |
---|
306 | |
---|
307 | ; font size in points (was fixed at 10 in older versions) |
---|
308 | font_size=10 |
---|
309 | |
---|
310 | ; name of font to use for labels |
---|
311 | font_labels=Helvetica |
---|
312 | |
---|
313 | ; font size for labels in points |
---|
314 | font_size_labels=6 |
---|
315 | |
---|
316 | ; line width in points (was fixed at printer default in older versions) |
---|
317 | line_width=0.1 |
---|
318 | |
---|
319 | ; left edge to left margin (mm) |
---|
320 | mm_left_margin=8.1 |
---|
321 | |
---|
322 | ; left edge to right margin (mm) |
---|
323 | mm_right_margin=203.6 |
---|
324 | |
---|
325 | ; bottom edge to bottom margin (mm) |
---|
326 | mm_bottom_margin=8.1 |
---|
327 | |
---|
328 | ; bottom edge to top margin (mm) |
---|
329 | mm_top_margin=288.9 |
---|
330 | |
---|
331 | ; ====================================================================== |
---|
332 | |
---|
333 | [bj] |
---|
334 | like=base |
---|
335 | type=dm |
---|
336 | pixels_across_page=2880 |
---|
337 | |
---|
338 | ; Canon BJ printers are unlikely to require calibration |
---|
339 | mm_across_page=203.2 |
---|
340 | ;mm_down_page= FIXME 101 lines => 98 used * 48 dots/line gives way more |
---|
341 | ; then 360 dpi, which is what we'd expect |
---|
342 | |
---|
343 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
344 | lines_down_page=101 |
---|
345 | |
---|
346 | ; Line Dots Deep |
---|
347 | dots_per_pass=48 |
---|
348 | |
---|
349 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
350 | code_line_spacing= |
---|
351 | |
---|
352 | ; Printer graphics mode |
---|
353 | code_graphics_mode=\[[g |
---|
354 | code_graphics_mode_suffix=\x10 |
---|
355 | |
---|
356 | ; Printer large font |
---|
357 | code_large_font=\[I\x08\[W\x01 |
---|
358 | |
---|
359 | ; Printer small font |
---|
360 | code_small_font=\[I\x10\[W\x00 |
---|
361 | |
---|
362 | ; Printer page feed |
---|
363 | code_formfeed=\x0c |
---|
364 | |
---|
365 | ; Printer reset |
---|
366 | code_reset_printer= |
---|
367 | |
---|
368 | code_end_of_line=\[J\x18\x0d |
---|
369 | is_ibm=1 |
---|
370 | |
---|
371 | ; ====================================================================== |
---|