1 <samba:parameter xmlns:samba="http://samba.org/common">
2 <term><anchor id="LPRMCOMMAND"/>lprm command (S)</term>
3 <listitem><para>This parameter specifies the command to be
4 executed on the server host in order to delete a print job.</para>
6 <para>This command should be a program or script which takes
7 a printer name and job number, and deletes the print job.</para>
9 <para>If a <parameter moreinfo="none">%p</parameter> is given then the printer name
10 is put in its place. A <parameter moreinfo="none">%j</parameter> is replaced with
11 the job number (an integer).</para>
13 <para>Note that it is good practice to include the absolute
14 path in the <parameter moreinfo="none">lprm command</parameter> as the PATH may not be
15 available to the server.</para>
17 <para>See also the <link linkend="PRINTING"><parameter moreinfo="none">printing
18 </parameter></link> parameter.</para>
20 <para>Default: <emphasis>depends on the setting of <parameter moreinfo="none">printing
21 </parameter></emphasis></para>
23 <para>Example 1: <command moreinfo="none">lprm command = /usr/bin/lprm -P%p %j
25 <para>Example 2: <command moreinfo="none">lprm command = /usr/bin/cancel %p-%j
26 </command></para></listitem>