cupsctl(8)
π cupsctl β configure cupsd.conf options
okay bestie, welcome to cupsctl, the lil command from the OpenPrinting CUPS era that lets you poke at your server's cupsd.conf without, like, opening the file and having a whole crisis. it lives in section 8 of the manual, so yeah, it's a system-admin girlie. π
β¨ SYNOPSIS β¨
cupsctl [ -h server[:port] ] [ -E ] [ -U username ] [
--[no-]debug-logging ] [ --[no-]remote-admin ] [ --[no-]remote-any ] [
--[no-]share-printers ] [ --[no-]user-cancel-any ] [ name=value ]
πΈ DESCRIPTION πΈ
so here's the tea: cupsctl updates or queries the cupsd.conf file for a server. that's it, that's the job. π«Ά
and if you ask for no changes at all? it just reads back the current configuration values and writes them to standard output, formatted as "name=value", one per line. it's giving "let me check the vibe before I touch anything." π
π OPTIONS π
these are the flags we recognize, no more no less:
-Eβ turns on encryption for the connection to the scheduler. secure girlie behavior. π-Uusernameβ lets you pick an alternate username to use when authenticating with the scheduler.-hserver[:port]β specifies the server address.
β οΈ note: this option must occur before all others. it's the main character, it goes first, periodt.
--[no-]debug-loggingβ enables (or disables) debug logging to theerror_logfile. π--[no-]remote-adminβ enables (or disables) remote administration.--[no-]remote-anyβ enables (or disables) printing from any address, like, e.g., the Internet. π--[no-]share-printersβ enables (or disables) sharing of local printers with other computers.--[no-]user-cancel-anyβ allows (or prevents) users to cancel jobs owned by others. bestie said "I'll cancel your print job and I won't apologize." π
π EXAMPLES π
display the current settings:
cupsctl
enable debug logging:
cupsctl --debug-logging
get the current debug logging state:
cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'
disable printer sharing:
cupsctl --no-share-printers
π KNOWN ISSUES π
you cannot set theListenorPortdirectives usingcupsctl. nope. not happening. not today. π
π¦ SEE ALSO π¦
cupsd.conf(5)cupsd(8)- CUPS Online Help (
http://localhost:631/help)
π COPYRIGHT π
Copyright Β© 2020-2024 by OpenPrinting.
and that's the whole page, bestie π β brought to you by CUPS, dated 2022-05-02. go forth and configure responsibly, iykyk. β¨πΈ
π¦ 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 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups 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 Β© 2007 by Easy Software Products
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms