Previous Topic: Override an attribute value in an attributes fileNext Topic: Submit and hold a job


Specify the AOPOPTIONS environment variable

To set the AOPOPTIONS environment variable to your address, add a line like this one to your .profile file:

export AOPOPTIONS="address-text={'13 Division St.''Foxboro, MA 02035'}"

Until you reset the AOPOPTIONS environment variable, every lp command you enter includes this value.

Example:

This command:

lp myfile.ps

is equivalent to:

lp -o "address-text={'13 Division St.'
'Foxboro, MA02035'}" myfile.ps

Because the lp command reads the value of the AOPOPTIONS environment variable before the options you specify on the command line, you can override the values of this variable. For example, if you want a single job delivered to a different address, enter:

lp -o "address-text={'999 Eclipse Alley'
'Pawtucket, RI 02860'}" myfile.ps