Lines Matching refs:printer_state
890 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()
930 if (printer_state.printer_reasons[i] == PRINT_STATUS_MAX_STATE) { in _job_thread()
933 blocked_reasons |= (LONG_ONE << printer_state.printer_reasons[i]); in _job_thread()
961 job_result = (((printer_state.printer_status & ~PRINTER_IDLE_BIT) == in _job_thread()