(Optional) Become superuser, lp, or assume an equivalent role if you are going to cancel print requests of other users.
Cancel a print request from a specific user.
$ cancel -u user-list [printer-name] |
The following example shows how to cancel all the print requests submitted by the user george on the printer luna.
# cancel -u george luna request "luna-23" cancelled |
The following example shows how to cancel all the print requests submitted by the user george on all printers.
# cancel -u george request "asteroid-3" cancelled request "luna-8" cancelled |