Next: , Previous: , Up: Configuration Files   [Contents][Index]


4.6 Your Shortcuts

You can define some kind of ‘Macro Options’ which stand for a set of options.

Configuration Setting: UserOption: shortcut options...

Define the shortcut to be the list of options.... When a2ps is called with ‘-=shortcut’ (or ‘--user-option=shortcut’), consider the list of options....

Examples are

# This emulates a line printer: no features at all
# call a2ps -=lp to use it
UserOption: lp -1m --pretty-print=plain -B --borders=no

# When printing mail, I want to use the right style sheet with strong
# highlight level, and stripping `useless' headers.
UserOption: mail -Email -g --strip=1