Searched refs:trayNum (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disp3.c | 38 remount_form(register PSTATUS *pps, FSTATUS *pfs, short trayNum) in remount_form() argument 40 trayNum--; /* make zero based */ in remount_form() 41 if (pps->forms && (pps->forms[trayNum].form == pfs)) { in remount_form() 42 pps->forms[trayNum].isAvailable = (pfs ? 1 : 0); in remount_form() 52 if (pps->forms && pps->forms[trayNum].form) { in remount_form() 53 register FSTATUS *Opfs = pps->forms[trayNum].form; in remount_form() 55 pps->forms[trayNum].form = 0; in remount_form() 56 pps->forms[trayNum].isAvailable = 1; in remount_form() 81 pfs, (pfs ? pfs->form->name : "NULL"), trayNum); in remount_form() 84 pps->forms = (PFSTATUS *)calloc((trayNum +1), in remount_form() [all …]
|
H A D | disp4.c | 486 short trayNum, mode, pagesPrinted; in s_paper_changed() local 493 getmessage(m, S_PAPER_CHANGED, &printer, &trayNum, &paper, &mode, in s_paper_changed() 496 (printer ? printer : "NULL"), trayNum, (paper ? paper : "NULL"), in s_paper_changed() 501 else if ((trayNum <=0) || (trayNum > pps->numForms)) in s_paper_changed() 505 if (*paper && (pfsWas = pps->forms[trayNum-1].form) && in s_paper_changed() 509 remount_form(pps, pfs, trayNum); in s_paper_changed() 515 pps->forms[trayNum].isAvailable = mode; in s_paper_changed()
|
H A D | nodes.h | 186 short trayNum; /* for mounting trays remotely */ member
|
/titanic_44/usr/src/cmd/lp/model/ |
H A D | lp.tell.c | 160 int trayNum = 0; in main() local 322 trayNum = atoi(ptr1+1); in main() 328 printer,trayNum,paperType,mode,pagesPrinted); in main() 332 (void)putmessage ( msgbuf, S_PAPER_CHANGED, printer, trayNum, in main()
|