docs:smbdotconf: make formatting of headers uniform.
[Samba.git] / docs-xml / smbdotconf / printing / addportcommand.xml
blob7a35c5266d92ab5ddeff03aab0fe4ca01f89b439
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>