source: git/lib/print.ini @ ca4058d

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

Added colour printing to printps, printwin, and printxbm.

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

  • Property mode set to 100644
File size: 8.4 KB
Line 
1;  Printer Description File for Survex - http://www.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., 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
24output_msdos=LPT1
25
26; default for MS Windows
27output_mswindows=LPT1
28
29; default for Unix
30output_unix=|lpr
31
32; default for RISC OS
33; Survex$Printer is set in !Cavern.!Boot (to Printer: by default)
34output_riscos=<Survex$Printer>
35
36; default for anything else (send to a file called `Printout')
37output=Printout
38
39; font size for labels in points
40; Note: ignored by HPGL driver
41font_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
46font_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)
58colour_crosses=gray
59; (Underground) survey legs
60;colour_legs=black
61; Surface survey legs (enabled by --surface)
62colour_surface_legs=lime
63; Page border, infobox, alignment ticks, cutlines.
64;colour_frame=silver
65
66; ======================================================================
67
68[win]
69like=base
70
71; ======================================================================
72
73[dm]
74like=dm_8pin_a4
75
76; ======================================================================
77
78[ps]
79like=ps_generic_a4
80
81; ======================================================================
82
83[pcl]
84like=pcl_generic_a4
85
86; ======================================================================
87
88[hpgl]
89like=hpgl_generic_a4landscape
90
91; ======================================================================
92
93; Driver definitions for different printers
94
95; ======================================================================
96
97[dm_8pin_a4]
98like=base
99type=dm
100pixels_across_page=960
101
102; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
103lines_down_page=101
104
105; Line Dots Deep (any value >0 but 8,9,24 are useful)
106dots_per_pass=8
107
108; Printer line spacing (\xXX gives char with hex ASCII value XX)
109code_line_spacing=\[3\x18
110
111; Printer graphics mode
112code_graphics_mode=\[L
113code_graphics_mode_suffix=
114
115; Printer large font
116code_large_font=\x12\[W1
117
118; Printer small font
119code_small_font=\[W0\x0f
120
121; Printer page feed
122code_formfeed=\x0c
123
124; Printer reset
125code_reset_printer=\[2
126
127; End of line code
128code_end_of_line=\x0D\x0A
129
130; ======================================================================
131
132[dm_8pin_11inch]
133like=dm_8pin_a4
134
135; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
136lines_down_page=99
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; ======================================================================
147
148[dm_9pin_a4]
149like=dm_8pin_a4
150
151; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
152lines_down_page=101
153
154; Line Dots Deep (any value >0 but 8,9,24 are useful)
155dots_per_pass=9
156
157; Printer line spacing (\xXX gives char with hex ASCII value XX)
158code_line_spacing=\[3\[
159
160; Printer graphics mode
161code_graphics_mode=\[^\x01
162
163; ======================================================================
164
165[dm_9pin_11inch]
166like=dm_9pin_a4
167
168; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
169lines_down_page=99
170
171; ======================================================================
172
173[dm_9pin_12inch]
174like=dm_9pin_a4
175
176; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
177lines_down_page=108
178
179; ======================================================================
180
181[dm_24pin_a4]
182like=dm_8pin_a4
183pixels_across_page=1440
184
185; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
186lines_down_page=101
187
188; Line Dots Deep (any value >0 but 8,9,24 are useful)
189dots_per_pass=24
190
191; Printer line spacing (\xXX gives char with hex ASCII value XX)
192code_line_spacing=\[3\x18
193
194; Printer graphics mode
195code_graphics_mode=\[*\x27
196
197; ======================================================================
198
199[dm_24pin_11inch]
200like=dm_24pin_a4
201
202; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
203lines_down_page=99
204
205; ======================================================================
206
207[dm_24pin_12inch]
208like=dm_24pin_a4
209
210; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
211lines_down_page=108
212
213; ======================================================================
214
215[dm_panasonic_24pin]
216like=dm_24pin_a4
217
218; Page Lines Deep
219lines_down_page=85
220
221; ======================================================================
222
223[dm_lx86_9pin_11inch]
224like=dm_9pin_11inch
225
226; ======================================================================
227
228[hpgl_generic_a4landscape]
229like=base
230
231; Page: plottable width (mm) (page is landscape)
232mm_across_page=285
233
234; Page: plottable length (mm)
235mm_down_page=200
236
237origin_in_centre=1
238
239; ======================================================================
240
241[hpgl_generic_a1landscape]
242like=base
243
244; Page: plottable width (mm) (page is landscape)
245mm_across_page=790
246
247; Page: plottable length (mm)
248mm_down_page=550
249
250origin_in_centre=1
251
252; ======================================================================
253
254[hpgl_generic_a0landscape]
255like=base
256
257; Page: plottable width (mm) (page is landscape)
258mm_across_page=1140
259
260; Page: plottable length (mm)
261mm_down_page=800
262
263origin_in_centre=1
264
265; ======================================================================
266
267[pcl_generic_a4]
268like=base
269
270; Dots/Inch resolution (check manual or printer will use approxn)
271dpi=300
272
273; Printable area width (mm)
274mm_across_page=200
275
276; Printable area depth (mm)
277mm_down_page=280
278
279; Use horizontal tabs? 0 for no; 1 for yes
280horizontal_tab_ok=0
281
282; Use vertical tabs? 0 for no; 1 for yes
283vertical_tab_ok=0
284
285; ======================================================================
286
287[pcl_modern_a4]
288like=pcl_generic_a4
289
290; Use horizontal tabs? 0 for no; 1 for yes
291horizontal_tab_ok=1
292
293; Use vertical tabs? 0 for no; 1 for yes
294vertical_tab_ok=1
295
296; ======================================================================
297
298[ps_generic_a4]
299like=base
300
301; name of font to use for text
302font=Times-Roman
303
304; font size in points (was fixed at 10 in older versions)
305font_size=10
306
307; name of font to use for labels
308font_labels=Helvetica
309
310; line width in points (was fixed at printer default in older versions)
311line_width=0.1
312
313; left edge to left margin (mm)
314mm_left_margin=8.1
315
316; left edge to right margin (mm)
317mm_right_margin=203.6
318
319; bottom edge to bottom margin (mm)
320mm_bottom_margin=8.1
321
322; bottom edge to top margin (mm)
323mm_top_margin=288.9
324
325; ======================================================================
326
327[bj]
328like=base
329type=dm
330pixels_across_page=2880
331
332; Canon BJ printers are unlikely to require calibration
333mm_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)
338lines_down_page=101
339
340; Line Dots Deep
341dots_per_pass=48
342
343; Printer line spacing (\xXX gives char with hex ASCII value XX)
344code_line_spacing=
345
346; Printer graphics mode
347code_graphics_mode=\[[g
348code_graphics_mode_suffix=\x10
349
350; Printer large font
351code_large_font=\[I\x08\[W\x01
352
353; Printer small font
354code_small_font=\[I\x10\[W\x00
355
356; Printer page feed
357code_formfeed=\x0c
358
359; Printer reset
360code_reset_printer=
361
362code_end_of_line=\[J\x18\x0d
363is_ibm=1
364
365; ======================================================================
Note: See TracBrowser for help on using the repository browser.