Lines Matching defs:printer
28 /* $Id: printer.c 146 2006-03-24 00:26:54Z njacobs $ */
40 papiPrinterFree(papi_printer_t printer)
42 printer_t *tmp = printer;
117 "printer-attributes-group", &op);
139 papi_printer_t *printer)
146 if ((svc == NULL) || (name == NULL) || (printer == NULL))
154 if ((*printer = p = calloc(1, sizeof (*p))) == NULL)
177 "printer-attributes-group", &op);
207 "printer-message-from-operator", message);
211 "printer-state-message", message);
256 * there is no IPP create operation, the set-printer-attibutes operation
258 * a printer and set attributes if there is none.
262 papi_attribute_t **attributes, papi_printer_t *printer)
264 return (papiPrinterModify(handle, name, attributes, printer));
269 papi_attribute_t **attributes, papi_printer_t *printer)
276 if ((svc == NULL) || (name == NULL) || (printer == NULL))
284 if ((*printer = p = calloc(1, sizeof (*p))) == NULL)
296 "printer-attributes-group", attributes);
302 "printer-attributes-group", &op);
421 papiPrinterGetAttributeList(papi_printer_t printer)
424 printer_t *p = printer;