source: git/lib/print.ini @ b2f758c

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