Lines Matching defs:printer
91 _file_put_printer(const char *file, const ns_printer_t *printer)
152 if (!((strcmp(printer->name, "all") == 0) &&
153 (printer->attributes == NULL))) {
156 (void) _cvt_printer_to_entry((ns_printer_t *)printer,
164 if (ns_printer_match_name(tmp, printer->name)
194 * Support for writing a printer into the FILES /etc/printers.conf
198 files_put_printer(const ns_printer_t *printer)
202 return (_file_put_printer(file, printer));
206 * Support for writing a printer into the NIS printers.conf.byname
246 nis_put_printer(const ns_printer_t *printer)
289 if (_file_put_printer(lfile, printer) != 0)