s3 libaddns: Prevent a crash when dns_create_update fails
[Samba/gebeck_regimport.git] / docs-xml / smbdotconf / printing / lprmcommand.xml
blob0b8375f94d9835724c2f828a6636f7c052a03be4
1 <samba:parameter name="lprm command"
2                  context="S"
3                                  type="string"
4                                  print="1"
5                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <description>
7     <para>This parameter specifies the command to be 
8     executed on the server host in order to delete a print job.</para>
10     <para>This command should be a program or script which takes 
11     a printer name and job number, and deletes the print job.</para>
13     <para>If a <parameter moreinfo="none">%p</parameter> is given then the printer name 
14     is put in its place. A <parameter moreinfo="none">%j</parameter> is replaced with 
15     the job number (an integer).</para>
17     <para>Note that it is good practice to include the absolute 
18     path in the <parameter moreinfo="none">lprm command</parameter> as the PATH may not be 
19     available to the server.</para>
21         <para>
22         Examples of use are:
23 <programlisting>
24 lprm command = /usr/bin/lprm -P%p %j
28 lprm command = /usr/bin/cancel %p-%j
29 </programlisting>
30         </para>
32 </description>
33 <related>printing</related>
35 <value type="default"> determined by printing parameter</value>
36 </samba:parameter>