Home
last modified time | relevance | path

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

/external/libcups/cups/
Dnotify.c42 *printer_state, /* printer-state */ in cupsNotifySubject() local
62 printer_state = ippFindAttribute(event, "printer-state", IPP_TAG_ENUM); in cupsNotifySubject()
112 else if (printer_uri && printer_name && printer_state) in cupsNotifySubject()
120 switch (printer_state->values[0].integer) in cupsNotifySubject()
/external/libcups/filter/
Dtestclient.c39 ipp_pstate_t printer_state; /* Current printer state */ member
735 ipp_pstate_t printer_state; /* Printer state */ in monitor_printer() local
762 printer_state = (ipp_pstate_t)0; in monitor_printer()
791 printer_state = (ipp_pstate_t)ippGetInteger(attr, 0); in monitor_printer()
796 …if (printer_state != monitor->printer_state || strcmp(printer_state_reasons, monitor->printer_stat… in monitor_printer()
798 …printf("PRINTER: %s (%s)\n", ippEnumString("printer-state", printer_state), printer_state_reasons); in monitor_printer()
800 monitor->printer_state = printer_state; in monitor_printer()