xref: /aosp_15_r20/external/libcups/man/cupsctl.8 (revision 5e7646d21f1134fb0638875d812ef646c12ab91e)

cupsctl man page for CUPS.

Copyright © 2007-2019 by Apple Inc.
Copyright © 2007 by Easy Software Products.

Licensed under Apache License v2.0. See the file "LICENSE" for more
information.

cupsctl 8 "CUPS" "26 April 2019" "Apple Inc."
NAME
cupsctl - configure cupsd.conf options
SYNOPSIS
cupsctl [ -E ] [ -U username ] [ -h server[:port] ] [ --[no-]debug-logging ] [ --[no-]remote-admin ] [ --[no-]remote-any ] [ --[no-]share-printers ] [ --[no-]user-cancel-any ] [ name=value ]
DESCRIPTION
cupsctl updates or queries the cupsd.conf file for a server. When no changes are requested, the current configuration values are written to the standard output in the format "name=value", one per line.
OPTIONS
The following options are recognized:

5 -E Enables encryption on the connection to the scheduler.

5 -U username Specifies an alternate username to use when authenticating with the scheduler.

5 -h server[:port] Specifies the server address.

5 --[no-]debug-logging Enables (disables) debug logging to the error_log file.

5 --[no-]remote-admin Enables (disables) remote administration.

5 --[no-]remote-any Enables (disables) printing from any address, e.g., the Internet.

5 --[no-]share-printers Enables (disables) sharing of local printers with other computers.

5 --[no-]user-cancel-any Allows (prevents) users to cancel jobs owned by others.

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 the Listen or Port directives using cupsctl.
SEE ALSO
cupsd.conf (5), cupsd (8),

CUPS Online Help (http://localhost:631/help)

COPYRIGHT
Copyright \[co] 2007-2019 by Apple Inc.