From dc2d1544b3718dce5b3d7d91989b3cc5abfdef6b Mon Sep 17 00:00:00 2001 From: Jean-François Micouleau Date: Wed, 5 Apr 2000 10:05:32 +0000 Subject: changed all the status code to ERROR_xxx instead of NT_STATUS_xx which are wrong in the spoolss case. fxed a bug in the job notify code (that's the polite answer), the truth is different: there is a bug in the NT spooler service, including SP6a and NT2K. changed the default lpcommand in the LPRNG case. J.F. (This used to be commit 396f73c11b29a47650b3243fef0825252a3cef9b) --- source3/param/loadparm.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index e0cf808b57..5f948f78a4 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1090,11 +1090,20 @@ static void init_locals(void) { case PRINT_BSD: case PRINT_AIX: + string_set(&sDefault.szLpqcommand,"lpq -P%p"); + string_set(&sDefault.szLprmcommand,"lprm -P%p %j"); + string_set(&sDefault.szPrintcommand,"lpr -r -P%p %s"); + break; + case PRINT_LPRNG: case PRINT_PLP: string_set(&sDefault.szLpqcommand,"lpq -P%p"); string_set(&sDefault.szLprmcommand,"lprm -P%p %j"); string_set(&sDefault.szPrintcommand,"lpr -r -P%p %s"); + string_set(&sDefault.szQueuepausecommand, "lpc stop %p"); + string_set(&sDefault.szQueueresumecommand, "lpc start %p"); + string_set(&sDefault.szLppausecommand, "lpc hold %p %j"); + string_set(&sDefault.szLpresumecommand, "lpc release %p %j"); break; case PRINT_CUPS: -- cgit