Simplify compiler detection.
[enscript.git] / lib / enscript.cfg.in
1 #
2 # GNU Enscript configuration file.
3 # Copyright (c) 1995-1998 Markku Rossi.
4 #
5 # Author: Markku Rossi <mtr@iki.fi>
6 #
7 #
8 #
9 # This file is part of GNU enscript.
10 #
11 # This program is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation; either version 2, or (at your option)
14 # any later version.
15 #
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 # GNU General Public License for more details.
20 #
21 # You should have received a copy of the GNU General Public License
22 # along with this program; see the file COPYING.  If not, write to
23 # the Free Software Foundation, 51 Franklin Street, Fifth Floor,
24 # Boston, MA 02110-1301, USA.
25 #
26
27 # Do we accept PostScript font's composite characters?  As a default,
28 # this is false because I think this is GhostScript dependant.
29 AcceptCompositeCharacters: 0
30
31 # Lookup path for the AFM files.
32 AFMPath: @DATADIR@/enscript/afm:/usr/local/lib/ps:/usr/lib/ps
33
34 # Append ^D character to the end of the output.  Some printers like HP
35 # LaserJet 5 require this but the default is `false'.
36 AppendCtrlD: 0
37
38 # How characters greater than 127 are printed:
39 #   1   generate clean 7-bit code; print characters greater than 127
40 #       in the backslash-octal notation `\xxx' (default)
41 #   0   generate 8-bit code
42 Clean7Bit: 1
43
44 # Default input encoding.
45 DefaultEncoding: latin1
46
47 # Default fancy header.
48 DefaultFancyHeader: enscript
49
50 # Default output media.
51 DefaultMedia: @media@
52
53 # Where output goes as a default: `printer' or `stdout'
54 DefaultOutputMethod: printer
55
56 # Include following font files to all PostScript outputs.
57 #
58 # DownloadFont: FooFont1
59 # DownloadFont: FooFont2
60
61 # The escape character for special escapes.
62 EscapeChar: 0
63
64 # What to do when a formfeed character is encountered from input:
65 #  column       move to the beginning of the next column
66 #  page         move to the beginning of the next page
67 FormFeedType: column
68
69 # Specify whether the PageSize page device option is generated to the
70 # output.
71 GeneratePageSize: 1
72
73 # The gray level which is used to print highlight bars.
74 HighlightBarGray: .97
75
76 # How high highlight bars are in lines.  The default is 0 so no
77 # highlight bars are printed.
78 # HighlightBars: 2
79
80 # Library path.  Let's use built-in default.
81 # LibraryPath:
82
83 # How wrapped lines are marked in printout.  Possible values are: `none',
84 # `plus', `box' and `arrow'.  As a default, we do not mark them.
85 MarkWrappedLines: none
86
87 # Media definitions:
88 #       name            width   height  llx     lly     urx     ury
89 Media:  A3              842     1190    24      24      818     1166
90 Media:  A4              595     842     24      24      571     818
91 Media:  A5              420     595     24      24      396     571
92 Media:  Legal           612     1008    24      24      588     984
93 Media:  Letter          612     792     38      24      574     768
94
95 # HP DeskJet media (DeskJet can't print on the bottom 1/2" of the paper).
96 Media:  A4dj            595     842     24      50      571     818
97 Media:  Letterdj        612     792     24      40      588     768
98
99 # Spooler option to suppress the job header.
100 NoJobHeaderSwitch: -h
101
102 # How non-printable characters are printed: `caret', `octal',
103 # `questionmark' or `space'.
104 NonPrintableFormat: octal
105
106 # PostScript output's first line.
107 OutputFirstLine: %!PS-Adobe-3.0
108
109 # Default page label format: `short' or `long'.
110 PageLabelFormat: short
111
112 # Enable / disable page prefeed.
113 PagePrefeed: 0
114
115 # The PostScript language level that enscript should use.
116 PostScriptLevel: @pslevel@
117
118 # Printer name to spool to.  As a default we want to use system's
119 # default printer.
120 # Printer: ps
121
122 # The spooler command switch to select the printer queue.  This option
123 # can also be used to pass other flags to the spooler command but they
124 # must be given bofore the queue switch.
125 QueueParam: -P
126
127 # Pass following Page Device options to the generated output.
128 #
129 # Duplex printing.
130 # SetPageDevice: Duplex:true
131
132 # Printer spooler command name.
133 Spooler: @spooler@
134
135 # An absolute path to the states program.
136 StatesBinary: @BINDIR@/states
137
138 # Create color outputs with States?
139 StatesColor: 0
140
141 # The name of the States configuration file.
142 StatesConfigFile: @DATADIR@/enscript/hl/enscript.st
143
144 # States' default highlight style.
145 StatesHighlightStyle: emacs
146
147 # Path for the States program.
148 # StatesPath: @DATADIR@/enscript/hl
149
150 # Pass following statusdict options to the generated output.
151 #
152 # Use always paper tray 1.
153 # StatusDict: setpapertray:1
154
155 # Format string for table-of-contents entries.
156 #
157 # TOCFormat: $3v $-40N $3% pages $4L lines  $E $C
158
159 # As a default, print this underlay text to all document.
160 # Underlay: mtr's printout
161
162 # Underlay text angle.
163 # UnderlayAngle: 45
164
165 # Select underlay font.
166 UnderlayFont: Times-Roman200
167
168 # Select underlay gray.
169 UnderlayGray: .8
170
171 # Underlay text starting position.
172 # UnderlayPosition: +0-0
173
174 # Underlay style: `outline' or `filled'
175 UnderlayStyle: outline
176
177 # EOF