summaryrefslogtreecommitdiff
path: root/docs/textdocs
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-10-28 18:15:48 +0000
committerJeremy Allison <jra@samba.org>1997-10-28 18:15:48 +0000
commit1260eff4e125283c8283224e7ca173fe55bae8a5 (patch)
treea032d1a9849e2bf524371a8022883f278d050b24 /docs/textdocs
parentd8e79427c98fdd5eb5a8d57fc6d9b10464fd9882 (diff)
downloadsamba-1260eff4e125283c8283224e7ca173fe55bae8a5.tar.gz
samba-1260eff4e125283c8283224e7ca173fe55bae8a5.tar.bz2
samba-1260eff4e125283c8283224e7ca173fe55bae8a5.zip
Adding printer drivers patch from Jean-Francois Micouleau
<Jean-Francois.Micouleau@utc.fr>. We can expand on this after we have tested it out. Jeremy. (This used to be commit fb81a77a63af2c2d524e5f5166024c34b83a0ea2)
Diffstat (limited to 'docs/textdocs')
-rw-r--r--docs/textdocs/PRINTER_DRIVER.txt74
1 files changed, 74 insertions, 0 deletions
diff --git a/docs/textdocs/PRINTER_DRIVER.txt b/docs/textdocs/PRINTER_DRIVER.txt
new file mode 100644
index 0000000000..d555d89386
--- /dev/null
+++ b/docs/textdocs/PRINTER_DRIVER.txt
@@ -0,0 +1,74 @@
+==========================================================================
+ Supporting the famous PRINTER$ share
+
+ Jean-Francois.Micouleau@utc.fr, 10/26/97
+
+===========================================================================
+
+Disclaimer:
+
+ This ONLY works with Windows 95
+ It does NOT work with Windows NT 4
+
+
+Goal:
+
+ When you click on a samba shared printer, you can now install the driver
+ automatically onto the Windows 95 machine, as you would from an NT server.
+
+How To:
+
+ It's a three step config.
+
+ First, create a new directory, where you will put the driver files, and
+ make a share in smb.conf pointing to it.
+
+ Example:
+
+ [printer$]
+ path=/usr/local/samba/printer
+ public=yes
+ writable=no
+ browseable=yes
+
+ Second, you have to build the list of the drivers required for a specific
+ printer. This is the most complicated thing to do. Get the files
+ 'msprint.inf' and 'msprint2.inf' from Windows 95, the easiest way is to
+ grab them from a working Windows 95 computer. They are usually located
+ in 'c:\windows\inf'. Look in them for the printer you have. Run the new
+ program 'mkprinterdef' with the file name and the printer name as
+ parameters.
+ Example:
+
+ mkprinterdef msprint.def "Apple LaserWriter" >>/usr/local/samba/lib/printers.def
+
+ Copy also all the files into the directory you created in step 1
+
+ Third, you need to add 2 new parameters in smb.conf. One is in the
+ [global] section, called 'driver file' pointing to the file description,
+ and the other in each printer share, called 'driver location' pointing
+ to where the client will get the drivers. Don't forget to set correctly
+ the printer driver parameter to the Windows printer name.
+ Example:
+
+ [global]
+ driver file=/usr/local/samba/lib/printers.def
+
+ [lp]
+ comment = My old printer laser
+ browseable = yes
+ printable = yes
+ public = yes
+ writable = no
+ create mode = 0700
+ printer driver=Apple LaserWriter
+ driver location=\\JOKER\PRINTER$
+
+ JOKER is in my case my computer name, and PRINTER$ is the name of the
+ share created in step one.
+
+
+If it doesn't work for you, don't send flame ! It worked for me. In case of
+trouble don't hesitate to send me a mail with your smb.conf file and
+printers.def
+