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