mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r6686: strip the directory path from cups printin defaults
(This used to be commit 8fde2a8060
)
This commit is contained in:
parent
6a3a0766d5
commit
90e9f18c2c
@ -1267,13 +1267,13 @@ static void init_printer_values(service *pService)
|
||||
string_set(&pService->szQueuepausecommand, "");
|
||||
string_set(&pService->szQueueresumecommand, "");
|
||||
#else
|
||||
string_set(&pService->szLpqcommand, "/usr/bin/lpq -P'%p'");
|
||||
string_set(&pService->szLprmcommand, "/usr/bin/lprm -P'%p' %j");
|
||||
string_set(&pService->szPrintcommand, "/usr/bin/lpr -P'%p' %s; rm %s");
|
||||
string_set(&pService->szLpqcommand, "lpq -P'%p'");
|
||||
string_set(&pService->szLprmcommand, "lprm -P'%p' %j");
|
||||
string_set(&pService->szPrintcommand, "lpr -P'%p' %s; rm %s");
|
||||
string_set(&pService->szLppausecommand, "lp -i '%p-%j' -H hold");
|
||||
string_set(&pService->szLpresumecommand, "lp -i '%p-%j' -H resume");
|
||||
string_set(&pService->szQueuepausecommand, "/usr/bin/disable '%p'");
|
||||
string_set(&pService->szQueueresumecommand, "/usr/bin/enable '%p'");
|
||||
string_set(&pService->szQueuepausecommand, "disable '%p'");
|
||||
string_set(&pService->szQueueresumecommand, "enable '%p'");
|
||||
#endif /* HAVE_CUPS */
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user