Name

lprm

Synopsis

    lprm [options] [jobid]

Remove a print job from the print spool queue. You must specify a job number or numbers, which can be obtained from lpq. Only a privileged user may remove files belonging to another user.

On Solaris, this is the original BSD interface, in /usr/ucb/lprm; see lprm(1B) for more information. This entry documents the CUPS version, which is used on GNU/Linux and Mac OS X. See also lpr.

Options

-E

Encrypt the connection to the server.

-P printer

Specify printer queue. Normally, the default printer or printer specified in the PRINTER environment variable is used.

-

Cancel all jobs.

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.