Searched defs:trayNum (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddisp3.c38 remount_form(register PSTATUS *pps, FSTATUS *pfs, short trayNum) argument
40 trayNum--; /* make zero based */
41 if (pps->forms && (pps->forms[trayNum].form == pfs)) {
42 pps->forms[trayNum].isAvailable = (pfs ? 1 : 0);
52 if (pps->forms && pps->forms[trayNum].form) {
53 register FSTATUS *Opfs = pps->forms[trayNum].form;
55 pps->forms[trayNum].form = 0;
56 pps->forms[trayNum].isAvailable = 1;
81 pfs, (pfs ? pfs->form->name : "NULL"), trayNum);
84 pps->forms = (PFSTATUS *)calloc((trayNum
339 short trayNum; local
445 short trayNum; local
[all...]
H A Ddisp4.c486 short trayNum, mode, pagesPrinted; local
493 getmessage(m, S_PAPER_CHANGED, &printer, &trayNum, &paper, &mode,
496 (printer ? printer : "NULL"), trayNum, (paper ? paper : "NULL"),
501 else if ((trayNum <=0) || (trayNum > pps->numForms))
505 if (*paper && (pfsWas = pps->forms[trayNum-1].form) &&
509 remount_form(pps, pfs, trayNum);
515 pps->forms[trayNum].isAvailable = mode;
H A Dnodes.h186 short trayNum; /* for mounting trays remotely */ member in struct:rstat_node
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.tell.c160 int trayNum = 0; local
322 trayNum = atoi(ptr1+1);
328 printer,trayNum,paperType,mode,pagesPrinted);
332 (void)putmessage ( msgbuf, S_PAPER_CHANGED, printer, trayNum,

Completed in 61 milliseconds