1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 13:42:07 +02:00
tldr/pages/common/cupsctl.md
2023-12-28 12:33:50 -03:00

654 B

cupsctl

Update or query a server's cupsd.conf. More information: https://openprinting.github.io/cups/doc/man-cupsctl.html.

  • Display the current configuration values:

cupsctl

  • Display the configuration values of a specific server:

cupsctl -h {{server[:port]}}

  • Enable encryption on the connection to the scheduler:

cupsctl -E

  • Enable or disable debug logging to the error_log file:

cupsctl {{--debug-logging|--no-debug-logging}}

  • Enable or disable remote administration:

cupsctl {{--remote-admin|--no-remote-admin}}

  • Parse the current debug logging state:

cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'