<smbconfoption name="path">/var/spool/samba-special</smbconfoption>
<smbconfoption name="printing">sysv</smbconfoption>
<smbconfoption name="printcap">lpstat</smbconfoption>
- <smbconfoption name="print command">echo "NEW: `date`: printfile %f" \</smbconfoption>
- <member><parameter> >> /tmp/smbprn.log ; \</parameter></member>
- <member><parameter>echo " `date`: p-%p s-%s f-%f" >> /tmp/smbprn.log ; \</parameter></member>
- <member><parameter>echo " `date`: j-%j J-%J z-%z c-%c" >> /tmp/smbprn.log ; rm %f</parameter></member>
+ <smbconfoption name="print command">echo "NEW: `date`: printfile %f" >> /tmp/smbprn.log ; echo " `date`: p-%p s-%s f-%f" >> /tmp/smbprn.log ; echo " `date`: j-%j J-%J z-%z c-%c" >> /tmp/smbprn.log ; rm %f </smbconfoption>
<smbconfoption name="public">no</smbconfoption>
<smbconfoption name="guest ok">no</smbconfoption>
<smbconfoption name="writable">no</smbconfoption>
<smbconfcomment>members of the ntadmin group should be able to add drivers and set</smbconfcomment>
<smbconfcomment>printer properties. root is implicitly always a 'printer admin'.</smbconfcomment>
<smbconfoption name="printer admin">@ntadmin</smbconfoption>
-<member>...</member>
<smbconfsection name="[printers]"/>
-<member>...</member>
<smbconfsection name="[print$]"/>
<smbconfoption name="comment">Printer Driver Download Area</smbconfoption>
<smbconfoption name="path">/etc/samba/drivers</smbconfoption>
</xsl:template>
<xsl:template match="smbconfblock">
- <xsl:text> \begin{lstlisting}[language=smbconf] </xsl:text>
+ <xsl:text> \begin{lstlisting}[language=smbconf,style=smbconfblock] </xsl:text>
<xsl:apply-templates/>
<xsl:text>\end{lstlisting} </xsl:text>
</xsl:template>
morecomment=[l]{\#},
}
-\lstset{backgroundcolor=\color{lightgray},frame=single,}
+\newcommand{\linebreaksign}{\hbox{\ensuremath\hookleftarrow}}
+
+\lstdefinestyle{smbconfblock}
+{
+ breaklines=true,
+ backgroundcolor=\color{lightgray},
+ frame=single,
+ frameround=tttt,
+ prebreak={\space\linebreaksign}
+}
+
\newcommand{\smbconfsection}[1]{\emph{#1}}
\newcommand{\smbconfoption}[1]{\index{#1}\emph{#1}}