From 974b6b0f4c21fe504b278d45bc1543280e9cb449 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Sat, 3 Jan 1998 05:22:35 +0000 Subject: added description of changes I made (This used to be commit 6b8f8005f2e04665ceefe4ad98587617ff2666d0) --- docs/textdocs/PRINTER_DRIVER.txt | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/textdocs/PRINTER_DRIVER.txt b/docs/textdocs/PRINTER_DRIVER.txt index a2a3bed595..0f60a4717d 100644 --- a/docs/textdocs/PRINTER_DRIVER.txt +++ b/docs/textdocs/PRINTER_DRIVER.txt @@ -1,10 +1,11 @@ !== -!== PRINTER_DRIVER.txt for Samba release 1.9.18alpha14 24 Dec 1997 +!== PRINTER_DRIVER.txt for Samba release 1.9.18alpha15 and later !== ========================================================================== Supporting the famous PRINTER$ share Jean-Francois.Micouleau@utc.fr, 10/26/97 + modified by herb@sgi.com 1/2/98 =========================================================================== @@ -45,7 +46,8 @@ How To: mkprinterdef msprint.def "Apple LaserWriter" >>/usr/local/samba/lib/printers.def - Copy also all the files into the directory you created in step 1 + The program will print out a list of required files to stderr. + Copy all the files listed 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 'printer driver file' pointing to the file description, @@ -65,9 +67,9 @@ How To: writable = no create mode = 0700 printer driver=Apple LaserWriter - printer driver location=\\JOKER\PRINTER$ + printer driver location=\\%h\PRINTER$ - JOKER is in my case my computer name, and PRINTER$ is the name of the + %h will expand to the computer name, and PRINTER$ is the name of the share created in step one. @@ -75,3 +77,17 @@ 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 + +******* added by herb@sgi.com + +For those of you who like to know the details, and in case I have guessed +wrong on some of the fields - The following is the format of the entries +in the printers.def file: (entries are 1 single line - they are split here +for readability) + +:::: +:: + +The and the can be empty. +If no or are specified in the inf file, +these will default to the section name for the printer. -- cgit