FN_LOCAL_STRING(lprm_command, lprm_command)
FN_LOCAL_STRING(lppause_command, lppause_command)
FN_LOCAL_STRING(lpresume_command, lpresume_command)
-FN_LOCAL_STRING(queuepausecommand, queuepausecommand)
+FN_LOCAL_STRING(queuepause_command, queuepause_command)
FN_LOCAL_STRING(queueresumecommand, queueresumecommand)
FN_LOCAL_STRING(_printername, _printername)
FN_LOCAL_CONST_STRING(printjob_username, printjob_username)
.lprm_command = NULL,
.lppause_command = NULL,
.lpresume_command = NULL,
- .queuepausecommand = NULL,
+ .queuepause_command = NULL,
.queueresumecommand = NULL,
._printername = NULL,
.printjob_username = NULL,
string_set(&pService->lpq_command, "lpq -P'%p'");
string_set(&pService->lprm_command, "lprm -P'%p' %j");
string_set(&pService->print_command, "lpr -r -P'%p' %s");
- string_set(&pService->queuepausecommand, "lpc stop '%p'");
+ string_set(&pService->queuepause_command, "lpc stop '%p'");
string_set(&pService->queueresumecommand, "lpc start '%p'");
string_set(&pService->lppause_command, "lpc hold '%p' %j");
string_set(&pService->lpresume_command, "lpc release '%p' %j");
string_set(&pService->print_command, "");
string_set(&pService->lppause_command, "");
string_set(&pService->lpresume_command, "");
- string_set(&pService->queuepausecommand, "");
+ string_set(&pService->queuepause_command, "");
string_set(&pService->queueresumecommand, "");
break;
string_set(&pService->lpq_command, "lpstat -o%p");
string_set(&pService->lprm_command, "cancel %p-%j");
string_set(&pService->print_command, "lp -c -d%p %s; rm %s");
- string_set(&pService->queuepausecommand, "disable %p");
+ string_set(&pService->queuepause_command, "disable %p");
string_set(&pService->queueresumecommand, "enable %p");
#ifndef HPUX
string_set(&pService->lppause_command, "lp -i %p-%j -H hold");
tmp = talloc_asprintf(tmp_ctx, "vlp %s queuepause %%p",
tdbfile);
- string_set(&pService->queuepausecommand,
+ string_set(&pService->queuepause_command,
tmp ? tmp : "vlp queuepause %p");
tmp = talloc_asprintf(tmp_ctx, "vlp %s queueresume %%p",
static int generic_queue_pause(int snum)
{
return print_run_command(snum, lp_printername(talloc_tos(), snum), True,
- lp_queuepausecommand(talloc_tos(), snum), NULL, NULL);
+ lp_queuepause_command(talloc_tos(), snum), NULL, NULL);
}
/****************************************************************************