docs:smbdotconf: remove swat-specific flags.
[Samba.git] / docs-xml / smbdotconf / printing / addportcommand.xml
blob8a44a975443f8e573fdc6ede5de9d73cc603ee07
1 <samba:parameter name="addport command"
2                  context="G"
3                                  type="string"
4                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
6     <para>Samba 3.0.23 introduced support for adding printer ports
7         remotely using the Windows &quot;Add Standard TCP/IP Port Wizard&quot;.
8         This option defines an external program to be executed when
9         smbd receives a request to add a new Port to the system.
10         The script is passed two parameters:</para>
11                 
12     <itemizedlist>
13         <listitem><para><parameter moreinfo="none">port name</parameter></para></listitem>
14         <listitem><para><parameter moreinfo="none">device URI</parameter></para></listitem>
15     </itemizedlist>
16                 
17     <para>The deviceURI is in the format of socket://&lt;hostname&gt;[:&lt;portnumber&gt;]
18         or lpd://&lt;hostname&gt;/&lt;queuename&gt;.</para>
19 </description>
21 <related>enum ports command</related>
23 <value type="default"></value>
24 <value type="example">/etc/samba/scripts/addport.sh</value>
25 </samba:parameter>