Some update and Fixes for typos.
[kai/samba.git] / docs / docbook / smbdotconf / printing / lpqcachetime.xml
1 <samba:parameter xmlns:samba="http://samba.org/common">
2                 <term><anchor id="LPQCACHETIME"/>lpq cache time (G)</term>
3                 <listitem><para>This controls how long lpq info will be cached 
4                 for to prevent the <command moreinfo="none">lpq</command> command being called too 
5                 often. A separate cache is kept for each variation of the <command moreinfo="none">
6                 lpq</command> command used by the system, so if you use different 
7                 <command moreinfo="none">lpq</command> commands for different users then they won't
8                 share cache information.</para>
9
10                 <para>The cache files are stored in <filename moreinfo="none">/tmp/lpq.xxxx</filename> 
11                 where xxxx is a hash of the <command moreinfo="none">lpq</command> command in use.</para>
12
13                 <para>The default is 10 seconds, meaning that the cached results 
14                 of a previous identical <command moreinfo="none">lpq</command> command will be used 
15                 if the cached data is less than 10 seconds old. A large value may 
16                 be advisable if your <command moreinfo="none">lpq</command> command is very slow.</para>
17
18                 <para>A value of 0 will disable caching completely.</para>
19
20                 <para>See also the <link linkend="PRINTING"><parameter moreinfo="none">printing
21                 </parameter></link> parameter.</para>
22
23                 <para>Default: <command moreinfo="none">lpq cache time = 10</command></para>
24                 <para>Example: <command moreinfo="none">lpq cache time = 30</command></para>
25                 </listitem>
26                 </samba:parameter>