Previous Topic: Send files to an e-mail destinationNext Topic: Exit values


Environment variables

The lp command uses these environment variables:

LPDHOST

Names the default TCP/IP host to use to connect to CA LPD or CA Spool.

LPDPORT

Specifies the default TCP/IP port to be used to connect to CA LPD or
CA Spool.

LPDEST

Names the default printer. This variable takes precedence over PRINTER.

PRINTER

Names the default printer if LPDEST is not defined.

AOPOPTIONS

Specifies a string of attributes and values that the lp command includes before the values of the -o option.

AOPPATH

Defines the directory path that the lp command searches for attributes files. The default is your current directory. If the directory where an attributes file resides is not included in the value of AOPPATH, you can specify the file by its absolute path name.