Debian Codegraph @

template/apsfilterrc.in

raw
1 ##############################################################################
2 # $ApsCVS: src/apsfilter/template/apsfilterrc.in,v 1.42.2.8 2002/11/09 16:54:28 andreas Exp $
3 #
4 # Sample apsfilter template file for apsfilter @VERSION@
5 #
6 # This file is for customizing apsfilter's behaviour
7 # Enables you to configures some aspects of apsfilter to fit your own needs.
8 #
9 #
10 # Possible locations for configuration files:
11 #
12 # a) global configuration for all printers: $CONF_DIR/apsfilterrc
13 # b) printer specific: $CONF_DIR/$QUEUE/apsfilterrc
14 # c) printer specific, supplied by user: $CONF_DIR/$QUEUE/apsfilterrc.$USER
15 # d) printer specific, controlled by user: ~$USER/.apsfilter/apsfilterrc.$QUEUE
16 # (admin must set USE_USER_CODE for this to be used)
17 ##############################################################################
18
19 #=============================================================================
20 # apsfilter specific configuration
21 #=============================================================================
22
23 # include special paths you need
24 # default: PATH="/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin"
25 #
26 #PATH="/opt/bin:/usr/openwin/bin:/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin"
27
28 # change this if your awk chokes on our programs and/or command line options
29 # default: AWK=awk
30 #
31 #AWK=/opt/gnu/bin/gawk
32
33 # who is to be notified in case of a failure
34 # default: NOTIFY=root
35 #
36 #NOTIFY=lp
37
38 # directory for temporary file creation
39 # default: TMPDIR=/tmp
40 #
41 #TMPDIR=/var/tmp
42
43 ###
44 ### WARNING !
45 ###
46 ### This setting allows users to provide configuration in a shell script;
47 ### do _not_ set this if the input filter runs under a privileged user.
48 ###
49 ### To be on the safe side, you can also create user-specific config files
50 ### $CONF_DIR/$QUEUE/apsfilterrc.$USER
51 ### which contain settings that have been inspected by the administrator.
52 ###
53 # default: USE_USER_CODE=""
54 #
55 #USE_USER_CODE=set
56
57
58 #=============================================================================
59 # printer independent configuration
60 #=============================================================================
61
62 # search path for embedded images used by dvips; this path will be extended
63 # by "$HOME:/tmp:/var/tmp" (where $HOME is the home directory of the user)
64 # default: TEXINPUTS=""
65 #
66 #TEXINPUTS=/usr/accounts/andreas/pictures:/usr/share/dvips/pictures
67
68 # set this of your MakeTeXPK tool works correctly
69 # default: HAVE_MAKETEXPK=""
70 #
71 #HAVE_MAKETEXPK=set
72
73 # dvips option for setting the resolution
74 # default: DVIPS_RES_DorP=-D
75 #
76 #DVIPS_RES_DorP=-P
77
78 # ghostscript environment variables
79 # defaults:
80 # GS_FONTPATH="/usr/X11R6/lib/X11/fonts/Type1:/var/X11R6/lib/X11/fonts/Type1"
81 # GS_LIB="$GS_FONTPATH"
82 #
83 #GS_FONTPATH=/usr/X11R6/lib/X11/fonts/Type1
84 #GS_LIB=/usr/X11R6/lib/X11/fonts/Type1
85
86 # set this if your (remote) print jobs are erroneously sent in "raw" mode
87 # default: IGNORE_LPD_RAW=""
88 #
89 #IGNORE_LPD_RAW=set
90
91
92 #============================================================================
93 # printer dependent configuration
94 # (these should go into the printer specific apsfilterrc)
95 #============================================================================
96
97 # media type; one of plain, coated, glossy, premium, trans
98 # default: MEDIA="plain"
99 #
100 #MEDIA=coated
101
102 # whether to print uni- or bi-directional
103 # default: SWEEP=bi
104 #
105 #SWEEP=uni
106
107 # custom DVI-to-PrinterLanguage filter (stdin->stdout)
108 # default: PRINT_DVI="" -> will use dvips
109 #
110 #PRINT_DVI='/usr/local/bin/my_super_filter -X -Y -Z -'
111
112 # escape sequences to be sent before/after a "raw" print job
113 # defaults:
114 # RAW_PROLOGUE=""
115 # RAW_EPILOGUE=""
116 #
117 #RAW_PROLOGUE='\033&k2G\033(s2Q\033&k5W\033&l0L\033&a7L\033(s12H'
118 #RAW_EPILOGUE='\014'
119
120 # escape sequences to be sent before/after text output via "recode"
121 # (in addition to the RAW_PROLOGUE and RAW_EPILOGUE stuff)
122 # defaults:
123 # RECODE_PROLOGUE=""
124 # RECODE_EPILOGUE=""
125 #
126 # these are examples for the LaserJet/DeskJet/PaintJet family
127 #RECODE_PROLOGUE='\033E\033&k2G\033(0N'
128 #RECODE_EPILOGUE='\033E'
129 # these are examples for the newer Stylus models (probably 740 and later)
130 #RECODE_PROLOGUE='\000\000\000\033\001@EJL 1284.4\012@EJL \012\033@\033@'
131 #RECODE_EPILOGUE='\033@'
132
133 # codes (printf-style) to create a single blank page
134 # default: BLANK_PAGE='\012\014'
135 #
136 #BLANK_PAGE='\033@'
137
138 # ghostscript options; will be altered by quality/color/... settings
139 # default: GS_FEATURES=""
140 #
141 #GS_FEATURES='-dBitsPerPixel=32 -dMicroweave -sDithering=fscmyk'
142
143 # printer initialisation (used by gs)
144 # default: PS_INIT=""
145 #
146 #PS_INIT=stcolor.ps
147
148 # printer cleanup (used by gs)
149 # default: PS_EXIT=""
150 #
151 #PS_EXIT=showpage.ps
152
153 # options for the POST_FILTER (called after gs processing)
154 # default: POST_FILTER_OPTS=""
155 #
156 #POST_FILTER_OPTS='-f /etc/my_pnm2ppa.conf'
157
158 # printer is a duplex capable printer
159 # default: HARDWARE_DUPLEX=""
160 #
161 #HARDWARE_DUPLEX=set
162
163 # disable duplex printing; only needed if HARDWARE_DUPLEX is empty _and_ if
164 # apsfilter doesn't run on the local host
165 # default: DISABLE_DUPLEX=""
166 #
167 #DISABLE_DUPLEX=set
168
169 # set these if even/odd pages should be reversed for fake duplex mode,
170 # and control whether the odd pages should be printed first
171 # defaults:
172 # DUPLEX_REVERSE_EVEN=""
173 # DUPLEX_REVERSE_ODD=""
174 # DUPLEX_ODD_FIRST=""
175 #
176 #DUPLEX_REVERSE_EVEN=set
177 #DUPLEX_REVERSE_ODD=set
178 #DUPLEX_ODD_FIRST=set
179
180 # papertray selection
181 # default: PAPERTRAY=""
182 #> class options: tray0, ..., tray9
183 #
184 #PAPERTRAY=1
185
186 # maximum number of copies printed via "lpr -C copies=42" or "lpr -Zcopies=42";
187 # this is independent of the "-#" and "-K" switches to lpr
188 # default: MAXCOPIES=10
189 #
190 #MAXCOPIES=1
191
192 # printer is capable of printing multiple copies
193 # default: HARDWARE_COPIES=""
194 #
195 #HARDWARE_COPIES=set
196
197 # copies should be done at the remote server (if possible);
198 # currently for NetWare and lpd servers
199 # default: REMOTE_COPIES=set
200 #
201 #unset REMOTE_COPIES
202
203
204 #============================================================================
205 # visual appearance of the printout
206 #============================================================================
207
208 # filter for ASCII files; one of a2ps, mpage, enscript, recode
209 # default: ASCII_FILTER=a2ps
210 #> class options: a2ps, mpage, enscript, recode
211 #
212 #ASCII_FILTER=recode
213
214 # override a2ps default options
215 # defaults:
216 # A2PS_BASIC="--delegate=no -X iso1"
217 # A2PS_PAPERSIZE="$PAPERSIZE" (case-corrected)
218 #
219 #don't format troff documents, by Joerg Wunsch <[email protected]>
220 #A2PS_BASIC='-Eplain'
221 #A2PS_PAPERSIZE=Letter
222 #A2PS_PAPERSIZE=A4stylus
223
224 # override the complete a2ps commandline
225 # default: A2PS_OPTS=""
226 #
227 #A2PS_OPTS='-X iso1 -m --borders=yes --prologue=color --highlight-level=heavy'
228
229 # override mpage default options
230 # defaults:
231 # MPAGE_BASIC="-CISO-Latin.1 -f"
232 # MPAGE_PAPERSIZE="$PAPERSIZE" (case-corrected)
233 #
234 #MPAGE_BASIC='-CISO-Latin.2 -f'
235 #MPAGE_PAPERSIZE=Letter
236 #MPAGE_PAPERSIZE=A4
237
238 # override the complete mpage commandline
239 # default: MPAGE_OPTS=""
240 #
241 #MPAGE_OPTS='-CISO-Latin.2 -a -e -r'
242
243 # override enscript default options
244 # defaults:
245 # ENSCRIPT_BASIC="-X 88591"
246 # ENSCRIPT_PAPERSIZE="$PAPERSIZE" (case-corrected)
247 #
248 #ENSCRIPT_BASIC='-C 88592'
249 #ENSCRIPT_PAPERSIZE=Letter
250 #ENSCRIPT_PAPERSIZE=A4
251
252 # override the complete enscript commandline
253 # default: ENSCRIPT_OPTS=""
254 #
255 #ENSCRIPT_OPTS='-X 88592 -r --ps-level=1'
256
257 # set level of pretty-printing (0=none, 1=normal, 2=heavy)
258 # the text-to-PostScript converter must support this
259 # default: PRETTY_PRINTING=1
260 #> class options: pretty=0, pretty=1, pretty=2
261 #
262 #PRETTY_PRINTING=0
263
264 # print headers and borders for ASCII files
265 # defaults:
266 # ASCII_HEADER=""
267 # ASCII_BORDER=""
268 #> class options: header, noheader, border, noborder
269 #
270 #ASCII_HEADER=set
271 #ASCII_BORDER=set
272
273 # multiple pages per sheet (can be 1,2,4,8)
274 # default: PS_NUP=1
275 #> class options: 1pps, 2pps, 4pps, 8pps
276 #
277 #PS_NUP=2
278 #
279 # same setting, but for ASCII files only
280 # default: ASCII_PPS="$PS_NUP"
281 #
282 #ASCII_PPS=2
283
284 # force paper orientation
285 # default: LANDSCAPE=""
286 #> class options: landscape, portrait
287 #
288 #LANDSCAPE=set
289 #
290 # same setting, but for ASCII files only
291 # default: ASCII_LANDSCAPE="$LANDSCAPE"
292 #
293 #ASCII_LANDSCAPE=set
294
295 # override htmldoc options
296 # default: HTMLDOC_OPTS="--webpage"
297 #
298 #HTMLDOC_OPTS='--book --charset 8859-2 --no-title'
299
300 # override html2ps options
301 # default: HTML2PS_OPTS="-e ISO-8859-1 -u -H"
302 #
303 #HTML2PS_OPTS='-e ISO-8859-2 -u -H'
304
305 # override recode options
306 # default: RECODE_OPTS="latin1..ibmpc"
307 #
308 #RECODE_OPTS='latin1..cp437'
309
310 # use pstools to alter the PostScript printout
311 # defaults:
312 # PS_BOOK=""
313 # PS_UTILS=""
314 #> class options: book
315 #
316 #PS_BOOK=set
317 #PS_UTILS='psselect -r'
318
319 # duplex printing (will be "faked" if printer can't handle this by itself)
320 # default: DUPLEX=""
321 #> class options: duplex, simplex
322 #
323 #DUPLEX=set
324
325 # binding edge; must be long or short
326 # default: BINDING=long
327 #> class options: shortbind, longbind
328 #
329 #BINDING=short