summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-01-03 05:22:35 +0000
committerHerb Lewis <herb@samba.org>1998-01-03 05:22:35 +0000
commit974b6b0f4c21fe504b278d45bc1543280e9cb449 (patch)
tree65e5584ed8a0a48965306452f67c5c42f39765e6
parent153a95a33852a1e7b4c9ff1f6e67798cfa493073 (diff)
downloadsamba-974b6b0f4c21fe504b278d45bc1543280e9cb449.tar.gz
samba-974b6b0f4c21fe504b278d45bc1543280e9cb449.tar.bz2
samba-974b6b0f4c21fe504b278d45bc1543280e9cb449.zip
added description of changes I made
(This used to be commit 6b8f8005f2e04665ceefe4ad98587617ff2666d0)
-rw-r--r--docs/textdocs/PRINTER_DRIVER.txt24
1 files changed, 20 insertions, 4 deletions
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)
+
+<Long Printer Name>:<Driver File Name>:<Data File Name>:<Help File Name>:
+<Language Monitor Name>:<Default Data Type>:<Comma Separated list of Files>
+
+The <Help File Name> and the <Language Monitor Name> can be empty.
+If no <Driver File Name> or <Data File Name> are specified in the inf file,
+these will default to the section name for the printer.