source: git/lib/print.ini @ abb82a4

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

Support font_size_labels in printwin/printdm/printpcl

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

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