1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00
samba-mirror/docs/smbdotconf/printing/deleteprintercommand.xml
Jelmer Vernooij acee25664c Update DTD location
(This used to be commit 889dfcc532bd3357314313fe8f70a022a174eef4)
2008-04-23 08:46:19 -05:00

37 lines
1.6 KiB
XML

<samba:parameter name="deleteprinter command"
context="G"
type="string"
advanced="1" developer="1"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>With the introduction of MS-RPC based printer
support for Windows NT/2000 clients in Samba 2.2, it is now
possible to delete printer at run time by issuing the
DeletePrinter() RPC call.</para>
<para>For a Samba host this means that the printer must be
physically deleted from underlying printing system. The <parameter moreinfo="none">
deleteprinter command</parameter> defines a script to be run which
will perform the necessary operations for removing the printer
from the print system and from <filename moreinfo="none">smb.conf</filename>.
</para>
<para>The <parameter moreinfo="none">deleteprinter command</parameter> is
automatically called with only one parameter: <parameter moreinfo="none">
&quot;printer name&quot;</parameter>.</para>
<para>Once the <parameter moreinfo="none">deleteprinter command</parameter> has
been executed, <command moreinfo="none">smbd</command> will reparse the <filename moreinfo="none">
smb.conf</filename> to associated printer no longer exists.
If the sharename is still valid, then <command moreinfo="none">smbd
</command> will return an ACCESS_DENIED error to the client.</para>
</description>
<related>addprinter command</related>
<related>printing</related>
<related>show add printer wizard</related>
<value type="default"></value>
<value type="example">/usr/bin/removeprinter</value>
</samba:parameter>