Home
last modified time | relevance | path

Searched refs:printer_state (Results 1 – 4 of 4) sorted by relevance

/packages/services/BuiltInPrintService/jni/ipphelper/
Dipphelper.h79 printer_state_dyn_t *printer_state_dyn, ipp_pstate_t *printer_state);
84 extern void get_PrinterStateReason(ipp_t *response, ipp_pstate_t *printer_state,
Dippstatus_monitor.c152 ipp_pstate_t printer_state; in _get_status() local
186 &printer_state); in _get_status()
Dipphelper.c292 printer_state_dyn_t *printer_state_dyn, ipp_pstate_t *printer_state) { in get_PrinterState() argument
311 if (printer_state) { in get_PrinterState()
312 *printer_state = IPP_PRINTER_STOPPED; in get_PrinterState()
331 get_PrinterStateReason(response, printer_state, printer_state_dyn); in get_PrinterState()
343 void get_PrinterStateReason(ipp_t *response, ipp_pstate_t *printer_state, in get_PrinterStateReason() argument
357 *printer_state = printer_ippstate; in get_PrinterStateReason()
/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c890 printer_state_dyn_t printer_state; in _job_thread() local
893 jq->status_ifc->get_status(jq->status_ifc, &printer_state); in _job_thread()
894 status = printer_state.printer_status & ~PRINTER_IDLE_BIT; in _job_thread()
903 printer_state.printer_status = PRINT_STATUS_IDLE; in _job_thread()
906 && printer_state.printer_reasons[0] == PRINT_STATUS_UNKNOWN) { in _job_thread()
908 printer_state.printer_status = PRINT_STATUS_IDLE; in _job_thread()
910 && ((printer_state.printer_reasons[0] == PRINT_STATUS_UNABLE_TO_CONNECT) in _job_thread()
911 || (printer_state.printer_reasons[0] == PRINT_STATUS_OFFLINE))) { in _job_thread()
919 } else if (printer_state.printer_status & PRINTER_IDLE_BIT) { in _job_thread()
922 printer_state.printer_status = PRINT_STATUS_IDLE; in _job_thread()
[all …]