lprm
TLDR
Cancel all jobs
$ lprm -
Cancel specific job$ lprm [job_id]
Cancel jobs on printer$ lprm -P [printer] -
Cancel user's jobs$ lprm [username]
Cancel job by ID on printer$ lprm -P [printer] [job_id]
SYNOPSIS
lprm [options] [job]
DESCRIPTION
lprm removes print jobs from the queue. It cancels pending or processing jobs.
The tool is the BSD-style job removal command. Users can only remove their own jobs unless root.
lprm cancels print jobs.
PARAMETERS
JOB
Job ID or "-" for all.-P PRINTER
Specify printer.-E
Force encryption.-U USER
Specify username.--help
Display help information.
CAVEATS
Requires CUPS. Users limited to own jobs. May not stop printing in progress.
HISTORY
lprm originated in BSD Unix for removing print jobs, now implemented by CUPS.


