Name
lprm — stdin stdout - file -- opt --help --version
Synopsis
lprm [options
] [job_IDs
]
The lprm
(line printer
remove) command cancels one or more print jobs. Use lpq
to learn the ID of the desired print
jobs (say, 61 and 78), then type:
➜ lprm -P printername
61 78
If you don’t supply any job IDs, your current print job is
canceled. (Only the superuser can cancel other users’ jobs.) The
-P
option specifies which print
queue to process.
Get Macintosh Terminal Pocket Guide 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.