Linux Commands Examples

A great documentation place for Linux commands


configure cupsd.conf options

see also : cupsd


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 ]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!



Display the current settings:

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

sudo cupsctl WebInterface=yes


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.


The following options are recognized:


Enables encryption on the connection to the scheduler.

-U username

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

-h server[:port]

Specifies the server address.


Enables or disables debug logging in the error_log file.


Enables or disables remote administration.


Enables or disables printing from any address, e.g. the Internet.


Enables or disables sharing of local printers with other computers.


Allows or prevents users from canceling jobs owned by others.


Copyright 2007-2013 by Apple Inc.

known issues

You cannot set the Listen or Port directives using cupsctl.

see also

cupsd .conf, cupsd,

How can this site be more helpful to YOU ?

give  feedback