8.1.1.4. Removing jobs from the print queue
If you don't like what you see from the status commands, use
lprm or cancel to
delete jobs.
In the graphical environment, you may see a popup window telling
you that the job has been canceled.
In larger environments, lpc may be used
to control multiple printers. See the Info or man pages on each command.
There are many GUI print tools used as a front-end to lp, and most graphical applications have a print
function that uses lp. See the built-in Help
functions and program specific documentation for more.
|
Why are there two commands for
every task related to printing? |
|
Printing on UNIX and alikes has a long history. There used to be
two rather different approaches: the BSD-style printing and the
SystemV-style printing. For compatibility, Linux with CUPS supports
the commands from both styles. Also note that lp does not behave exactly like lpr, lpq has somewhat
different options than lpstat and lprm is almost, but not quite, like cancel. Which one you use is not important, just pick
the commands that you are comfortable with, or that you may know
from previous experiences with UNIX-like systems.
|