source: git/lib/print.ini @ 2001db9

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

printpcl/printdm: Added new .ini setting "font_bitmap" which allows the user
to choose between alternative fonts. Current we supply "default" and "bold".

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

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