Merge from Subversion r50.
[ira/wip.git] / docs / docbook / faq / printing.sgml
1 <chapter id="FAQ-Printing">
2 <chapterinfo>
3 <author>
4         <firstname>Ronan</firstname><surname>Waide</surname>
5 </author>
6 </chapterinfo>
7
8 <title>Printing problems</title>
9
10 <sect1>
11 <title>setdriver or cupsaddsmb failes</title>
12 <para>
13 setdriver expects the following setup:
14
15 <simplelist>
16 <member>you are a printer admin, or root. this is the smb.conf printer admin group, not the Printer Operators group in NT. I've not tried the latter, but I don't believe it will work based on the current code.</member>
17 <member>printer admins has to be defined in [global]</member>
18 <member>upload the driver files to \\server\print$\w32x86 and win40 as appropriate. DON'T put them in the 0 or 2 subdirectories.</member>
19 <member>Make sure that the user you're connecting as is able to write to the print$ directories</member>
20 <member>Use adddriver (with appropriate parameters) to create the driver. note, this will not just update samba's notion of drivers, it will also move the files from the w32x86 and win40 directories to an appropriate subdirectory (based on driver version, I think, but not important enough for me to find out)</member>
21 <member>Use setdriver to associate the driver with a printer</member>
22 </simplelist>
23 </para>
24
25 <para>
26 The setdriver call will fail if the printer doesn't already exist in
27 samba's view of the world. Either create the printer in cups and
28 restart samba, or create an add printer command (see smb.conf doco)
29 and use RPC calls to create a printer. NB the add printer command MUST
30 return a single line of text indicating which port the printer was
31 added on. If it doesn't, Samba won't reload the printer
32 definitions. Although samba doesn't really support the notion of
33 ports, suitable add printer command and enumport command settings can
34 allow you pretty good remote control of the samba printer setup.
35 </para>
36 </sect1>
37 </chapter>