2 !== PRINTER_DRIVER.txt for Samba release 1.9.18alpha10 02 Nov 1997
4 ==========================================================================
5 Supporting the famous PRINTER$ share
7 Jean-Francois.Micouleau@utc.fr, 10/26/97
9 ===========================================================================
13 This ONLY works with Windows 95
14 It does NOT work with Windows NT 4
19 When you click on a samba shared printer, you can now install the driver
20 automatically onto the Windows 95 machine, as you would from an NT server.
24 It's a three step config.
26 First, create a new directory, where you will put the driver files, and
27 make a share in smb.conf pointing to it.
32 path=/usr/local/samba/printer
37 Second, you have to build the list of the drivers required for a specific
38 printer. This is the most complicated thing to do. Get the files
39 'msprint.inf' and 'msprint2.inf' from Windows 95, the easiest way is to
40 grab them from a working Windows 95 computer. They are usually located
41 in 'c:\windows\inf'. Look in them for the printer you have. Run the new
42 program 'mkprinterdef' with the file name and the printer name as
46 mkprinterdef msprint.def "Apple LaserWriter" >>/usr/local/samba/lib/printers.def
48 Copy also all the files into the directory you created in step 1
50 Third, you need to add 2 new parameters in smb.conf. One is in the
51 [global] section, called 'printer driver file' pointing to the file description,
52 and the other in each printer share, called 'printer driver location' pointing
53 to where the client will get the drivers. Don't forget to set correctly
54 the printer driver parameter to the Windows printer name.
58 printer driver file=/usr/local/samba/lib/printers.def
61 comment = My old printer laser
67 printer driver=Apple LaserWriter
68 printer driver location=\\JOKER\PRINTER$
70 JOKER is in my case my computer name, and PRINTER$ is the name of the
71 share created in step one.
74 If it doesn't work for you, don't send flame ! It worked for me. In case of
75 trouble don't hesitate to send me a mail with your smb.conf file and