[PATCH] set DefaultSpoolDirectory = "C:\\PRINTERS"

Stefan (metze) Metzmacher metze at metzemix.de
Fri Jul 25 06:46:02 GMT 2003


Hi Jerry,

here's a small patch to setup the DefaultSpoolDirectory for the 
PRINTER_HANDLE_IS_PRINTSERVER case.

I think this doesn't belong to lp_serverstring() !!!

as we return static values for all parameters, I think it's ok to just 
return "C:\\PRINTERS"...

and using
const char *string ="Windows NT x86";

is much better then using;

pstring string = "Windows NT x86"; :-)

I also add the

PRINTER_HANDLE_IS_PRINTSERVER => return WERR_INVALID_PARAM

if the PRINTER_HANDLE_IS_PRINTSERVER case is not implemented...


metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3_0-spool-01.diff
Type: application/octet-stream
Size: 2268 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030725/0f8ee74b/3_0-spool-01.obj


More information about the samba-technical mailing list