lpc(8)

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

πŸ’… lpc(8) β€” the line printer control program (deprecated bestie, sorry)

okay so this is lpc, from the OpenPrinting manual, section 8. she's a legacy girlie and we're gonna talk about her anyway πŸŽ€


✨ SYNOPSIS ✨

lpc [ command [ parameter(s) ] ]

🌸 DESCRIPTION 🌸

so like, lpc gives you limited control over printer and class queues that are provided by CUPS. limited!! that word is doing heavy lifting, bestie, don't skip it. πŸ’€

she can also be used to query the state of queues, which is honestly her main character moment.

and here's the cute part: if you don't specify any command on the command-line, lpc displays a prompt and just... accepts commands from standard input. interactive queen. she's chatting with you directly. 🫢


πŸŽ€ COMMANDS πŸŽ€

so lpc accepts a subset of the commands that the Berkeley lpc program of the same name accepts. subset, okay? not the whole thing. just these:

  • exit β€” exits the command interpreter. bye bestie πŸ‘‹
  • help [command]
  • ? [command] β€” displays a short help message. short!! don't expect a novel. ✨
  • quit β€” exits the command interpreter. (yes she has two ways to leave, she's dramatic like that πŸ’…)
  • status [queue] β€” displays the status of one or more printer or class queues. this is the one you actually came here for ngl πŸ‘‘

⚠️ NOTES ⚠️

this program is deprecated and will be removed in a future feature release of CUPS. like, fr fr. she's on her way out. 😭

and also β€” this is important, so pay attention:

since lpc is geared towards the Berkeley printing system, it is impossible to use lpc to configure printer or class queues provided by CUPS. like, genuinely not a thing she can do. πŸ™ˆ

to configure printer or class queues you must use the lpadmin(8) command, or another CUPS-compatible client that has that functionality. that's the move. that's the vibe. 🌈


πŸ‘€ SEE ALSO πŸ‘€

cancel(1), cupsaccept(8), cupsenable(8), lp(1), lpadmin(8), lpr(1), lprm(1), lpstat(1), CUPS Online Help (http://localhost:631/help)


Copyright Β© 2020-2024 by OpenPrinting.


and that's the whole page, babe β€” this was the lpc(8) entry from the CUPS gang at OpenPrinting, dated 2021-02-28. go configure your queues with lpadmin(8) instead, ily, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from