# client.conf

The /etc/cups/client.conf and ~/.cups/client.conf files contain up to two directives that determine how the client behaves. Each directive is listed on a line by itself followed by its value. Comments are introduced using the number sign ("#") character at the beginning of a line.

## Encryption

### Examples

    Encryption Never
    Encryption IfRequested
    Encryption Required
    Encryption Always

### Description

The `Encryption` directive specifies the default encryption settings for the client.

The default setting is IfRequested.

## CUPS 1.6/OS X 10.8 GSSServiceName

### Examples

    GSSServiceName http
    GSSServiceName ipp

### Description

The `GSSServiceName` directive sets the Kerberos service name to use. The default is `http` for compatibility with Microsoft Windows.

## ServerName

### Examples

    ServerName foo.bar.com
    ServerName 11.22.33.44
    ServerName foo.bar.com:8631
    CUPS 1.6ServerName foo.bar.com/version=1.1
    CUPS 1.6ServerName foo.bar.com:8631/version=1.1

### Description

The `ServerName` directive specifies sets the remote server that is to be used for all client operations. That is, it redirects all client requests to the remote server.

The default port number is 631 but can be overridden by adding a colon followed by the desired port number to the value.

By default, CUPS 1.6 and later use IPP/2.0 to communicate with the server. Add "/version=1.1" to force IPP/1.1 which is required for CUPS 1.3.12 and earlier.

The default is to use the local server ("localhost") or domain socket, if so configured.

> Note:

> Only one `ServerName` directive may appear. If multiple names are present, only the last one is used. This directive is not supported on OS X 10.7 or later.

## CUPS 1.6/OS X 10.8 User

### Examples

    User joe
    User bob

### Description

The `User` directive sets the user name to use. The default is the username associated with the current login.