Some update and Fixes for typos.
[kai/samba.git] / docs / docbook / smbdotconf / printing / lpresumecommand.xml
1 <samba:parameter xmlns:samba="http://samba.org/common">
2                 <term><anchor id="LPRESUMECOMMAND"/>lpresume command (S)</term>
3                 <listitem><para>This parameter specifies the command to be 
4                 executed on the server host in order to restart or continue 
5                 printing or spooling a specific print job.</para>
6
7                 <para>This command should be a program or script which takes 
8                 a printer name and job number to resume the print job. See 
9                 also the <link linkend="LPPAUSECOMMAND"><parameter moreinfo="none">lppause command
10                 </parameter></link> parameter.</para>
11
12                 <para>If a <parameter moreinfo="none">%p</parameter> is given then the printer name 
13                 is put in its place. A <parameter moreinfo="none">%j</parameter> is replaced with 
14                 the job number (an integer).</para>
15                 
16                 <para>Note that it is good practice to include the absolute path 
17                 in the <parameter moreinfo="none">lpresume command</parameter> as the PATH may not 
18                 be available to the server.</para>
19                 
20                 <para>See also the <link linkend="PRINTING"><parameter moreinfo="none">printing
21                 </parameter></link> parameter.</para>
22
23                 <para>Default: Currently no default value is given 
24                 to this string, unless the value of the <parameter moreinfo="none">printing</parameter> 
25                 parameter is <constant>SYSV</constant>, in which case the default is :</para>
26
27                 <para><command moreinfo="none">lp -i %p-%j -H resume</command></para>
28
29                 <para>or if the value of the <parameter moreinfo="none">printing</parameter> parameter 
30                 is <constant>SOFTQ</constant>, then the default is:</para>
31
32                 <para><command moreinfo="none">qstat -s -j%j -r</command></para>
33  
34                 <para>Example for HPUX: <command moreinfo="none">lpresume command = /usr/bin/lpalt 
35                 %p-%j -p2</command></para>
36                 </listitem>
37                 </samba:parameter>