Lines Matching refs:printer

53 check_job_id(papi_service_t svc, char *printer, int32_t id)
61 status = papiPrinterListJobs(svc, printer, jattrs, PAPI_LIST_JOBS_ALL,
67 printer, lpsched_status_string(status));
157 "printer-name", &result);
176 create_request(papi_service_t svc, char *printer, papi_attribute_t **attributes)
184 r->destination = printer_name_from_uri_id(printer, -1);
335 * a slow-filter or to the printer's interface script to process
535 papiJobSubmit(papi_service_t handle, char *printer,
552 if ((svc == NULL) || (printer == NULL) || (files == NULL) ||
589 request = create_request(svc, (char *)printer,
611 * through lpsched and be given to the slow-filters and the printer's
654 papiJobSubmitByReference(papi_service_t handle, char *printer,
671 if ((svc == NULL) || (printer == NULL) || (files == NULL) ||
730 request = create_request(svc, (char *)printer,
738 * through lpsched and be given to the slow-filters and the printer's
782 papiJobValidate(papi_service_t handle, char *printer,
796 status = papiJobSubmitByReference(handle, printer,
803 papiJobCancel(handle, printer, id);
813 papiJobStreamOpen(papi_service_t handle, char *printer,
823 if ((svc == NULL) || (printer == NULL) || (stream == NULL))
840 s->request = create_request(svc, (char *)printer,
851 * through lpsched and be given to the slow-filters and the printer's
935 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id,
955 if ((handle == NULL) || (printer == NULL) || (job_id < 0))
958 dest = printer_name_from_uri_id(printer, job_id);
990 papiJobMove(papi_service_t handle, char *printer, int32_t job_id,
1000 if ((svc == NULL) || (printer == NULL) || (job_id < 0) ||
1004 queue = printer_name_from_uri_id(printer, job_id);
1035 papiJobCancel(papi_service_t handle, char *printer, int32_t job_id)
1043 if ((svc == NULL) || (printer == NULL) || (job_id < 0))
1046 dest = printer_name_from_uri_id(printer, job_id);
1077 hold_release_job(papi_service_t handle, char *printer,
1086 if ((svc == NULL) || (printer == NULL) || (job_id < 0))
1092 dest = printer_name_from_uri_id(printer, job_id);
1130 papiJobHold(papi_service_t handle, char *printer, int32_t job_id)
1132 return (hold_release_job(handle, printer, job_id, 0));
1136 papiJobRelease(papi_service_t handle, char *printer, int32_t job_id)
1138 return (hold_release_job(handle, printer, job_id, 1));
1142 papiJobPromote(papi_service_t handle, char *printer, int32_t job_id)
1144 return (hold_release_job(handle, printer, job_id, 2));
1148 papiJobModify(papi_service_t handle, char *printer, int32_t job_id,
1160 if ((svc == NULL) || (printer == NULL) || (job_id < 0) ||
1167 dest = printer_name_from_uri_id(printer, job_id);
1174 job_id_actual = check_job_id(svc, printer, job_id);
1238 papiJobCreate(papi_service_t handle, char *printer,
1251 if ((svc == NULL) || (printer == NULL) || (job == NULL))
1266 request = create_request(svc, (char *)printer,
1277 * through lpsched and be given to the slow-filters and the printer's
1319 papiJobCommit(papi_service_t handle, char *printer, int32_t id)
1327 if ((svc == NULL) || (printer == NULL))
1330 dest = printer_name_from_uri_id(printer, id);
1361 papiJobStreamAdd(papi_service_t handle, char *printer, int32_t id,
1375 dest = printer_name_from_uri_id(printer, id);