Home
last modified time | relevance | path

Searched refs:prbufp (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_printer.c329 register PRINTER *prbufp; local
339 prbufp = oldp;
342 T = prbufp->printer_types;
359 prbufp->banner = 0;
360 prbufp->cpi.val = 0;
361 prbufp->cpi.sc = 0;
362 prbufp->device = 0;
363 prbufp->dial_info = 0;
364 prbufp->fault_rec = 0;
365 prbufp->interface = 0;
[all …]
/titanic_41/usr/src/cmd/lp/lib/printers/
H A Dokprinter.c51 okprinter(char *name, PRINTER *prbufp, int isput) in okprinter() argument
60 prbufp->remote in okprinter()
62 prbufp->device in okprinter()
63 || prbufp->interface in okprinter()
65 prbufp->fault_alert.shcmd in okprinter()
66 && !STREQU(NAME_NONE, prbufp->fault_alert.shcmd) in okprinter()
74 !emptylist(prbufp->modules) in okprinter()
75 && !STREQU(NAME_NONE, prbufp->modules[0]) in okprinter()
89 if (!prbufp->remote && isput && !okinterface(name, prbufp)) in okprinter()
95 if (!prbufp->remote && !prbufp->device && !prbufp->dial_info) in okprinter()
[all …]
H A Dputprinter.c64 static int addPrintersPPD(char *name, PRINTER *prbufp);
91 putprinter(char *name, PRINTER *prbufp) in putprinter() argument
123 if (!okprinter(name, prbufp, 1)) { in putprinter()
158 if (prbufp->remote) { in putprinter()
164 if (prbufp->interface && (ignprinter & BAD_INTERFACE) == 0) { in putprinter()
165 if (Stat(prbufp->interface, &statbuf1) == -1) in putprinter()
176 if ((fdin = open_locked(prbufp->interface, "r", 0)) < 0) { in putprinter()
198 if ((prbufp->ppd != NULL) && (ppdopt)) in putprinter()
200 if (addPrintersPPD(name, prbufp) != 0) in putprinter()
216 stty = (prbufp->stty? Strdup(prbufp->stty) : 0); in putprinter()
[all …]