1 | ; Printer Description File for Survex - http://survex.com/ |
---|
2 | ; |
---|
3 | ; Copyright (C) 1993-2002 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
18 | |
---|
19 | ; Note: don't modify this file or your changes will be overwritten by |
---|
20 | ; upgrades. See the Survex manual or print.ini(5) man page for details. |
---|
21 | |
---|
22 | [base] |
---|
23 | ; default for MSDOS |
---|
24 | output_msdos=LPT1 |
---|
25 | |
---|
26 | ; default for MS Windows |
---|
27 | output_mswindows=LPT1 |
---|
28 | |
---|
29 | ; default for Unix |
---|
30 | output_unix=|lpr |
---|
31 | |
---|
32 | ; default for RISC OS |
---|
33 | ; Survex$Printer is set in !Cavern.!Boot (to Printer: by default) |
---|
34 | output_riscos=<Survex$Printer> |
---|
35 | |
---|
36 | ; default for anything else (send to a file called `Printout') |
---|
37 | output=Printout |
---|
38 | |
---|
39 | ; font size for labels in points |
---|
40 | ; Note: ignored by HPGL driver |
---|
41 | font_size_labels=6 |
---|
42 | |
---|
43 | ; used by printdm and printpcl - the other font currently supplied is |
---|
44 | ; "bold" which is darker and may be useful on a dot-matrix printer with |
---|
45 | ; a ribbon which is passed its best |
---|
46 | font_bitmap=default |
---|
47 | |
---|
48 | ; printps and printwin supported coloured printouts |
---|
49 | ; colour formats are as in HTML: |
---|
50 | ; * #rgb and #rrggbb where r, g, b are hex digits (0-9 or a-f or A-F) |
---|
51 | ; * the 16 named VGA colours: aqua black blue fuchsia gray green lime maroon |
---|
52 | ; navy olive purple red silver teal white yellow |
---|
53 | ; Text in infobox, scalebar, etc |
---|
54 | ;colour_text=navy |
---|
55 | ; Station names (enabled by --station-names) |
---|
56 | ;colour_labels=olive |
---|
57 | ; Crosses at stations (enabled by --crosses) |
---|
58 | colour_crosses=gray |
---|
59 | ; (Underground) survey legs |
---|
60 | ;colour_legs=black |
---|
61 | ; Surface survey legs (enabled by --surface) |
---|
62 | colour_surface_legs=lime |
---|
63 | ; Page border, infobox, alignment ticks, cutlines. |
---|
64 | ;colour_frame=silver |
---|
65 | |
---|
66 | ; ====================================================================== |
---|
67 | |
---|
68 | [win] |
---|
69 | like=base |
---|
70 | |
---|
71 | ; ====================================================================== |
---|
72 | |
---|
73 | [dm] |
---|
74 | like=dm_8pin_a4 |
---|
75 | |
---|
76 | ; ====================================================================== |
---|
77 | |
---|
78 | [ps] |
---|
79 | like=ps_generic_a4 |
---|
80 | |
---|
81 | ; ====================================================================== |
---|
82 | |
---|
83 | [pcl] |
---|
84 | like=pcl_generic_a4 |
---|
85 | |
---|
86 | ; ====================================================================== |
---|
87 | |
---|
88 | [hpgl] |
---|
89 | like=hpgl_generic_a4landscape |
---|
90 | |
---|
91 | ; ====================================================================== |
---|
92 | |
---|
93 | ; Driver definitions for different printers |
---|
94 | |
---|
95 | ; ====================================================================== |
---|
96 | |
---|
97 | [dm_8pin_a4] |
---|
98 | like=base |
---|
99 | type=dm |
---|
100 | pixels_across_page=960 |
---|
101 | |
---|
102 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
103 | lines_down_page=101 |
---|
104 | |
---|
105 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
106 | dots_per_pass=8 |
---|
107 | |
---|
108 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
109 | code_line_spacing=\[3\x18 |
---|
110 | |
---|
111 | ; Printer graphics mode |
---|
112 | code_graphics_mode=\[L |
---|
113 | code_graphics_mode_suffix= |
---|
114 | |
---|
115 | ; Printer large font |
---|
116 | code_large_font=\x12\[W1 |
---|
117 | |
---|
118 | ; Printer small font |
---|
119 | code_small_font=\[W0\x0f |
---|
120 | |
---|
121 | ; Printer page feed |
---|
122 | code_formfeed=\x0c |
---|
123 | |
---|
124 | ; Printer reset |
---|
125 | code_reset_printer=\[2 |
---|
126 | |
---|
127 | ; End of line code |
---|
128 | code_end_of_line=\x0D\x0A |
---|
129 | |
---|
130 | ; ====================================================================== |
---|
131 | |
---|
132 | [dm_8pin_11inch] |
---|
133 | like=dm_8pin_a4 |
---|
134 | |
---|
135 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
136 | lines_down_page=99 |
---|
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 | ; ====================================================================== |
---|
147 | |
---|
148 | [dm_9pin_a4] |
---|
149 | like=dm_8pin_a4 |
---|
150 | |
---|
151 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
152 | lines_down_page=101 |
---|
153 | |
---|
154 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
155 | dots_per_pass=9 |
---|
156 | |
---|
157 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
158 | code_line_spacing=\[3\[ |
---|
159 | |
---|
160 | ; Printer graphics mode |
---|
161 | code_graphics_mode=\[^\x01 |
---|
162 | |
---|
163 | ; ====================================================================== |
---|
164 | |
---|
165 | [dm_9pin_11inch] |
---|
166 | like=dm_9pin_a4 |
---|
167 | |
---|
168 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
169 | lines_down_page=99 |
---|
170 | |
---|
171 | ; ====================================================================== |
---|
172 | |
---|
173 | [dm_9pin_12inch] |
---|
174 | like=dm_9pin_a4 |
---|
175 | |
---|
176 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
177 | lines_down_page=108 |
---|
178 | |
---|
179 | ; ====================================================================== |
---|
180 | |
---|
181 | [dm_24pin_a4] |
---|
182 | like=dm_8pin_a4 |
---|
183 | pixels_across_page=1440 |
---|
184 | |
---|
185 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
186 | lines_down_page=101 |
---|
187 | |
---|
188 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
189 | dots_per_pass=24 |
---|
190 | |
---|
191 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
192 | code_line_spacing=\[3\x18 |
---|
193 | |
---|
194 | ; Printer graphics mode |
---|
195 | code_graphics_mode=\[*\x27 |
---|
196 | |
---|
197 | ; ====================================================================== |
---|
198 | |
---|
199 | [dm_24pin_11inch] |
---|
200 | like=dm_24pin_a4 |
---|
201 | |
---|
202 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
203 | lines_down_page=99 |
---|
204 | |
---|
205 | ; ====================================================================== |
---|
206 | |
---|
207 | [dm_24pin_12inch] |
---|
208 | like=dm_24pin_a4 |
---|
209 | |
---|
210 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
211 | lines_down_page=108 |
---|
212 | |
---|
213 | ; ====================================================================== |
---|
214 | |
---|
215 | [dm_panasonic_24pin] |
---|
216 | like=dm_24pin_a4 |
---|
217 | |
---|
218 | ; Page Lines Deep |
---|
219 | lines_down_page=85 |
---|
220 | |
---|
221 | ; ====================================================================== |
---|
222 | |
---|
223 | [dm_lx86_9pin_11inch] |
---|
224 | like=dm_9pin_11inch |
---|
225 | |
---|
226 | ; ====================================================================== |
---|
227 | |
---|
228 | [hpgl_generic_a4landscape] |
---|
229 | like=base |
---|
230 | |
---|
231 | ; Page: plottable width (mm) (page is landscape) |
---|
232 | mm_across_page=285 |
---|
233 | |
---|
234 | ; Page: plottable length (mm) |
---|
235 | mm_down_page=200 |
---|
236 | |
---|
237 | origin_in_centre=1 |
---|
238 | |
---|
239 | ; ====================================================================== |
---|
240 | |
---|
241 | [hpgl_generic_a1landscape] |
---|
242 | like=base |
---|
243 | |
---|
244 | ; Page: plottable width (mm) (page is landscape) |
---|
245 | mm_across_page=790 |
---|
246 | |
---|
247 | ; Page: plottable length (mm) |
---|
248 | mm_down_page=550 |
---|
249 | |
---|
250 | origin_in_centre=1 |
---|
251 | |
---|
252 | ; ====================================================================== |
---|
253 | |
---|
254 | [hpgl_generic_a0landscape] |
---|
255 | like=base |
---|
256 | |
---|
257 | ; Page: plottable width (mm) (page is landscape) |
---|
258 | mm_across_page=1140 |
---|
259 | |
---|
260 | ; Page: plottable length (mm) |
---|
261 | mm_down_page=800 |
---|
262 | |
---|
263 | origin_in_centre=1 |
---|
264 | |
---|
265 | ; ====================================================================== |
---|
266 | |
---|
267 | [pcl_generic_a4] |
---|
268 | like=base |
---|
269 | |
---|
270 | ; Dots/Inch resolution (check manual or printer will use approxn) |
---|
271 | dpi=300 |
---|
272 | |
---|
273 | ; Printable area width (mm) |
---|
274 | mm_across_page=200 |
---|
275 | |
---|
276 | ; Printable area depth (mm) |
---|
277 | mm_down_page=280 |
---|
278 | |
---|
279 | ; Use horizontal tabs? 0 for no; 1 for yes |
---|
280 | horizontal_tab_ok=0 |
---|
281 | |
---|
282 | ; Use vertical tabs? 0 for no; 1 for yes |
---|
283 | vertical_tab_ok=0 |
---|
284 | |
---|
285 | ; ====================================================================== |
---|
286 | |
---|
287 | [pcl_modern_a4] |
---|
288 | like=pcl_generic_a4 |
---|
289 | |
---|
290 | ; Use horizontal tabs? 0 for no; 1 for yes |
---|
291 | horizontal_tab_ok=1 |
---|
292 | |
---|
293 | ; Use vertical tabs? 0 for no; 1 for yes |
---|
294 | vertical_tab_ok=1 |
---|
295 | |
---|
296 | ; ====================================================================== |
---|
297 | |
---|
298 | [ps_generic_a4] |
---|
299 | like=base |
---|
300 | |
---|
301 | ; name of font to use for text |
---|
302 | font=Times-Roman |
---|
303 | |
---|
304 | ; font size in points (was fixed at 10 in older versions) |
---|
305 | font_size=10 |
---|
306 | |
---|
307 | ; name of font to use for labels |
---|
308 | font_labels=Helvetica |
---|
309 | |
---|
310 | ; line width in points (was fixed at printer default in older versions) |
---|
311 | line_width=0.1 |
---|
312 | |
---|
313 | ; left edge to left margin (mm) |
---|
314 | mm_left_margin=8.1 |
---|
315 | |
---|
316 | ; left edge to right margin (mm) |
---|
317 | mm_right_margin=203.6 |
---|
318 | |
---|
319 | ; bottom edge to bottom margin (mm) |
---|
320 | mm_bottom_margin=8.1 |
---|
321 | |
---|
322 | ; bottom edge to top margin (mm) |
---|
323 | mm_top_margin=288.9 |
---|
324 | |
---|
325 | ; ====================================================================== |
---|
326 | |
---|
327 | [bj] |
---|
328 | like=base |
---|
329 | type=dm |
---|
330 | pixels_across_page=2880 |
---|
331 | |
---|
332 | ; Canon BJ printers are unlikely to require calibration |
---|
333 | mm_across_page=203.2 |
---|
334 | ;mm_down_page= FIXME 101 lines => 98 used * 48 dots/line gives way more |
---|
335 | ; then 360 dpi, which is what we'd expect |
---|
336 | |
---|
337 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
338 | lines_down_page=101 |
---|
339 | |
---|
340 | ; Line Dots Deep |
---|
341 | dots_per_pass=48 |
---|
342 | |
---|
343 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
344 | code_line_spacing= |
---|
345 | |
---|
346 | ; Printer graphics mode |
---|
347 | code_graphics_mode=\[[g |
---|
348 | code_graphics_mode_suffix=\x10 |
---|
349 | |
---|
350 | ; Printer large font |
---|
351 | code_large_font=\[I\x08\[W\x01 |
---|
352 | |
---|
353 | ; Printer small font |
---|
354 | code_small_font=\[I\x10\[W\x00 |
---|
355 | |
---|
356 | ; Printer page feed |
---|
357 | code_formfeed=\x0c |
---|
358 | |
---|
359 | ; Printer reset |
---|
360 | code_reset_printer= |
---|
361 | |
---|
362 | code_end_of_line=\[J\x18\x0d |
---|
363 | is_ibm=1 |
---|
364 | |
---|
365 | ; ====================================================================== |
---|