Printer settings and drivers from Samba server

Rick Cochran rick at
Thu Nov 20 15:42:53 GMT 1997


Did you ever get anywhere with this?

I have been working hard on it and have discovered the following:

1. You need to have a 'printer driver = xxx' in your smb.conf entry
for the printer in question:

; chmod 1777 /usr/spool/samba
   printer = osgood
   path = /usr/spool/samba
   comment = Test entry for osgood
   printer driver = IBM 4019 LaserPrinter PS39
   browseable = yes
   printable = yes
   public = no
   writable = no
   create mode = 0700

2. You need to have a 'print$' share containing something or other:

   comment = Printer Drivers
   path = /afs/
   public = no
   writable = no
   browseable = no 

-------- Almost everything below this line is speculation. --------

3. One candidate for the 'something' which needs to go in the 'print$'
share is whatever WinNT puts in its 'print$' share when you share that
printer.  In my case (Unix view):

2/             IBM39523.PPD*  PSCRIPT.GID*   PSCRPTUI.DLL*


Unfortunately, NT still denies all knowledge:

"The server on which the printer resides does not have a suitable
IBM 4019 LaserPrinter PS39 printer driver installed."

However, other NT hosts _can_ access the printer _as reshared by an NT
host_!!  The only explanation I can think of for this (aided by
various hints from various places) is that if an NT host is accessing
a printer shared from another NT host, it will _use_ the driver
provided by the other NT host.  If an NT host is accessing a printer
shared from a non-NT host, it has to _install_ the driver provided by
the non-NT host.

This requires creating a custom '.inf' file for the Samba 'print$'
share.  I haven't tried this yet.

Any further information would be greatly appreciated.  The Samba
documentation is abysmally silent.


|Rick Cochran		  			      phone: 607-255-7223|
|Cornell Materials Science Center			FAX: 607-255-3957|
|E20 Clark Hall, Ithaca, N.Y. 14853	      email: rick at|
| "The Founding Fathers did not establish the United States as a	 |
| democratic republic so that elected officials would decide trivia,	 |
| while all great questions would be decided by the judiciary."		 |
|					Judge Andrew Kleinfeld		 |

More information about the samba mailing list