Lines Matching refs:printer
72 static int getprintcap_int(char *_bp, struct printer *_pp);
86 * Read the printcap database for printer `printer' into the
87 * struct printer pointed by `pp'. Return values are as for
97 getprintcap(const char *printer, struct printer *pp)
107 XXX = (char *)printer;
149 firstprinter(struct printer *pp, int *error)
171 nextprinter(struct printer *pp, int *error)
213 * Also attempt to figure out the canonical name of the printer
214 * and store a malloced copy of it in pp->printer.
217 getprintcap_int(char *bp, struct printer *pp)
223 if ((pp->printer = capdb_canonical_name(bp)) == 0)
273 * Decide if the remote printer name matches the local printer name.
276 * this printer.
312 return "printer not found";
323 * Initialize a `struct printer' to contain values harmless to
327 init_printer(struct printer *pp)
329 static struct printer zero;
334 * Free the dynamically-allocated strings in a `struct printer'.
338 free_printer(struct printer *pp)
342 cfree(pp->printer);