Retired Documents Library Developer
Search

 

This manual page is for Mac OS X version 10.9

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • To learn how the manual is organized or to learn about command syntax, read the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Developer Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



cupsctl(8)                                       Apple Inc.                                       cupsctl(8)



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  cur-rent current
       rent  configuration  values  are  written  to the standard output in the format "name=value", one per
       line.

OPTIONS
       The following options are recognized:

       -E
            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.

       --[no-]debug-logging
            Enables or disables debug logging in the error_log file.

       --[no-]remote-admin
            Enables or disables remote administration.

       --[no-]remote-any
            Enables or disables printing from any address, 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 from canceling 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),
       http://localhost:631/help

COPYRIGHT
       Copyright 2007-2013 by Apple Inc.



11 January 2013                                     CUPS                                          cupsctl(8)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Feedback