Lines Matching refs:printer_state
834 printer_state_dyn_t printer_state; in _job_thread() local
837 jq->status_ifc->get_status(jq->status_ifc, &printer_state); in _job_thread()
838 status = printer_state.printer_status & ~PRINTER_IDLE_BIT; in _job_thread()
847 printer_state.printer_status = PRINT_STATUS_IDLE; in _job_thread()
850 && printer_state.printer_reasons[0] == PRINT_STATUS_UNKNOWN) { in _job_thread()
852 printer_state.printer_status = PRINT_STATUS_IDLE; in _job_thread()
854 && ((printer_state.printer_reasons[0] == PRINT_STATUS_UNABLE_TO_CONNECT) in _job_thread()
855 || (printer_state.printer_reasons[0] == PRINT_STATUS_OFFLINE))) { in _job_thread()
863 } else if (printer_state.printer_status & PRINTER_IDLE_BIT) { in _job_thread()
866 printer_state.printer_status = PRINT_STATUS_IDLE; in _job_thread()
874 if (printer_state.printer_reasons[i] == PRINT_STATUS_MAX_STATE) { in _job_thread()
877 blocked_reasons |= (1 << printer_state.printer_reasons[i]); in _job_thread()
905 job_result = (((printer_state.printer_status & ~PRINTER_IDLE_BIT) == in _job_thread()