Lines Matching refs:printer
49 fprintf(stdout, "Usage: %s [-u user] (printer|request-id ...)\n", name);
85 char *printer = printers[i];
87 status = papiServiceCreate(&svc, printer, NULL, NULL,
93 printer, verbose_papi_message(svc, status));
96 exit_code = berkeley_cancel_request(svc, stdout, printer, 1,
140 char *printer = NULL;
147 (void) get_printer_id(av[c], &printer, &id);
148 status = papiServiceCreate(&svc, printer, NULL,
154 printer,
160 printer = av[c];
173 rid = job_to_be_queried(svc, printer, id);
182 printer, id, gettext("not-found"));
184 status = papiJobCancel(svc, printer, rid);
194 fprintf(OUT, "%s-%d: %s\n", printer, id, mesg);
197 } else { /* it's a printer */
200 /* Remove first job from printer */
202 status = papiPrinterListJobs(svc, printer,
207 "ListJobs %s: %s\n"), printer,
217 printer, id);
235 printer, rid, mesg);
238 printer, id, mesg);
245 encryption, printer);