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

Stefan (metze) Metzmacher metze at metzemix.de
Mon Jul 28 05:38:16 GMT 2003


At 08:29 25.07.2003 -0500, Gerald (Jerry) Carter wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Fri, 25 Jul 2003, Stefan (metze) Metzmacher wrote:
>
> > 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...
>
>Looks good to me.  Applying it.

thanks



metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de> 




More information about the samba-technical mailing list