summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-04-05 10:05:32 +0000
committerJean-François Micouleau <jfm@samba.org>2000-04-05 10:05:32 +0000
commitdc2d1544b3718dce5b3d7d91989b3cc5abfdef6b (patch)
tree943671b591d88264640a7904caee961881516b1c /source3/param
parent6fc9ba3df70dc357c782c1e74e7675b3e6748c40 (diff)
downloadsamba-dc2d1544b3718dce5b3d7d91989b3cc5abfdef6b.tar.gz
samba-dc2d1544b3718dce5b3d7d91989b3cc5abfdef6b.tar.bz2
samba-dc2d1544b3718dce5b3d7d91989b3cc5abfdef6b.zip
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)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c9
1 files changed, 9 insertions, 0 deletions
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: