Home OS X
OS X Syntax

lprm

Cancel print jobs that have been queued for printing.

SYNTAX
      lprm [ -E ] [ - ] [ -P destination ] [ job ID(s) ]

OPTIONS
  
  -P   The destination printer or class.

  -    You can specify one or more job ID numbers to cancel
       those jobs, or use the - option to cancel all jobs.
 
  -E   Force encryption when connecting to the server.

If no arguments are supplied, the current job on the default destination is cancelled.

"Because I could not stop for Death -
He kindly stopped for me
The carriage held but just ourselves -
And Immortality..." - Emily Dickinson

Related commands:

enable - Stop or start printers and classes.
lpc - Line printer control program
lpr - Print files
lpstat - Printer status information
cancel - cancel print
lp - print files
lpstat - printer status information

Equivalent BASH command:

lprm - Print files



Back to the Top

Simon Sheppard
SS64.com