.TH route "" "" Command
.PC "Show or reset a user's default printer"
\fBroute [\fIprinter\^\fB]\fR
.PP
The command
.B route
shows or resets your default printer.
When invoked without an argument, it displays your default printer,
plus a list of available alternative printers.
When invoked with the argument
.IR printer ,
it changes your default printer to that printer.
.I printer
must name a printer that has been described to the spooler by the command
.BR lpadmin .
.PP
Note that this feature is an extension to the version of
.B lp
that is included with \*(UN System V.
.SH "See Also"
.Xr "commands," commands
.Xr "lp," lp
.Xr "lpadmin," lpadmin
.Xr "printer" printer
.SH Notes
.B route
is unique to the MLP implementation of the
.B lp
spooler.
Scripts that use it will not be portable to other implementations of
.BR lp .
.PP
.B route
is a link to
.BR lpstat .
