This section tells you how to use printers you've setup with FreeBSD. Here's an overview of the user-level commands:
lprPrint jobs
lpqCheck printer queues
lprmRemove jobs from a printer's queue
There's also an administrative command, lpc, described in
the section
Administrating the LPD Spooler
, used to control printers and their queues.
All three of the commands lpr, lprm, and lpq
accept an option ``-P printer-name'' to specify on
which printer/queue to operate, as listed in the
/etc/printcap file. This enables you to submit,
remove, and check on jobs for various printers. If you don't
use the -P option, then these commands use the printer
specified in the PRINTER environment variable. Finally, if
you don't have a PRINTER environment variable, these commands
default to the printer named lp.
Hereafter, the terminology default printer means the
printer named in the PRINTER environment variable, or the
printer named lp when there's no PRINTER environment
variable.