(a2ps.info)Configuration Files
4 Configuration Files
*********************
a2ps reads several files before the command line options. In the order,
they are:
1. the system configuration file (usually '/usr/local/etc/a2ps.cfg')
unless you have defined the environment variable 'A2PS_CONFIG', in
which case a2ps reads the file it points to;
2. the user's home configuration file ('$HOME/.a2ps/a2psrc')
3. the local file ('./.a2psrc')
Because a2ps needs architecture dependent information (such as the
local 'lpr' command) and architecture independent information (such as
the type of your printers), users have found useful that 'a2ps.cfg' be
dedicated to architecture dependent information. A sub configuration
file, 'a2ps-site.cfg' (Note: Including Configuration Files) is
included from 'a2ps.cfg'.
The file 'a2ps.cfg' is updated when you update a2ps, while
'a2ps-site.cfg' is not, to preserve local definitions.
In the configuration files, empty lines and lines starting with '#'
are comments.
The other lines have all the following form:
TOPIC: ARGUMENTS
where TOPIC: is a keyword related to what you are customizing, and
ARGUMENTS the customization. ARGUMENTS may be spread on several lines,
provided that the last character of a line to continue is a '\'.
In the following sections, each TOPIC: is detailed.
- Including Configuration Files
- Isolating site specific values
- Your Library Path
- Setting the files search path
- Your Default Options
- Default state of a2ps
- Your Media
- Sheets dimensions
- Your Printers
- How to access the printers
- Your Shortcuts
- Your very own command line options
- Your PostScript magic number
- Handling very old printers
- Your Page Labels
- Page names as in 'Ghostview'
- Your Variables
- Short cut for long sequences
- Your Delegations
- Delegating some files to other filters
- Your Internal Details
- Details you might want to tune
automatically generated by info2www version 1.2.2.9