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