www.delorie.com/gnu/docs/a2ps/a2ps_40.html   search  
Buy GNU books!

General Purpose PostScript Generating Utility

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [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

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003