lprm man page for CUPS.

Copyright © 2007-2019 by Apple Inc.
Copyright © 1997-2006 by Easy Software Products.

Licensed under Apache License v2.0. See the file "LICENSE" for more
information.

lprm 1 "CUPS" "26 April 2019" "Apple Inc."
NAME
lprm - cancel print jobs
SYNOPSIS
lprm [ -E ] [ -U username ] [ -h server [ :port ] ] [ -P destination [ /instance ] ] [ - ] [ job-id(s) ]
DESCRIPTION
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:

5 -E Forces encryption when connecting to the server.

5 -P destination[/instance] Specifies the destination printer or class.

5 -U username Specifies an alternate username.

5 -h server[:port] Specifies an alternate server.

CONFORMING TO
The CUPS version of lprm is compatible with the standard Berkeley command of the same name.
EXAMPLES
Cancel the current job on the default printer:

 lprm

Cancel job 1234:

 lprm 1234

Cancel all jobs:

 lprm -
SEE ALSO
cancel (1), lp (1), lpq (1), lpr (1), lpstat (1), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright \[co] 2007-2019 by Apple Inc.