source: git/lib/print.ini @ 86fae02

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

Reduced A1 size for hpgl plotters at Wookey's suggestion.

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

  • Property mode set to 100644
File size: 8.3 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
20; Note: don't modify this file or your changes will be overwritten by
21; upgrades.  Instead create:
22;
23;  * /etc/survex/print.ini (Unix - system-wide settings)
24;  * ~/.survex/print.ini (Unix - per user settings)
25;  * myprint.ini in the directory where Survex is installed (other platforms)
26;
27; The drivers look for the section "[dm]", "[ps]", "[pcl]" or "[hpgl]" as
28; appropriate.  The file you create should should contain something like
29; to select a particular printer:
30;
31; [pcl]
32; like=pcl_modern_a4
33;
34; For printdm, it should also contain calibration measurements:
35;
36; [dm]
37; like=dm_24pin_a4
38; mm_across_page=202
39; mm_down_page=278
40;
41; You can override other settings too, such as the output destination:
42;
43; [dm]
44; output_unix=|lpr -Pepson
45; like=dm_24pin_a4
46; mm_across_page=202
47; mm_down_page=278
48;
49; printdm can also drive Canon bubblejets in native mode (which gives a
50; higher resolution than in Epson emulation mode).  To use this,
51; set "like=bj" in the "[dm]" section - like so:
52;
53; [dm]
54; like=bj
55
56
57[base]
58;default for MSDOS
59output_msdos=LPT1
60
61;default for MS Windows
62output_mswindows=LPT1
63
64;default for Unix
65output_unix=|lpr
66
67;default for RISC OS
68;Survex$Printer is set in !Cavern.!Boot (to Printer: by default)
69output_riscos=<Survex$Printer>
70
71;default for anything else (send to a file called `Printout')
72output=Printout
73
74; ======================================================================
75
76[dm]
77like=dm_8pin_a4
78
79; ======================================================================
80
81[ps]
82like=ps_generic_a4
83
84; ======================================================================
85
86[pcl]
87like=pcl_generic_a4
88
89; ======================================================================
90
91[hpgl]
92like=hpgl_generic_a4landscape
93
94; ======================================================================
95
96; Driver definitions for different printers
97
98; ======================================================================
99
100[dm_8pin_a4]
101like=base
102type=dm
103pixels_across_page=960
104
105; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
106lines_down_page=101
107
108; Line Dots Deep (any value >0 but 8,9,24 are useful)
109dots_per_pass=8
110
111; Printer line spacing (\xXX gives char with hex ASCII value XX)
112code_line_spacing=\[3\x18
113
114; Printer graphics mode
115code_graphics_mode=\[L
116code_graphics_mode_suffix=
117
118; Printer large font
119code_large_font=\x12\[W1
120
121; Printer small font
122code_small_font=\[W0\x0f
123
124; Printer page feed
125code_formfeed=\x0c
126
127; Printer reset
128code_reset_printer=\[2
129
130; End of line code
131code_end_of_line=\x0D\x0A
132
133; ======================================================================
134
135[dm_8pin_11inch]
136like=dm_8pin_a4
137
138; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
139lines_down_page=99
140
141; ======================================================================
142
143[dm_8pin_12inch]
144like=dm_8pin_a4
145
146; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
147lines_down_page=108
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; Printer line spacing (\xXX gives char with hex ASCII value XX)
161code_line_spacing=\[3\[
162
163; Printer graphics mode
164code_graphics_mode=\[^\x01
165
166; ======================================================================
167
168[dm_9pin_11inch]
169like=dm_9pin_a4
170
171; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
172lines_down_page=99
173
174; ======================================================================
175
176[dm_9pin_12inch]
177like=dm_9pin_a4
178
179; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
180lines_down_page=108
181
182; ======================================================================
183
184[dm_24pin_a4]
185like=dm_8pin_a4
186pixels_across_page=1440
187
188; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
189lines_down_page=101
190
191; Line Dots Deep (any value >0 but 8,9,24 are useful)
192dots_per_pass=24
193
194; Printer line spacing (\xXX gives char with hex ASCII value XX)
195code_line_spacing=\[3\x18
196
197; Printer graphics mode
198code_graphics_mode=\[*\x27
199
200; ======================================================================
201
202[dm_24pin_11inch]
203like=dm_24pin_a4
204
205; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
206lines_down_page=99
207
208; ======================================================================
209
210[dm_24pin_12inch]
211like=dm_24pin_a4
212
213; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
214lines_down_page=108
215
216; ======================================================================
217
218[dm_panasonic_24pin]
219like=dm_24pin_a4
220
221; Page Lines Deep
222lines_down_page=85
223
224; ======================================================================
225
226[dm_lx86_9pin_11inch]
227like=dm_9pin_11inch
228
229; ======================================================================
230
231[hpgl_generic_a4landscape]
232like=base
233
234; Page: plottable width (mm) (page is landscape)
235mm_across_page=285
236
237; Page: plottable length (mm)
238mm_down_page=200
239
240origin_in_centre=1
241
242; ======================================================================
243
244[hpgl_generic_a1landscape]
245like=base
246
247; Page: plottable width (mm) (page is landscape)
248mm_across_page=790
249
250; Page: plottable length (mm)
251mm_down_page=550
252
253origin_in_centre=1
254
255; ======================================================================
256
257[hpgl_generic_a0landscape]
258like=base
259
260; Page: plottable width (mm) (page is landscape)
261mm_across_page=1140
262
263; Page: plottable length (mm)
264mm_down_page=800
265
266origin_in_centre=1
267
268; ======================================================================
269
270[pcl_generic_a4]
271like=base
272
273; Dots/Inch resolution (check manual or printer will use approxn)
274dpi=300
275
276; Printable area width (mm)
277mm_across_page=200
278
279; Printable area depth (mm)
280mm_down_page=280
281
282; Use horizontal tabs? 0 for no; 1 for yes
283horizontal_tab_ok=0
284
285; Use vertical tabs? 0 for no; 1 for yes
286vertical_tab_ok=0
287
288; ======================================================================
289
290[pcl_modern_a4]
291like=pcl_generic_a4
292
293; Use horizontal tabs? 0 for no; 1 for yes
294horizontal_tab_ok=1
295
296; Use vertical tabs? 0 for no; 1 for yes
297vertical_tab_ok=1
298
299; ======================================================================
300
301[ps_generic_a4]
302like=base
303
304; name of font to use for text
305font=Times-Roman
306
307; font size in points (was fixed at 10 in older versions)
308font_size=10
309
310; name of font to use for labels
311font_labels=Helvetica
312
313; font size for labels in points
314font_size_labels=6
315
316; line width in points (was fixed at printer default in older versions)
317line_width=0.1
318
319; left edge to left margin (mm)
320mm_left_margin=8.1
321
322; left edge to right margin (mm)
323mm_right_margin=203.6
324
325; bottom edge to bottom margin (mm)
326mm_bottom_margin=8.1
327
328; bottom edge to top margin (mm)
329mm_top_margin=288.9
330
331; ======================================================================
332
333[bj]
334like=base
335type=dm
336pixels_across_page=2880
337
338; Canon BJ printers are unlikely to require calibration
339mm_across_page=203.2
340;mm_down_page= FIXME 101 lines => 98 used * 48 dots/line gives way more
341; then 360 dpi, which is what we'd expect
342
343; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
344lines_down_page=101
345
346; Line Dots Deep
347dots_per_pass=48
348
349; Printer line spacing (\xXX gives char with hex ASCII value XX)
350code_line_spacing=
351
352; Printer graphics mode
353code_graphics_mode=\[[g
354code_graphics_mode_suffix=\x10
355
356; Printer large font
357code_large_font=\[I\x08\[W\x01
358
359; Printer small font
360code_small_font=\[I\x10\[W\x00
361
362; Printer page feed
363code_formfeed=\x0c
364
365; Printer reset
366code_reset_printer=
367
368code_end_of_line=\[J\x18\x0d
369is_ibm=1
370
371; ======================================================================
Note: See TracBrowser for help on using the repository browser.