pstatus
int jobflags, pstatus;
pstatus = pp->p_flags & PALLSTATES;
((pstatus == status && pp->p_reason == reason) ||
if (pstatus == status)
status = pstatus;
u_char pstatus;
pstatus = buf[8];
if (ISSET(pstatus, RSAQ_STATUS_CTS))
if (ISSET(pstatus, RSAQ_STATUS_DSR))
if (ISSET(pstatus, RSAQ_STATUS_DCD))
u_char pstatus;
pstatus = buf[0];
if (ISSET(pstatus, UVSCOM_TXRDY))
if (ISSET(pstatus, UVSCOM_RXRDY))
pstatus = buf[1];
if (ISSET(pstatus, UVSCOM_CTS))
if (ISSET(pstatus, UVSCOM_DSR))
if (ISSET(pstatus, UVSCOM_DCD))
int pstatus(char *arg);
return pstatus(arg);
(void) pstatus(client, prognum, MAX_VERS);
(void) pstatus(client, prognum, (u_long)0);
if (pstatus(client, prognum, vers) < 0)
if (pstatus(client, prognum, vers) < 0)
(void) pstatus(client, prognum, MAX_VERS);
(void) pstatus(client, prognum, MIN_VERS);
if (pstatus(client, prognum, vers) < 0)
if (pstatus(client, prognum, vers) < 0)
int pstatus(CLIENT *client, u_long prognum, u_long vers);
static void pstatus(const char *, ...)
pstatus("waiting for %s to come up", LP);
pstatus("waiting for access to printer on %s", LP);
pstatus("sending to %s port %d", cp, port);
pstatus("waiting for %s to become ready (offline ?)",
pstatus("%s is ready and printing", printer);
pstatus("waiting for %s to come up", RM);
pstatus("waiting for queue to be enabled on %s",
pstatus("sending to %s", RM);
pstatus("no space on remote; waiting for queue to drain");
pstatus("sending to %s", RM);