2004-04-07 14:15:11 +04:00
<samba:parameter name= "lpresume command"
context="S"
2015-05-01 00:32:45 +03:00
type="string"
2005-03-13 01:41:20 +03:00
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
2004-04-07 14:15:11 +04:00
<description >
<para > This parameter specifies the command to be
executed on the server host in order to restart or continue
printing or spooling a specific print job.</para>
<para > This command should be a program or script which takes
a printer name and job number to resume the print job. See
2005-07-07 01:23:58 +04:00
also the <smbconfoption name= "lppause command" /> parameter.</para>
2004-04-07 14:15:11 +04:00
<para > If a <parameter moreinfo= "none" > %p</parameter> is given then the printer name
is put in its place. A <parameter moreinfo= "none" > %j</parameter> is replaced with
the job number (an integer).</para>
<para > Note that it is good practice to include the absolute path
in the <parameter moreinfo= "none" > lpresume command</parameter> as the PATH may not
be available to the server.</para>
2005-07-07 01:23:58 +04:00
<para > See also the <smbconfoption name= "printing" /> parameter.</para>
2004-04-07 14:15:11 +04:00
<para > Default: Currently no default value is given
to this string, unless the value of the <parameter moreinfo= "none" > printing</parameter>
2008-02-06 10:57:54 +03:00
parameter is <constant > SYSV</constant> , in which case the default is:</para>
2004-04-07 14:15:11 +04:00
<para > <command moreinfo= "none" > lp -i %p-%j -H resume</command> </para>
<para > or if the value of the <parameter moreinfo= "none" > printing</parameter> parameter
2005-08-25 20:49:40 +04:00
is <constant > SOFTQ</constant> , then the default is:</para>
2004-04-07 14:15:11 +04:00
<para > <command moreinfo= "none" > qstat -s -j%j -r</command> </para>
</description>
2014-01-09 05:22:06 +04:00
<value type= "default" > <comment > determined by printing parameter</comment> </value>
2008-02-06 10:57:54 +03:00
<value type= "example" > /usr/bin/lpalt %p-%j -p2</value>
2004-04-07 14:15:11 +04:00
</samba:parameter>