lprm(1)                          Apple Inc.                          lprm(1)

NAME         top

       lprm - cancel print jobs

SYNOPSIS         top

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

DESCRIPTION         top

       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         top

       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.

CONFORMING TO         top

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

EXAMPLES         top

       Cancel the current job on the default printer:


       Cancel job 1234:

           lprm 1234

       Cancel all jobs:

           lprm -

SEE ALSO         top

       cancel(1), lp(1), lpq(1), lpr(1), lpstat(1), CUPS Online Help

COPYRIGHT         top

       Copyright © 2007-2017 by Apple Inc.

COLOPHON         top

       This page is part of the CUPS (a standards-based, open source
       printing system) project.  Information about the project can be found
       at ⟨⟩.  If you have a bug report for this manual
       page, see ⟨⟩.  This page was obtained from the
       project's upstream Git repository ⟨⟩ on
       2017-09-15.  If you discover any rendering problems in this HTML ver‐
       sion of the page, or you believe there is a better or more up-to-date
       source for the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original man‐
       ual page), send a mail to

22 May 2014                         CUPS                             lprm(1)

Pages that refer to this page: cups(1)lp(1)lpoptions(1)lpq(1)lpr(1)lpstat(1)lpc(8)lpmove(8)