source: git/lib/print.ini @ b2f758c

RELEASE/1.0RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-data
Last change on this file since b2f758c was b2f758c, checked in by Olly Betts <olly@…>, 24 years ago

Allow separate font sizes (and fonts) for station labels and other text

Allow different outputs per OS with sensible defaults in print.ini

git-svn-id: file:///home/survex-svn/survex/trunk@396 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

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