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


General Purpose PostScript Generating Utility

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10.2.5 How Can I Pass Options to `lpr'

How can I tell a2ps to ask lpr no to print the banner?

How can I pass specific options to lp?

If your `Printer:' fields in the configuration files were properly filled (see section 4.5 Your Printers), you can use the variable `lp.options' to pass options to lpr (or lp, depending on your environment):

 
a2ps -Dlp.options="-h -s" -P printer

You can also define `lp.options' once for all, See section 4.9.1 Defining Variables.

Finally, you can use `Printer:' several times to reach a printer with different lpr options.


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