Locating the Personal Default Destination
The default destination is located differently depending on the command.
The lp command locates the default destination in the following order:
-
lp command's -d destination option.
-
LPDEST environment variable.
-
PRINTER environment variable.
-
_default destination in $HOME /.printers.
-
_default destination in /etc/printers.conf.
-
_default destination in FNS.
The lpr, lpq, and lprm commands locate the default destination in the
following order:
-
lpr command's -P destination option.
-
PRINTER environment variable.
-
LPDEST environment variable.
-
_default destination in $HOME /.printers.
-
_default destination in /etc/printers.conf.
-
_default destination in FNS.