diff options
Diffstat (limited to 'docs/Samba3-HOWTO/TOSHARG-CUPS-printing.xml')
-rw-r--r-- | docs/Samba3-HOWTO/TOSHARG-CUPS-printing.xml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/docs/Samba3-HOWTO/TOSHARG-CUPS-printing.xml b/docs/Samba3-HOWTO/TOSHARG-CUPS-printing.xml index cd96ba60ab..12f797c84a 100644 --- a/docs/Samba3-HOWTO/TOSHARG-CUPS-printing.xml +++ b/docs/Samba3-HOWTO/TOSHARG-CUPS-printing.xml @@ -156,8 +156,9 @@ libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000) To summarize, <link linkend="cups-exam-simple">following example</link> shows simplest printing-related setup for &smb.conf; to enable basic CUPS support: </para> - <para><smbconfexample id="cups-exam-simple"> + <example id="cups-exam-simple"> <title>Simplest printing-related smb.conf</title> + <smbconfblock> <smbconfsection name="[global]"/> <smbconfoption name="load printers">yes</smbconfoption> <smbconfoption name="printing">cups</smbconfoption> @@ -173,7 +174,8 @@ libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000) <smbconfoption name="printable">yes</smbconfoption> <smbconfoption name="printer admin">root, @ntadmins</smbconfoption> - </smbconfexample></para> + </smbconfblock> + </example> <para> This is all you need for basic printing setup for CUPS. It will print @@ -203,8 +205,9 @@ libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000) up differently. </para> - <para><smbconfexample id="overridesettings"> + <example id="overridesettings"> <title>Overriding global CUPS settings for one printer</title> + <smbconfblock> <smbconfsection name="[global]"/> <smbconfoption name="printing">cups</smbconfoption> <smbconfoption name="printcap name">cups</smbconfoption> @@ -235,7 +238,8 @@ libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000) <smbconfoption name="printer admin">kurt</smbconfoption> <smbconfoption name="hosts deny">0.0.0.0</smbconfoption> <smbconfoption name="hosts allow">turbo_xp, 10.160.50.23, 10.160.51.60</smbconfoption> - </smbconfexample></para> + </smbconfblock> + </example> <para> This special share is only there for testing purposes. It does not write the print job to a file. It just logs the job parameters @@ -2475,8 +2479,9 @@ Prior to running <command>cupsaddsmb</command>, you need the settings in &smb.conf; as shown in <link linkend="cupsadd-ex">the next example</link>: </para> -<para><smbconfexample id="cupsadd-ex"> +<example id="cupsadd-ex"> <title>smb.conf for cupsaddsmb usage</title> +<smbconfblock> <smbconfsection name="[global]"/> <smbconfoption name="load printers">yes</smbconfoption> <smbconfoption name="printing">cups</smbconfoption> @@ -2499,7 +2504,8 @@ Prior to running <command>cupsaddsmb</command>, you need the settings in <smbconfoption name="guest ok">no</smbconfoption> <smbconfoption name="read only">yes</smbconfoption> <smbconfoption name="write list">root</smbconfoption> -</smbconfexample></para> +</smbconfblock> +</example> </sect2> <sect2> |