dwww Home | Manual pages | Find package

lprm(1)                           OpenPrinting                          lprm(1)

NAME
       lprm - cancel print jobs

SYNOPSIS
       lprm [ -h hostname[:port] ] [ -E ] [ -U username ] [ -P destination[/in-
       stance] ] [ - ] [ job-id(s) ]

DESCRIPTION
       lprm cancels print jobs that have been queued for printing.  If no argu-
       ments  are  supplied, the current job on the default destination is can-
       celed.  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.

CONFORMING TO
       The  CUPS  version of lprm is compatible with the standard Berkeley com-
       mand 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 © 2020-2024 by OpenPrinting.

2022-05-02                            CUPS                              lprm(1)

Generated by dwww version 1.16 on Sat Oct 3 06:26:03 CEST 2026.