Lines Matching refs:op
35 static void do_printer_op(http_t *http, const char *printer, ipp_op_t op,
55 const char *op; /* Operation to perform, if any */
69 op = cgiGetVariable("OP");
109 if (!op || !cgiIsPOST())
151 if (!*op)
165 else if (!strcmp(op, "start-printer"))
168 else if (!strcmp(op, "stop-printer"))
171 else if (!strcmp(op, "accept-jobs"))
173 else if (!strcmp(op, "reject-jobs"))
175 else if (!strcmp(op, "purge-jobs"))
177 else if (!_cups_strcasecmp(op, "print-self-test-page"))
180 else if (!_cups_strcasecmp(op, "clean-print-heads"))
183 else if (!_cups_strcasecmp(op, "print-test-page"))
185 else if (!_cups_strcasecmp(op, "move-jobs"))
194 cgiCopyTemplateLang("error-op.tmpl");
205 cgiCopyTemplateLang("error-op.tmpl");
230 ipp_op_t op, /* I - Operation to perform */
247 request = ippNewRequest(op);
288 if (op == IPP_PAUSE_PRINTER)
290 else if (op == IPP_RESUME_PRINTER)
292 else if (op == CUPS_ACCEPT_JOBS)
294 else if (op == CUPS_REJECT_JOBS)
296 else if (op == IPP_PURGE_JOBS)