source: git/lib/print.ini @ 6c7fbd5

RELEASE/1.0RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-datawalls-data-hanging-as-warning
Last change on this file since 6c7fbd5 was 6c7fbd5, checked in by Olly Betts <olly@…>, 23 years ago

Documentation overhauled...

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

  • Property mode set to 100644
File size: 8.3 KB
RevLine 
[bd171e1a]1;  Printer Description File for Survex - http://www.survex.com/
[b2f758c]2;
[bd171e1a]3;  Copyright (C) 1993-2001 Olly Betts
[b2f758c]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
[bd171e1a]20; Note: don't modify this file or your changes will be overwritten by
[6c7fbd5]21; upgrades.  Instead create:
[bd171e1a]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
[adaa778]55
[b2f758c]56
[adaa778]57[base]
[b2f758c]58;default for MSDOS
59output_msdos=LPT1
60
61;default for MS Windows
62output_mswindows=LPT1
63
64;default for Unix
65output_unix=|lpr
[adaa778]66
[b2f758c]67;default for RISC OS
[d4d7e27]68;Survex$Printer is set in !Cavern.!Boot (to Printer: by default)
69output_riscos=<Survex$Printer>
[adaa778]70
[b2f758c]71;default for anything else (send to a file called `Printout')
72output=Printout
[adaa778]73
[b2f758c]74; ======================================================================
75
[adaa778]76[dm]
77like=dm_8pin_a4
78
[b2f758c]79; ======================================================================
80
[adaa778]81[ps]
82like=ps_generic_a4
83
[b2f758c]84; ======================================================================
85
[adaa778]86[pcl]
87like=pcl_generic_a4
88
[b2f758c]89; ======================================================================
90
[adaa778]91[hpgl]
92like=hpgl_generic_a4landscape
93
[b2f758c]94; ======================================================================
95
[adaa778]96; Driver definitions for different printers
97
[b2f758c]98; ======================================================================
99
[adaa778]100[dm_8pin_a4]
101like=base
102type=dm
103pixels_across_page=960
[b2f758c]104
[adaa778]105; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
[b2f758c]106lines_down_page=101
107
[adaa778]108; Line Dots Deep (any value >0 but 8,9,24 are useful)
[b2f758c]109dots_per_pass=8
110
[adaa778]111; Printer line spacing (\xXX gives char with hex ASCII value XX)
[b2f758c]112code_line_spacing=\[3\x18
113
114; Printer graphics mode
[adaa778]115code_graphics_mode=\[L
116code_graphics_mode_suffix=
[b2f758c]117
[adaa778]118; Printer large font
[b2f758c]119code_large_font=\x12\[W1
120
[adaa778]121; Printer small font
[b2f758c]122code_small_font=\[W0\x0f
123
[adaa778]124; Printer page feed
[b2f758c]125code_formfeed=\x0c
126
[adaa778]127; Printer reset
[b2f758c]128code_reset_printer=\[2
129
[adaa778]130; End of line code
[b2f758c]131code_end_of_line=\x0D\x0A
132
133; ======================================================================
[adaa778]134
135[dm_8pin_11inch]
136like=dm_8pin_a4
[b2f758c]137
[adaa778]138; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
[b2f758c]139lines_down_page=99
140
141; ======================================================================
[adaa778]142
143[dm_8pin_12inch]
144like=dm_8pin_a4
[b2f758c]145
[adaa778]146; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
[b2f758c]147lines_down_page=108
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; Printer line spacing (\xXX gives char with hex ASCII value XX)
[b2f758c]161code_line_spacing=\[3\[
162
[adaa778]163; Printer graphics mode
[b2f758c]164code_graphics_mode=\[^\x01
165
166; ======================================================================
[adaa778]167
168[dm_9pin_11inch]
169like=dm_9pin_a4
[b2f758c]170
171; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
[adaa778]172lines_down_page=99
[b2f758c]173
174; ======================================================================
[adaa778]175
176[dm_9pin_12inch]
177like=dm_9pin_a4
[b2f758c]178
179; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
[adaa778]180lines_down_page=108
[b2f758c]181
182; ======================================================================
[adaa778]183
184[dm_24pin_a4]
185like=dm_8pin_a4
186pixels_across_page=1440
[b2f758c]187
[adaa778]188; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
[b2f758c]189lines_down_page=101
190
[adaa778]191; Line Dots Deep (any value >0 but 8,9,24 are useful)
[b2f758c]192dots_per_pass=24
193
[adaa778]194; Printer line spacing (\xXX gives char with hex ASCII value XX)
[b2f758c]195code_line_spacing=\[3\x18
196
[adaa778]197; Printer graphics mode
[b2f758c]198code_graphics_mode=\[*\x27
[adaa778]199
[b2f758c]200; ======================================================================
[adaa778]201
202[dm_24pin_11inch]
203like=dm_24pin_a4
[b2f758c]204
[adaa778]205; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
[b2f758c]206lines_down_page=99
207
208; ======================================================================
[adaa778]209
210[dm_24pin_12inch]
211like=dm_24pin_a4
[b2f758c]212
[adaa778]213; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
[b2f758c]214lines_down_page=108
215
216; ======================================================================
[adaa778]217
218[dm_panasonic_24pin]
219like=dm_24pin_a4
[b2f758c]220
[adaa778]221; Page Lines Deep
[b2f758c]222lines_down_page=85
223
224; ======================================================================
[adaa778]225
226[dm_lx86_9pin_11inch]
227like=dm_9pin_11inch
[b2f758c]228
229; ======================================================================
[adaa778]230
231[hpgl_generic_a4landscape]
232like=base
[b2f758c]233
[adaa778]234; Page: plottable width (mm) (page is landscape)
[b2f758c]235mm_across_page=285
236
[adaa778]237; Page: plottable length (mm)
[b2f758c]238mm_down_page=200
239
[adaa778]240origin_in_centre=1
241
[b2f758c]242; ======================================================================
243
[adaa778]244[hpgl_generic_a1landscape]
245like=base
[b2f758c]246
[adaa778]247; Page: plottable width (mm) (page is landscape)
[b2f758c]248mm_across_page=430
249
[adaa778]250; Page: plottable length (mm)
[b2f758c]251mm_down_page=580
252
[adaa778]253origin_in_centre=1
254
[b2f758c]255; ======================================================================
256
[adaa778]257[hpgl_generic_a0landscape]
258like=base
[b2f758c]259
[adaa778]260; Page: plottable width (mm) (page is landscape)
[b2f758c]261mm_across_page=1140
262
[adaa778]263; Page: plottable length (mm)
[b2f758c]264mm_down_page=800
265
[adaa778]266origin_in_centre=1
267
[b2f758c]268; ======================================================================
[adaa778]269
270[pcl_generic_a4]
271like=base
[b2f758c]272
[adaa778]273; Dots/Inch resolution (check manual or printer will use approxn)
[b2f758c]274dpi=300
275
[adaa778]276; Printable area width (mm)
[b2f758c]277mm_across_page=200
278
[adaa778]279; Printable area depth (mm)
[b2f758c]280mm_down_page=280
281
[adaa778]282; Use horizontal tabs? 0 for no; 1 for yes
[b2f758c]283horizontal_tab_ok=0
284
[adaa778]285; Use vertical tabs? 0 for no; 1 for yes
[b2f758c]286vertical_tab_ok=0
287
288; ======================================================================
[adaa778]289
290[pcl_modern_a4]
291like=pcl_generic_a4
[b2f758c]292
[adaa778]293; Use horizontal tabs? 0 for no; 1 for yes
[b2f758c]294horizontal_tab_ok=1
295
[adaa778]296; Use vertical tabs? 0 for no; 1 for yes
[b2f758c]297vertical_tab_ok=1
[adaa778]298
[b2f758c]299; ======================================================================
[adaa778]300
301[ps_generic_a4]
302like=base
[b2f758c]303
[adaa778]304; name of font to use for text
[b2f758c]305font=Times-Roman
306
[990fbaf0]307; font size in points (was fixed at 10 in older versions)
[b2f758c]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
[990fbaf0]316; line width in points (was fixed at printer default in older versions)
[50ada97]317line_width=0.1
[b2f758c]318
[adaa778]319; left edge to left margin (mm)
[b2f758c]320mm_left_margin=8.1
321
[adaa778]322; left edge to right margin (mm)
[b2f758c]323mm_right_margin=203.6
324
[adaa778]325; bottom edge to bottom margin (mm)
[b2f758c]326mm_bottom_margin=8.1
327
[adaa778]328; bottom edge to top margin (mm)
[b2f758c]329mm_top_margin=288.9
330
331; ======================================================================
[adaa778]332
333[bj]
334like=base
335type=dm
336pixels_across_page=2880
[b2f758c]337
[bd171e1a]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
[adaa778]343; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4)
[b2f758c]344lines_down_page=101
345
[bd171e1a]346; Line Dots Deep
[b2f758c]347dots_per_pass=48
348
[adaa778]349; Printer line spacing (\xXX gives char with hex ASCII value XX)
[b2f758c]350code_line_spacing=
351
352; Printer graphics mode
[adaa778]353code_graphics_mode=\[[g
354code_graphics_mode_suffix=\x10
[b2f758c]355
[adaa778]356; Printer large font
[b2f758c]357code_large_font=\[I\x08\[W\x01
358
[adaa778]359; Printer small font
[b2f758c]360code_small_font=\[I\x10\[W\x00
361
[adaa778]362; Printer page feed
[b2f758c]363code_formfeed=\x0c
364
[adaa778]365; Printer reset
[b2f758c]366code_reset_printer=
367
[adaa778]368code_end_of_line=\[J\x18\x0d
369is_ibm=1
[b2f758c]370
371; ======================================================================
Note: See TracBrowser for help on using the repository browser.