Name

lprm

Synopsis

lprm [options] [jobnum]

Removes a print job from the print spool queue. You must specify a job number or numbers, which can be obtained from lpq. Used with no arguments, lprm removes the current job. Part of the Common Unix Printing System (CUPS).

Options

-E

Force an encrypted connection if supported by the print server.

-P printer

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

-

Remove all jobs in the spool.

Get Mac OS X Tiger in a Nutshell 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.