/*
- * "$Id: accept.c 7221 2008-01-16 22:20:08Z mike $"
+ * "$Id: accept.c 7929 2008-09-10 22:23:59Z mike $"
*
* "accept", "disable", "enable", and "reject" commands for the Common
* UNIX Printing System (CUPS).
cancel = 0;
- if (!strcmp(command, "accept"))
+ if (!strcmp(command, "cupsaccept") || !strcmp(command, "accept"))
op = CUPS_ACCEPT_JOBS;
- else if (!strcmp(command, "reject"))
+ else if (!strcmp(command, "cupsreject") || !strcmp(command, "reject"))
op = CUPS_REJECT_JOBS;
else if (!strcmp(command, "cupsdisable") || !strcmp(command, "disable"))
op = IPP_PAUSE_PRINTER;
/*
- * End of "$Id: accept.c 7221 2008-01-16 22:20:08Z mike $".
+ * End of "$Id: accept.c 7929 2008-09-10 22:23:59Z mike $".
*/