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