docs:smbdotconf: make formatting of headers uniform.
[Samba.git] / docs-xml / smbdotconf / printing / defaultdevmode.xml
blobf86de9b52e9684cd433695f5cfb148593c16b8b9
1 <samba:parameter name="default devmode"
2                  context="S"
3                  type="boolean"
4                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
6     <para>This parameter is only applicable to <smbconfoption name="printable"/> services.
7     When smbd is serving Printer Drivers to Windows NT/2k/XP clients, each printer on the Samba
8     server has a Device Mode which defines things such as paper size and
9     orientation and duplex settings.  The device mode can only correctly be
10     generated by the printer driver itself (which can only be executed on a
11     Win32 platform).  Because smbd is unable to execute the driver code
12     to generate the device mode, the default behavior is to set this field
13     to NULL.
14     </para>
16     <para>Most problems with serving printer drivers to Windows NT/2k/XP clients
17     can be traced to a problem with the generated device mode.  Certain drivers
18     will do things such as crashing the client's Explorer.exe with a NULL devmode.
19     However, other printer drivers can cause the client's spooler service
20     (spoolsv.exe) to die if the devmode was not created by the driver itself
21     (i.e. smbd generates a default devmode).
22     </para>
24     <para>This parameter should be used with care and tested with the printer
25     driver in question.  It is better to leave the device mode to NULL
26     and let the Windows client set the correct values.  Because drivers do not
27     do this all the time, setting <command moreinfo="none">default devmode = yes</command>
28     will instruct smbd to generate a default one.
29     </para>
31     <para>For more information on Windows NT/2k printing and Device Modes,
32     see the <ulink url="http://msdn.microsoft.com/">MSDN documentation</ulink>.
33 </para>
34 </description>
36 <value type="default">yes</value>
37 </samba:parameter>