File: apsfilterrc.in

package info (click to toggle)
apsfilter 7.2.6-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,496 kB
  • sloc: sh: 450; ansic: 236; perl: 175; makefile: 159
file content (329 lines) | stat: -rw-r--r-- 8,798 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
##############################################################################
# $ApsCVS: src/apsfilter/template/apsfilterrc.in,v 1.42.2.8 2002/11/09 16:54:28 andreas Exp $
#
# Sample apsfilter template file for apsfilter @VERSION@
#
# This file is for customizing apsfilter's behaviour
# Enables you to configures some aspects of apsfilter to fit your own needs.
#
#
# Possible locations for configuration files:
#
# a) global configuration for all printers: $CONF_DIR/apsfilterrc
# b) printer specific: $CONF_DIR/$QUEUE/apsfilterrc
# c) printer specific, supplied by user: $CONF_DIR/$QUEUE/apsfilterrc.$USER
# d) printer specific, controlled by user: ~$USER/.apsfilter/apsfilterrc.$QUEUE
#    (admin must set USE_USER_CODE for this to be used)
##############################################################################

#=============================================================================
# apsfilter specific configuration
#=============================================================================

# include special paths you need
# default: PATH="/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin"
#
#PATH="/opt/bin:/usr/openwin/bin:/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin"

# change this if your awk chokes on our programs and/or command line options
# default: AWK=awk
#
#AWK=/opt/gnu/bin/gawk

# who is to be notified in case of a failure
# default: NOTIFY=root
#
#NOTIFY=lp

# directory for temporary file creation
# default: TMPDIR=/tmp
#
#TMPDIR=/var/tmp

###
### WARNING !
###
### This setting allows users to provide configuration in a shell script;
### do _not_ set this if the input filter runs under a privileged user.
###
### To be on the safe side, you can also create user-specific config files
###	$CONF_DIR/$QUEUE/apsfilterrc.$USER
### which contain settings that have been inspected by the administrator.
###
# default: USE_USER_CODE=""
#
#USE_USER_CODE=set


#=============================================================================
# printer independent configuration
#=============================================================================

# search path for embedded images used by dvips; this path will be extended
# by "$HOME:/tmp:/var/tmp" (where $HOME is the home directory of the user)
# default: TEXINPUTS=""
#
#TEXINPUTS=/usr/accounts/andreas/pictures:/usr/share/dvips/pictures

# set this of your MakeTeXPK tool works correctly
# default: HAVE_MAKETEXPK=""
#
#HAVE_MAKETEXPK=set

# dvips option for setting the resolution
# default: DVIPS_RES_DorP=-D
#
#DVIPS_RES_DorP=-P

# ghostscript environment variables
# defaults:
#  GS_FONTPATH="/usr/X11R6/lib/X11/fonts/Type1:/var/X11R6/lib/X11/fonts/Type1"
#  GS_LIB="$GS_FONTPATH"
#
#GS_FONTPATH=/usr/X11R6/lib/X11/fonts/Type1
#GS_LIB=/usr/X11R6/lib/X11/fonts/Type1

# set this if your (remote) print jobs are erroneously sent in "raw" mode
# default: IGNORE_LPD_RAW=""
#
#IGNORE_LPD_RAW=set


#============================================================================
# printer dependent configuration
# (these should go into the printer specific apsfilterrc)
#============================================================================

# media type; one of plain, coated, glossy, premium, trans
# default: MEDIA="plain"
#
#MEDIA=coated

# whether to print uni- or bi-directional
# default: SWEEP=bi
#
#SWEEP=uni

# custom DVI-to-PrinterLanguage filter (stdin->stdout)
# default: PRINT_DVI="" -> will use dvips
#
#PRINT_DVI='/usr/local/bin/my_super_filter -X -Y -Z -'

# escape sequences to be sent before/after a "raw" print job
# defaults:
#  RAW_PROLOGUE=""
#  RAW_EPILOGUE=""
#
#RAW_PROLOGUE='\033&k2G\033(s2Q\033&k5W\033&l0L\033&a7L\033(s12H'
#RAW_EPILOGUE='\014'

# escape sequences to be sent before/after text output via "recode"
# (in addition to the RAW_PROLOGUE and RAW_EPILOGUE stuff)
# defaults:
#  RECODE_PROLOGUE=""
#  RECODE_EPILOGUE=""
#
# these are examples for the LaserJet/DeskJet/PaintJet family
#RECODE_PROLOGUE='\033E\033&k2G\033(0N'
#RECODE_EPILOGUE='\033E'
# these are examples for the newer Stylus models (probably 740 and later)
#RECODE_PROLOGUE='\000\000\000\033\001@EJL 1284.4\012@EJL     \012\033@\033@'
#RECODE_EPILOGUE='\033@'

# codes (printf-style) to create a single blank page
# default: BLANK_PAGE='\012\014'
#
#BLANK_PAGE='\033@'

# ghostscript options; will be altered by quality/color/... settings
# default: GS_FEATURES=""
#
#GS_FEATURES='-dBitsPerPixel=32 -dMicroweave -sDithering=fscmyk'

# printer initialisation (used by gs)
# default: PS_INIT=""
#
#PS_INIT=stcolor.ps

# printer cleanup (used by gs)
# default: PS_EXIT=""
#
#PS_EXIT=showpage.ps

# options for the POST_FILTER (called after gs processing)
# default: POST_FILTER_OPTS=""
#
#POST_FILTER_OPTS='-f /etc/my_pnm2ppa.conf'

# printer is a duplex capable printer
# default: HARDWARE_DUPLEX=""
#
#HARDWARE_DUPLEX=set

# disable duplex printing; only needed if HARDWARE_DUPLEX is empty _and_ if
# apsfilter doesn't run on the local host
# default: DISABLE_DUPLEX=""
#
#DISABLE_DUPLEX=set

# set these if even/odd pages should be reversed for fake duplex mode,
# and control whether the odd pages should be printed first
# defaults:
#  DUPLEX_REVERSE_EVEN=""
#  DUPLEX_REVERSE_ODD=""
#  DUPLEX_ODD_FIRST=""
#
#DUPLEX_REVERSE_EVEN=set
#DUPLEX_REVERSE_ODD=set
#DUPLEX_ODD_FIRST=set

# papertray selection
# default: PAPERTRAY=""
#> class options: tray0, ..., tray9
#
#PAPERTRAY=1

# maximum number of copies printed via "lpr -C copies=42" or "lpr -Zcopies=42";
# this is independent of the "-#" and "-K" switches to lpr
# default: MAXCOPIES=10
#
#MAXCOPIES=1

# printer is capable of printing multiple copies
# default: HARDWARE_COPIES=""
#
#HARDWARE_COPIES=set

# copies should be done at the remote server (if possible);
# currently for NetWare and lpd servers
# default: REMOTE_COPIES=set
#
#unset REMOTE_COPIES


#============================================================================
# visual appearance of the printout
#============================================================================

# filter for ASCII files; one of a2ps, mpage, enscript, recode
# default: ASCII_FILTER=a2ps
#> class options: a2ps, mpage, enscript, recode
#
#ASCII_FILTER=recode

# override a2ps default options
# defaults:
#  A2PS_BASIC="--delegate=no -X iso1"
#  A2PS_PAPERSIZE="$PAPERSIZE" (case-corrected)
#
#don't format troff documents, by Joerg Wunsch <joerg@apsfilter.org>
#A2PS_BASIC='-Eplain'
#A2PS_PAPERSIZE=Letter
#A2PS_PAPERSIZE=A4stylus

# override the complete a2ps commandline
# default: A2PS_OPTS=""
#
#A2PS_OPTS='-X iso1 -m --borders=yes --prologue=color --highlight-level=heavy'

# override mpage default options
# defaults:
#  MPAGE_BASIC="-CISO-Latin.1 -f"
#  MPAGE_PAPERSIZE="$PAPERSIZE" (case-corrected)
#
#MPAGE_BASIC='-CISO-Latin.2 -f'
#MPAGE_PAPERSIZE=Letter
#MPAGE_PAPERSIZE=A4

# override the complete mpage commandline
# default: MPAGE_OPTS=""
#
#MPAGE_OPTS='-CISO-Latin.2 -a -e -r'

# override enscript default options
# defaults:
#  ENSCRIPT_BASIC="-X 88591"
#  ENSCRIPT_PAPERSIZE="$PAPERSIZE" (case-corrected)
#
#ENSCRIPT_BASIC='-C 88592'
#ENSCRIPT_PAPERSIZE=Letter
#ENSCRIPT_PAPERSIZE=A4

# override the complete enscript commandline
# default: ENSCRIPT_OPTS=""
#
#ENSCRIPT_OPTS='-X 88592 -r --ps-level=1'

# set level of pretty-printing (0=none, 1=normal, 2=heavy)
# the text-to-PostScript converter must support this
# default: PRETTY_PRINTING=1
#> class options: pretty=0, pretty=1, pretty=2
#
#PRETTY_PRINTING=0

# print headers and borders for ASCII files
# defaults:
#  ASCII_HEADER=""
#  ASCII_BORDER=""
#> class options: header, noheader, border, noborder
#
#ASCII_HEADER=set
#ASCII_BORDER=set

# multiple pages per sheet (can be 1,2,4,8)
# default: PS_NUP=1
#> class options: 1pps, 2pps, 4pps, 8pps
#
#PS_NUP=2
#
# same setting, but for ASCII files only
# default: ASCII_PPS="$PS_NUP"
#
#ASCII_PPS=2

# force paper orientation
# default: LANDSCAPE=""
#> class options: landscape, portrait
#
#LANDSCAPE=set
#
# same setting, but for ASCII files only
# default: ASCII_LANDSCAPE="$LANDSCAPE"
#
#ASCII_LANDSCAPE=set

# override htmldoc options
# default: HTMLDOC_OPTS="--webpage"
#
#HTMLDOC_OPTS='--book --charset 8859-2 --no-title'

# override html2ps options
# default: HTML2PS_OPTS="-e ISO-8859-1 -u -H"
#
#HTML2PS_OPTS='-e ISO-8859-2 -u -H'

# override recode options
# default: RECODE_OPTS="latin1..ibmpc"
#
#RECODE_OPTS='latin1..cp437'

# use pstools to alter the PostScript printout
# defaults:
#  PS_BOOK=""
#  PS_UTILS=""
#> class options: book
#
#PS_BOOK=set
#PS_UTILS='psselect -r'

# duplex printing (will be "faked" if printer can't handle this by itself)
# default: DUPLEX=""
#> class options: duplex, simplex
#
#DUPLEX=set

# binding edge; must be long or short
# default: BINDING=long
#> class options: shortbind, longbind
#
#BINDING=short