lprm1
Cancel print jobs
Usage
lprm [-h
hostname
[:port]]
[-E]
[-U
username]
[-P
destination
[/instance]]
[-]
[job-id(s)]
Overview
lprm cancels print jobs that have been queued for printing. If no arguments are supplied, the current job on the default destination is canceled. You can specify one or more job ID numbers to cancel those jobs or use the - option to cancel all jobs.
Options
The lprm command supports the following options:
-
-E -
Forces encryption when connecting to the server.
-
-P destination[/instance] -
Specifies the destination printer or class.
-
-U username -
Specifies an alternate username.
-
-h server[:port] -
Specifies an alternate server. Note: This option must occur before all others.
Examples
Cancel the current job on the default printer:
lprm
Cancel job 1234:
lprm 1234
Cancel all jobs:
lprm -
Releases
19 releases since Debian 1.1 (Buzz); the text changed 8 times.
-E since Debian 13 (Trixie);
-P since Debian 3.0 (Woody);
-U since Debian 13 (Trixie);
-h since Debian 13 (Trixie).
- until Debian 12 (Bookworm).