Next: , Previous: , Up: How Can I ...?   [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 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 Defining Variables).

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