]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/help/ref-client-conf.html
The ipptool program now supports EXPECT statements for collection member
[thirdparty/cups.git] / doc / help / ref-client-conf.html
CommitLineData
ef416fc2 1<HTML>
2<!-- SECTION: References -->
3<HEAD>
4 <TITLE>client.conf</TITLE>
178cb736 5 <LINK REL="STYLESHEET" TYPE="text/css" HREF="../cups-printable.css">
ef416fc2 6</HEAD>
7<BODY>
8
178cb736
MS
9<H1 CLASS="title">client.conf</H1>
10
89d46774 11<P>The <VAR>/etc/cups/client.conf</VAR> and
12<VAR>~/.cups/client.conf</VAR> files contain up to two directives
13that determine how the client behaves. Each directive is listed
14on a line by itself followed by its value. Comments are
15introduced using the number sign ("#") character at the beginning
16of a line.</P>
ef416fc2 17
89d46774 18<H2 CLASS="title"><A NAME="Encryption">Encryption</A></H2>
ef416fc2 19
89d46774 20<H3>Examples</H3>
ef416fc2 21
89d46774 22<PRE CLASS="command">
ef416fc2 23Encryption Never
24Encryption IfRequested
25Encryption Required
26Encryption Always
89d46774 27</PRE>
28
29<H3>Description</H3>
ef416fc2 30
89d46774 31<P>The <CODE>Encryption</CODE> directive specifies the default
32encryption settings for the client.</P>
ef416fc2 33
89d46774 34<P>The default setting is <VAR>IfRequested</VAR>.</P>
ef416fc2 35
36
f3c17241 37<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.6/OS X 10.8</SPAN><A NAME="GSSServiceName">GSSServiceName</A></H2>
dcb445bc
MS
38
39<H3>Examples</H3>
40
41<PRE CLASS="command">
42GSSServiceName http
43GSSServiceName ipp
44</PRE>
45
46<H3>Description</H3>
47
48<P>The <CODE>GSSServiceName</CODE> directive sets the Kerberos service name to use. The default is <CODE>http</CODE> for compatibility with Microsoft Windows.</P>
49
50
89d46774 51<H2 CLASS="title"><A NAME="ServerName">ServerName</A></H2>
ef416fc2 52
89d46774 53<H3>Examples</H3>
ef416fc2 54
89d46774 55<PRE CLASS="command">
ef416fc2 56ServerName foo.bar.com
57ServerName 11.22.33.44
f7deaa1a 58ServerName foo.bar.com:8631
3699c637
MS
59<SPAN CLASS="info">CUPS 1.6</SPAN>ServerName foo.bar.com/version=1.1
60<SPAN CLASS="info">CUPS 1.6</SPAN>ServerName foo.bar.com:8631/version=1.1
89d46774 61</PRE>
ef416fc2 62
89d46774 63<H3>Description</H3>
ef416fc2 64
f7deaa1a 65<P>The <CODE>ServerName</CODE> 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.</P>
ef416fc2 66
f7deaa1a 67<P>The default port number is 631 but can be overridden by adding a colon followed by the desired port number to the value.</P>
68
3699c637
MS
69<P>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.</P>
70
f7deaa1a 71<P>The default is to use the local server ("<VAR>localhost</VAR>") or domain socket, if so configured.</P>
ef416fc2 72
dcb445bc
MS
73<BLOCKQUOTE><B>Note:</B>
74<P>Only one <CODE>ServerName</CODE> directive may appear. If multiple names are
f3c17241 75present, only the last one is used. This directive is not supported on OS X 10.7 or later.</P>
dcb445bc
MS
76</BLOCKQUOTE>
77
3e7fe0ca 78
f3c17241 79<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.6/OS X 10.8</SPAN><A NAME="User">User</A></H2>
3e7fe0ca
MS
80
81<H3>Examples</H3>
82
83<PRE CLASS="command">
84User joe
85User bob
86</PRE>
87
88<H3>Description</H3>
89
90<P>The <CODE>User</CODE> directive sets the user name to use. The default is the username associated with the current login.</P>
91
92
ef416fc2 93</BODY>
94</HTML>