[Samba] Samba Print Problem (Everything Looks Right)

Brian White bcwhite at precidia.com
Mon May 22 23:21:47 GMT 2006


I'm trying to get Samba to print with CUPS and the universal postscript 
driver.  I've followed the HOWTO at

http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html

(a truely great work, IMO).  However, I cannot get a WinXP or Win2K 
machine to automatically install the driver when I double-click on the 
printer after browsing the share.

I've done everything up to and including step #10.  I can use 
"rpcclient" and see the driver installed.

The only difference I see is that "cupsaddsmb" (v1.2) put the driver 
(cups-windows v6.0) under the "3" subdirectory instead of the "2" directory.

   titan:/var/log/samba$ rpcclient -Ubcwhite%secret -c 'getdriver Doyle' 
share

[Windows NT x86]
Printer Driver Info 3:
         Version: [3]
         Driver Name: [Doyle]
         Architecture: [Windows NT x86]
         Driver Path: [\\SHARE\print$\W32X86\3\pscript5.dll]
         Datafile: [\\SHARE\print$\W32X86\3\Doyle.ppd]
         Configfile: [\\SHARE\print$\W32X86\3\ps5ui.dll]
         Helpfile: [\\SHARE\print$\W32X86\3\pscript.hlp]

         Dependentfiles: [\\SHARE\print$\W32X86\3\cupsui6.dll]
         Dependentfiles: [\\SHARE\print$\W32X86\3\cupsps6.dll]
         Dependentfiles: [\\SHARE\print$\W32X86\3\cups6.ini]
         Dependentfiles: [\\SHARE\print$\W32X86\3\pscript.ntf]
         Dependentfiles: [\\SHARE\print$\W32X86\3\pscript.hlp]
         Dependentfiles: [\\SHARE\print$\W32X86\3\ps5ui.dll]
         Dependentfiles: [\\SHARE\print$\W32X86\3\Doyle.ppd]
         Dependentfiles: [\\SHARE\print$\W32X86\3\pscript5.dll]

         Monitorname: []
         Defaultdatatype: [RAW]

Not only that, I've connected with smbclient and retrieve one of those 
files back to my hard drive (always as "bcwhite"), so I know they exist 
and are readable.

I've tried setting the sambal "log level" to 65535 and examing the logs. 
  I can't even see it making any reference to the "print$" share.

[print$]
	comment = Printer Drivers
	path = /etc/samba/drivers
	browseable = yes
	guest ok = no
	read only = yes
	write list = admin

Any ideas?  Thanks!

                                           Brian
                                  ( bcwhite at precidia.com )

-------------------------------------------------------------------------------
           Until we are first independent, we cannot be interdependent.


More information about the samba mailing list