# lprm(1)

## Name

lprm - cancel print jobs

## Synopsis

lprm [ -E ] [ -U username ] [ -h server[:port] ] [ -P destination[/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 cancelled. 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.

## Compatibility

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

## See Also

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

## Copyright

Copyright 2007-2011 by Apple Inc.