Lines Matching defs:status

55 	papi_status_t status;
61 status = papiPrinterQuery(svc, destination, pattrs, NULL, &p);
62 if (status == PAPI_OK) {
99 verbose_papi_message(svc, status));
111 papi_status_t status;
119 status = papiPrinterPause(svc, destination, "paused via lpc abort");
120 if (status == PAPI_OK) {
125 verbose_papi_message(svc, status));
134 papi_status_t status;
143 status = papiPrinterPurgeJobs(svc, destination, &jobs);
144 if (status != PAPI_OK) {
146 verbose_papi_message(svc, status));
166 papi_status_t status;
174 status = papiPrinterDisable(svc, destination, NULL);
175 if (status != PAPI_OK) {
177 verbose_papi_message(svc, status));
187 papi_status_t status;
195 status = papiPrinterEnable(svc, destination);
196 if (status != PAPI_OK) {
198 verbose_papi_message(svc, status));
219 papi_status_t status;
227 status = papiPrinterResume(svc, destination);
228 if (status != PAPI_OK) {
230 verbose_papi_message(svc, status));
240 papi_status_t status;
248 status = papiPrinterPause(svc, destination, "paused via lpc");
249 if (status != PAPI_OK) {
251 verbose_papi_message(svc, status));
261 papi_status_t status;
272 status = papiJobPromote(svc, destination, id);
273 if (status != PAPI_OK) {
275 verbose_papi_message(svc, status));
308 static char help_status[] = "show status of daemon and queue";
332 { "status", lpc_status, help_status, 1 },
401 papi_status_t status = PAPI_OK;
406 status = papiServiceCreate(&svc, printer, NULL, NULL,
408 if (status != PAPI_OK) {
411 printer, verbose_papi_message(svc, status));
415 if (status == PAPI_OK)
427 papi_status_t status;
432 status = papiServiceCreate(&svc, NULL, NULL, NULL, NULL,
434 if (status != PAPI_OK) {
436 verbose_papi_message(svc, status));