Home
last modified time | relevance | path

Searched refs:printer_types (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dgetprinter.c142 prp->printer_types = getlist(NAME_UNKNOWN, LP_WS, LP_SEP); in getprinter()
248 ppp = &(prp->printer_types); in getprinter()
341 if (!prp->printer_types) in getprinter()
342 prp->printer_types = getlist(NAME_UNKNOWN, LP_WS, LP_SEP); in getprinter()
349 lenlist(prp->printer_types) > 1 in getprinter()
367 lenlist(prp->printer_types) > 1 in getprinter()
368 && searchlist(NAME_UNKNOWN, prp->printer_types) in getprinter()
381 for (pp = prp->printer_types; *pp; pp++) { in getprinter()
399 prp->printer_type = Strdup(*prp->printer_types); in getprinter()
H A Dputprinter.c392 char **printer_types; in putprinter() local
399 if (prbufp->printer_type && !prbufp->printer_types) in putprinter()
400 printer_types = getlist( in putprinter()
406 printer_types = prbufp->printer_types; in putprinter()
408 if (!printer_types || !*printer_types) in putprinter()
411 print_l(fdout, HEAD, printer_types); in putprinter()
413 if (printer_types != prbufp->printer_types) in putprinter()
414 freelist (printer_types); in putprinter()
H A Dfreeprinter.c82 if (pp->printer_types)
83 freelist (pp->printer_types);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dpickfilter.c271 if (!STREQU(*(pps->printer->printer_types), NAME_UNKNOWN)) in pickfilter()
272 valid_printer_types = pc->printer_types; in pickfilter()
324 pc->printer_type = Strdup(*(pc->printer_types)); in pickfilter()
384 *(pc->printer_types), in pickfilter()
390 pc->printer_type = Strdup(*(pc->printer_types)); in pickfilter()
H A Dvalidate.c884 pc->printer_types = 0; in _chkopts()
885 for (pt = pc->pps->printer->printer_types; *pt; pt++) { in _chkopts()
890 addlist (&(pc->printer_types), *pt); in _chkopts()
898 addlist(&(pc->printer_types), *pt); in _chkopts()
902 if (!pc->printer_types) in _chkopts()
984 if (pc->printer_types) { in free_candidate()
985 freelist (pc->printer_types); in free_candidate()
986 pc->printer_types = 0; in free_candidate()
H A Ddisp2.c42 untidbit_all (char **printer_types) in untidbit_all() argument
46 for (pl = printer_types; *pl; pl++) in untidbit_all()
92 untidbit_all (op->printer_types); in s_load_printer()
93 untidbit_all (pp->printer_types); in s_load_printer()
H A Dvalidate.h52 char ** printer_types; member
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dgetfilter.c84 flbuf.printer_types = typel_to_sl(pf->printer_types);
H A Dputfilter.c70 _flbuf.printer_types = sl_to_typel(flbufp->printer_types);
H A Dfreefilter.c103 freelist (pf->printer_types);
128 freetypel (pf->printer_types);
H A Ddumpfilters.c87 pty = pf->printer_types; in dumpfilters()
H A Dloadfilters.c117 pf->printer_types = sl_to_typel(list); in loadfilters()
H A Dinsfilter.c251 pf->printer_types))
/illumos-gate/usr/src/cmd/lp/include/
H A Dfilters.h78 char ** printer_types; /* list of valid printer types */ member
121 TYPE * printer_types; member
H A Dprinters.h113 char **printer_types; /* Terminfo look-up values */ member
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpfilter.c343 flbuf.printer_types = getlist(p, LP_WS, LP_SEP);
448 pf->printer_types = 0;
482 ps->printer_types = flbuf.printer_types;
787 pp = pf->printer_types;
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-printers.c217 "lpsched-printer-type", tmp->printer_types); in lpsched_printer_configuration_to_attributes()
485 "lpsched-printer-types", &tmp->printer_types); in attributes_to_printer()
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_printer.c329 T = prbufp->printer_types; in configure_printer()
567 prbufp->printer_types = T; in configure_printer()
H A Dchkopts.c437 T = oldp->printer_types; in chkopts()