cupsenable(8)
π cupsenable(8) π
okay bestie, welcome to the OpenPrinting manual page for cupsenable(8) β yes, that's the glow-up version of your printer's on/off switch and she is iconic. this page also covers her chaotic twin, cupsdisable(8). one starts things, one stops things, both are doing the most. let's get into it π
πΈ NAME πΈ
cupsdisable, cupsenable β stop/start printers and classes
β¨ SYNOPSIS β¨
cupsdisable [ -E ] [ -U username ] [ -c ] [ -h server[:port] ] [ -r reason ] [ --hold ] destination(s)
cupsenable [ -E ] [ -U username ] [ -c ] [ -h server[:port] ] [ --release ] destination(s)
π¦ DESCRIPTION π¦
so here's the tea: cupsenable starts the named printers or classes, and cupsdisable stops the named printers or classes. that's it. that's the whole vibe. one is the hype friend who gets the printer out of bed, the other is the friend who says "girl, take a nap." π΄
π OPTIONS π
the following options may be used:
-Eβ forces encryption of the connection to the server. secure the bag, literally π-U usernameβ uses the specified username when connecting to the server. tell them who you are, main character π-cβ cancels all jobs on the named destination. not just paused β cancelled. gone. periodt π-h server[:port]β uses the specified server and port. talk to a different server, be mysterious π§--holdβ holds remaining jobs on the named printer. useful for allowing the current job to complete before performing maintenance. so the job currently printing gets to finish, and everything queued behind it waits π«Ά-r "reason"β sets the message associated with the stopped state. if no reason is specified then the message is set to"Reason Unknown". (be honest, bestie, just type the reason π)--releaseβ releases pending jobs for printing. use after runningcupsdisablewith the--holdoption to resume printing. the un-pause button π
π CONFORMING TO π
unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". also, printer and class names are not case-sensitive. so yes, she's picky, but she's flexible. it's giving β¨rangeβ¨
the System V versions of these commands are disable and enable, respectively. they have been renamed to avoid conflicts with the bash(1) built-in commands of the same names. (name collision? we don't know her π
)
β οΈ the CUPS versions ofdisableandenablemay ask the user for an access password depending on the printing system configuration. this differs from the System V versions which require the root user to execute these commands. so lowkey, CUPS might just ask for a password instead of making you be root. big deal. no cap.
π SEE ALSO π
cupsaccept(8)cupsreject(8)cancel(1)lp(1)lpadmin(8)lpstat(1)- CUPS Online Help (
http://localhost:631/help)
π COPYRIGHT π
Copyright Β© 2020-2024 by OpenPrinting.
and that's the whole page, bestie π«Ά this was cupsenable(8) from the CUPS crew, dated 2021-02-28 β go forth and start/stop your printers with main character energy. slay πβ¨
π¦ where this page comes from
- alpine 3.22: cups-doc 2.4.18-r0 Β· Apache-2.0
- alpine 3.23: cups-doc 2.4.18-r0 Β· Apache-2.0
- alpine 3.24: cups-doc 2.4.19-r1 Β· Apache-2.0
- centos-stream 10: cups 1:2.4.10-18.el10 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- debian trixie: cups-client 2.4.10-3+deb13u1 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- debian trixie: cups-client 2.4.10-3+deb13u2 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- fedora 43: cups 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 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 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 1:2.4.19-3.fc44 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- nixpkgs unstable: cups 2.4.19
- opensuse-leap 16.0: cups-client 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups-client 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups-client 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups-client 2.4.19-160000.2.1 Β· Apache-2.0
- ubuntu questing: cups-client 2.4.12-0ubuntu3
- ubuntu questing: cups-client 2.4.12-0ubuntu3.10
- ubuntu resolute: cups-client 2.4.16-1ubuntu1 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu resolute: cups-client 2.4.16-1ubuntu1.3 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu stonking: cups-client 2.4.16-1ubuntu3 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- 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