Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

lprm (1)

Name

lprm - cancel print jobs

Synopsis

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

Description

lprm(1)                           Apple Inc.                           lprm(1)



NAME
       lprm - cancel print jobs

SYNOPSIS
       lprm  [  -E  ]  [  -U  username  ]  [  -h server[:port] ] [ -P destina-
       tion[/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:

       -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
       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 -


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | print/cups       |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

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

COPYRIGHT
       Copyright (C) 2007-2019 by Apple Inc.



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source    was    downloaded   from    https://github.com/apple/cups/ar-
       chive/v2.3.3.zip.

       Further information about this software can be found on the open source
       community website at http://www.cups.org/.



26 April 2019                        CUPS                              lprm(1)