Lines Matching refs:printer_state
750 printer_state_dyn_t printer_state;
753 jq->status_ifc->get_status(jq->status_ifc, &printer_state);
754 status = printer_state.printer_status & ~PRINTER_IDLE_BIT;
758 printer_state.printer_status = PRINT_STATUS_IDLE;
763 if (printer_state.printer_reasons[0] == PRINT_STATUS_UNKNOWN) {
766 printer_state.printer_status = PRINT_STATUS_IDLE;
771 if ((printer_state.printer_reasons[0] == PRINT_STATUS_UNABLE_TO_CONNECT)
772 || (printer_state.printer_reasons[0] == PRINT_STATUS_OFFLINE)) {
779 if (printer_state.printer_status & PRINTER_IDLE_BIT) {
782 printer_state.printer_status = PRINT_STATUS_IDLE;
791 if (printer_state.printer_reasons[i] ==
795 blocked_reasons |= (1 << printer_state.printer_reasons[i]);
828 job_result = (((printer_state.printer_status & ~PRINTER_IDLE_BIT) ==