Lines Matching refs:printer
30 * a printer object.
75 _cvt_printer_to_entry(ns_printer_t *printer, char *buf, int buflen)
82 if ((printer == NULL) || (printer->attributes == NULL))
85 if (snprintf(buf, buflen, "%s", printer->name) >= buflen) {
91 if ((printer->aliases != NULL) && (printer->aliases[0] != NULL)) {
92 char **alias = printer->aliases;
109 for (i = 0; printer->attributes[i] != NULL && bufferok; i++) {
110 ns_kvp_t *kvp = printer->attributes[i];
147 ns_printer_t *printer = NULL;
163 printer = (ns_printer_t *)ns_printer_create(
168 printer);
204 (void) ns_set_value_from_string(key, buf, printer);
206 return (printer);