lprm(1)

πŸ“¦
version 2.4.19 Β· 2 versions
, in centos-stream 10, fedora 43, fedora 44

πŸ’… 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:


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