| Michal Szymanski on Thu, 4 Apr 2002 11:50:09 +0200 (CEST)(envelope-from owner-apsfilter-help@apsfilter.org) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| passing options to subfilters? |
Hi, With default configuration, apsfilter uses 'a2ps' utility with options which force using colors and syntax highlighting for known types of files, e.g. C program files. I know I can change these options in /usr/local/etc/apsfilterrc file but this would have "global" consequences. That's not necessarily what I'd want. Is it possible to dynamically control the subfilter (like a2ps) used by apsfilter and be able to pass options specific for a2ps in the "lpr" command line? And, BTW, could somebody explain how does 'apsfilter' construct options passed to 'a2ps'? There are at least 2 variables in apsfilterrc: #A2PS_BASIC="--delegate=no -X iso1 -g" #A2PS_BASIC='-X iso1' #A2PS_OPTS='-X iso1 -m --borders=yes --prologue=color --highlight-level=heavy' It seems as if A2PS_OPTS included A2PS_BASIC, but what will happen if I uncomment (and change) both? regards, Michal. -- Michal Szymanski (msz@astrouw.edu.pl) Warsaw University Observatory, Warszawa, POLAND