lprm(1)
π lprm β the OpenPrinting girlie's guide to cancelling print jobs β¨
okay bestie, welcome to lprm(1) β the manual page for lprm, and yes, she is that girl. This is the OpenPrinting era of the classic tool, so let's get into it π
πΈ NAME πΈ
lprm β cancel print jobs. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
lprm [ -h hostname[:port] ] [ -E ] [ -U username ] [ -P
destination[/instance] ] [ - ] [ job-id(s) ]
lowkey iconic formatting, ngl π¦
π DESCRIPTION π
so like. lprm cancels print jobs that have been queued for printing. no more waiting behind that 200-page PDF your roommate sent, we are freeing the queue ποΈ
if you give her no arguments at all, she cancels the current job on the default destination. simple. clean. demure.
but wait, there's more (there's always more) β you can hand her one or more job ID numbers to cancel those specific jobs, or you can hit her with the - option to cancel ALL the jobs. nuclear. slay. π
π OPTIONS π
the lprm command supports the following options, and bestie we are listing every single one, no skipping π
ββοΈ
-Eβ forces encryption when connecting to the server. secure the bag π-P destination[/instance]β specifies the destination printer or class. tell her where the drama is happening π¨οΈ-U usernameβ specifies an alternate username</slate>. you're allowed to be someone else today, main character behaviour π-h server[:port]β specifies an alternate server.
β οΈ ok listen up because this one MATTERS: Note: this option must occur before all others. like, -h goes FIRST. if you put her anywhere else she's not gonna behave. first. periodt. π
π§ CONFORMING TO π§
the CUPS version of lprm is compatible with the standard Berkeley command of the same name. so yes, your muscle memory still works, we're just doing it with β¨styleβ¨ now π
π EXAMPLES π
cancel the current job on the default printer:
lprm
cancel job 1234:
lprm 1234
cancel all jobs:
lprm -
see how easy? three lines, three moods, all of them valid π«Ά
πΈ SEE ALSO πΈ
go read these next besties, they're all in the group chat:
cancel(1)lp(1)lpq(1)lpr(1)lpstat(1)- CUPS Online Help (<http://localhost:631/help>) β yes, that's the actual URL, run it locally, iykyk π
π COPYRIGHT π
Copyright Β© 2020-2024 by OpenPrinting. π©·
and that's the page, bestie!! written up on 2022-05-02 and shipped with CUPS β lprm(1), cancelled jobs, cancelled drama, iconic as always. mwah πβ¨
π¦ where this page comes from
- centos-stream 10: cups-client 1:2.4.10-18.el10 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 43: cups-client 1:2.4.14-2.fc43 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 43: cups-client 1:2.4.14-2.fc43 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 43: cups-client 1:2.4.19-3.fc43 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups-client 1:2.4.16-7.fc44 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups-client 1:2.4.16-7.fc44 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups-client 1:2.4.19-3.fc44 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- Copyright Β© 2020-2024 by OpenPrinting
- Copyright Β© 2007-2019 by Apple Inc
- Copyright Β© 1997-2006 by Easy Software Products
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms