Printer Driver Managment

THIBADEAU,DAN (HP-Roseville,ex1) dan_thibadeau at hp.com
Fri Dec 7 12:42:04 GMT 2001


I have a few questions concerning driver managment in Samba.

	1) Can you delete a driver once added into Samba?  How?

	2) How do you tell the difference between a Windows NT and 2000
driver?  They all have an <arch> type of "Windows NT x86" that I can tell.
When using "rpcclient adddriver" command how do you set it as NT or 2000?

	3) I notice that when I use "rppclient enumdrivers 3" that the full
path for each file is given (ie: \\MYSERVER\print$\MS32X86\2\hpblgf0.dll).
Do the files HAVE to reside on the local Samba server?  In other words, does
"MYSERVER" have to be the local host?  or can you setup a single "driver
server" and have all your Samba print servers point the clients to that
server for driver files?

	4) Has anyone made a script/program that will query a Windows/Samba
print server and download/install all drivers/shares on that server?  I'm
beginning a Perl script to do it, but would rather not re-invent the wheel
if someone has already done it.

	5) More of a comment:  I noticed that "enumdrivers 3" works fine on
a Windows print server, but on a Samba server returns the error:

	rpc_api_pipe: cmd 26 on pipe 701e failed to return data.
	result was NT_STATUS_UNSUCCESSFUL

	6) What is "Defaultdatatype"?  When I look at a Windows print
server, some return "NULL" some return "RAW".  How do I know what to set it
at without looking how a Windows server installed the driver?

Thanks in advance,

Dan Thibadeau




More information about the samba mailing list