lprm(1) Apple Inc. lprm(1)

lprm - cancel print jobs

lprm [ -E ] [ -U username ] [ -h server[:port] ] [ -P destination[/instance] ] [ - ] [ job-id(s) ]

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.

The lprm command supports the following options:

Forces encryption when connecting to the server.
Specifies the destination printer or class.
Specifies an alternate username.
Specifies an alternate server.

The CUPS version of lprm is compatible with the standard Berkeley command of the same name.

Cancel the current job on the default printer:

    lprm

Cancel job 1234:

    lprm 1234

Cancel all jobs:

    lprm -

cancel(1), lp(1), lpq(1), lpr(1), lpstat(1), CUPS Online Help (http://localhost:631/help)

Copyright © 2007-2019 by Apple Inc.

CUPS 26 April 2019