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