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 | ; 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 | ; ====================================================================== |
---|
40 | |
---|
41 | [dm] |
---|
42 | like=dm_8pin_a4 |
---|
43 | |
---|
44 | ; ====================================================================== |
---|
45 | |
---|
46 | [ps] |
---|
47 | like=ps_generic_a4 |
---|
48 | |
---|
49 | ; ====================================================================== |
---|
50 | |
---|
51 | [pcl] |
---|
52 | like=pcl_generic_a4 |
---|
53 | |
---|
54 | ; ====================================================================== |
---|
55 | |
---|
56 | [hpgl] |
---|
57 | like=hpgl_generic_a4landscape |
---|
58 | |
---|
59 | ; ====================================================================== |
---|
60 | |
---|
61 | ; Driver definitions for different printers |
---|
62 | |
---|
63 | ; ====================================================================== |
---|
64 | |
---|
65 | [dm_8pin_a4] |
---|
66 | like=base |
---|
67 | type=dm |
---|
68 | pixels_across_page=960 |
---|
69 | |
---|
70 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
71 | lines_down_page=101 |
---|
72 | |
---|
73 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
74 | dots_per_pass=8 |
---|
75 | |
---|
76 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
77 | code_line_spacing=\[3\x18 |
---|
78 | |
---|
79 | ; Printer graphics mode |
---|
80 | code_graphics_mode=\[L |
---|
81 | code_graphics_mode_suffix= |
---|
82 | |
---|
83 | ; Printer large font |
---|
84 | code_large_font=\x12\[W1 |
---|
85 | |
---|
86 | ; Printer small font |
---|
87 | code_small_font=\[W0\x0f |
---|
88 | |
---|
89 | ; Printer page feed |
---|
90 | code_formfeed=\x0c |
---|
91 | |
---|
92 | ; Printer reset |
---|
93 | code_reset_printer=\[2 |
---|
94 | |
---|
95 | ; End of line code |
---|
96 | code_end_of_line=\x0D\x0A |
---|
97 | |
---|
98 | ; ====================================================================== |
---|
99 | |
---|
100 | [dm_8pin_11inch] |
---|
101 | like=dm_8pin_a4 |
---|
102 | |
---|
103 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
104 | lines_down_page=99 |
---|
105 | |
---|
106 | ; ====================================================================== |
---|
107 | |
---|
108 | [dm_8pin_12inch] |
---|
109 | like=dm_8pin_a4 |
---|
110 | |
---|
111 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
112 | lines_down_page=108 |
---|
113 | |
---|
114 | ; ====================================================================== |
---|
115 | |
---|
116 | [dm_9pin_a4] |
---|
117 | like=dm_8pin_a4 |
---|
118 | |
---|
119 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
120 | lines_down_page=101 |
---|
121 | |
---|
122 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
123 | dots_per_pass=9 |
---|
124 | |
---|
125 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
126 | code_line_spacing=\[3\[ |
---|
127 | |
---|
128 | ; Printer graphics mode |
---|
129 | code_graphics_mode=\[^\x01 |
---|
130 | |
---|
131 | ; ====================================================================== |
---|
132 | |
---|
133 | [dm_9pin_11inch] |
---|
134 | like=dm_9pin_a4 |
---|
135 | |
---|
136 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
137 | lines_down_page=99 |
---|
138 | |
---|
139 | ; ====================================================================== |
---|
140 | |
---|
141 | [dm_9pin_12inch] |
---|
142 | like=dm_9pin_a4 |
---|
143 | |
---|
144 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
145 | lines_down_page=108 |
---|
146 | |
---|
147 | ; ====================================================================== |
---|
148 | |
---|
149 | [dm_24pin_a4] |
---|
150 | like=dm_8pin_a4 |
---|
151 | pixels_across_page=1440 |
---|
152 | |
---|
153 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
154 | lines_down_page=101 |
---|
155 | |
---|
156 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
157 | dots_per_pass=24 |
---|
158 | |
---|
159 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
160 | code_line_spacing=\[3\x18 |
---|
161 | |
---|
162 | ; Printer graphics mode |
---|
163 | code_graphics_mode=\[*\x27 |
---|
164 | |
---|
165 | ; ====================================================================== |
---|
166 | |
---|
167 | [dm_24pin_11inch] |
---|
168 | like=dm_24pin_a4 |
---|
169 | |
---|
170 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
171 | lines_down_page=99 |
---|
172 | |
---|
173 | ; ====================================================================== |
---|
174 | |
---|
175 | [dm_24pin_12inch] |
---|
176 | like=dm_24pin_a4 |
---|
177 | |
---|
178 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
179 | lines_down_page=108 |
---|
180 | |
---|
181 | ; ====================================================================== |
---|
182 | |
---|
183 | [dm_panasonic_24pin] |
---|
184 | like=dm_24pin_a4 |
---|
185 | |
---|
186 | ; Page Lines Deep |
---|
187 | lines_down_page=85 |
---|
188 | |
---|
189 | ; ====================================================================== |
---|
190 | |
---|
191 | [dm_lx86_9pin_11inch] |
---|
192 | like=dm_9pin_11inch |
---|
193 | |
---|
194 | ; ====================================================================== |
---|
195 | |
---|
196 | [hpgl_generic_a4landscape] |
---|
197 | like=base |
---|
198 | |
---|
199 | ; Page: plottable width (mm) (page is landscape) |
---|
200 | mm_across_page=285 |
---|
201 | |
---|
202 | ; Page: plottable length (mm) |
---|
203 | mm_down_page=200 |
---|
204 | |
---|
205 | origin_in_centre=1 |
---|
206 | |
---|
207 | ; ====================================================================== |
---|
208 | |
---|
209 | [hpgl_generic_a1landscape] |
---|
210 | like=base |
---|
211 | |
---|
212 | ; Page: plottable width (mm) (page is landscape) |
---|
213 | mm_across_page=790 |
---|
214 | |
---|
215 | ; Page: plottable length (mm) |
---|
216 | mm_down_page=550 |
---|
217 | |
---|
218 | origin_in_centre=1 |
---|
219 | |
---|
220 | ; ====================================================================== |
---|
221 | |
---|
222 | [hpgl_generic_a0landscape] |
---|
223 | like=base |
---|
224 | |
---|
225 | ; Page: plottable width (mm) (page is landscape) |
---|
226 | mm_across_page=1140 |
---|
227 | |
---|
228 | ; Page: plottable length (mm) |
---|
229 | mm_down_page=800 |
---|
230 | |
---|
231 | origin_in_centre=1 |
---|
232 | |
---|
233 | ; ====================================================================== |
---|
234 | |
---|
235 | [pcl_generic_a4] |
---|
236 | like=base |
---|
237 | |
---|
238 | ; Dots/Inch resolution (check manual or printer will use approxn) |
---|
239 | dpi=300 |
---|
240 | |
---|
241 | ; Printable area width (mm) |
---|
242 | mm_across_page=200 |
---|
243 | |
---|
244 | ; Printable area depth (mm) |
---|
245 | mm_down_page=280 |
---|
246 | |
---|
247 | ; Use horizontal tabs? 0 for no; 1 for yes |
---|
248 | horizontal_tab_ok=0 |
---|
249 | |
---|
250 | ; Use vertical tabs? 0 for no; 1 for yes |
---|
251 | vertical_tab_ok=0 |
---|
252 | |
---|
253 | ; ====================================================================== |
---|
254 | |
---|
255 | [pcl_modern_a4] |
---|
256 | like=pcl_generic_a4 |
---|
257 | |
---|
258 | ; Use horizontal tabs? 0 for no; 1 for yes |
---|
259 | horizontal_tab_ok=1 |
---|
260 | |
---|
261 | ; Use vertical tabs? 0 for no; 1 for yes |
---|
262 | vertical_tab_ok=1 |
---|
263 | |
---|
264 | ; ====================================================================== |
---|
265 | |
---|
266 | [ps_generic_a4] |
---|
267 | like=base |
---|
268 | |
---|
269 | ; name of font to use for text |
---|
270 | font=Times-Roman |
---|
271 | |
---|
272 | ; font size in points (was fixed at 10 in older versions) |
---|
273 | font_size=10 |
---|
274 | |
---|
275 | ; name of font to use for labels |
---|
276 | font_labels=Helvetica |
---|
277 | |
---|
278 | ; font size for labels in points |
---|
279 | font_size_labels=6 |
---|
280 | |
---|
281 | ; line width in points (was fixed at printer default in older versions) |
---|
282 | line_width=0.1 |
---|
283 | |
---|
284 | ; left edge to left margin (mm) |
---|
285 | mm_left_margin=8.1 |
---|
286 | |
---|
287 | ; left edge to right margin (mm) |
---|
288 | mm_right_margin=203.6 |
---|
289 | |
---|
290 | ; bottom edge to bottom margin (mm) |
---|
291 | mm_bottom_margin=8.1 |
---|
292 | |
---|
293 | ; bottom edge to top margin (mm) |
---|
294 | mm_top_margin=288.9 |
---|
295 | |
---|
296 | ; ====================================================================== |
---|
297 | |
---|
298 | [bj] |
---|
299 | like=base |
---|
300 | type=dm |
---|
301 | pixels_across_page=2880 |
---|
302 | |
---|
303 | ; Canon BJ printers are unlikely to require calibration |
---|
304 | mm_across_page=203.2 |
---|
305 | ;mm_down_page= FIXME 101 lines => 98 used * 48 dots/line gives way more |
---|
306 | ; then 360 dpi, which is what we'd expect |
---|
307 | |
---|
308 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
309 | lines_down_page=101 |
---|
310 | |
---|
311 | ; Line Dots Deep |
---|
312 | dots_per_pass=48 |
---|
313 | |
---|
314 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
315 | code_line_spacing= |
---|
316 | |
---|
317 | ; Printer graphics mode |
---|
318 | code_graphics_mode=\[[g |
---|
319 | code_graphics_mode_suffix=\x10 |
---|
320 | |
---|
321 | ; Printer large font |
---|
322 | code_large_font=\[I\x08\[W\x01 |
---|
323 | |
---|
324 | ; Printer small font |
---|
325 | code_small_font=\[I\x10\[W\x00 |
---|
326 | |
---|
327 | ; Printer page feed |
---|
328 | code_formfeed=\x0c |
---|
329 | |
---|
330 | ; Printer reset |
---|
331 | code_reset_printer= |
---|
332 | |
---|
333 | code_end_of_line=\[J\x18\x0d |
---|
334 | is_ibm=1 |
---|
335 | |
---|
336 | ; ====================================================================== |
---|