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

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