Home | History | Annotate | Download | only in lpd

Lines Matching refs:printer

101 static int	pfd;		/* printer file descriptor */
187 syslog(LOG_ERR, "%s: %s: %m", printer, LO);
193 syslog(LOG_ERR, "%s: %s: %m", printer, LO);
202 syslog(LOG_ERR, "%s: %s: %m", printer, LO);
224 syslog(LOG_ERR, "%s: can't scan %s", printer, SD);
232 syslog(LOG_ERR, "%s: %s: %m", printer, LO);
234 openpr(); /* open printer or remote */
250 syslog(LOG_ERR, "%s: %s: %m", printer, LO);
270 printer, LO);
278 syslog(LOG_INFO, "restarting %s", printer);
281 (void)close(pfd); /* close printer */
283 syslog(LOG_WARNING, "%s: %s: %m", printer, LO);
284 openpr(); /* try to reopen printer */
287 syslog(LOG_WARNING, "%s: job could not be %s (%s)", printer,
305 syslog(LOG_ERR, "%s: can't scan %s", printer, SD);
348 syslog(LOG_INFO, "%s: %s: %m", printer, file);
537 * Note: all filters take stdin as the file, stdout as the printer,
652 syslog(LOG_ERR, "%s: cannot create .railmag", printer);
690 printer, format);
697 printer, format);
724 printer, WEXITSTATUS(status), WTERMSIG(status));
775 printer, format, (int)child_pid, WTERMSIG(status));
788 printer, format, WEXITSTATUS(status));
941 printer, RM);
973 syslog(LOG_INFO, "%s: %s: changed size", printer, file);
1001 syslog(LOG_INFO, "%s: lost connection", printer);
1149 printf("Subject: %s printer job \"%s\"\n", printer,
1152 printf("Your printer job ");
1195 "printer %s (%s)", user, *jobname ? jobname : "<unknown>",
1196 printer, cp);
1266 getprintcap(printer);
1320 * Setup output filter - called once for local printer, or (if -r given to lpd)
1336 dup2(pfd, 1); /* printer is std out */
1346 syslog(LOG_ERR, "%s: %s: %m", printer, OF);
1376 * Acquire line printer or remote connection.
1389 syslog(LOG_ERR, "%s: no line printer device or host name",
1390 printer);
1401 * Printer connected directly to the network
1418 * to stabilize in case printer is
1428 pstatus("waiting for access to printer on %s", LP);
1436 * Printer is connected to an RS232 port on this host
1455 printer);
1460 pstatus("%s is ready and printing", printer);
1464 * Printer is on a remote host
1540 syslog(LOG_ERR, "%s: ioctl(TIOCEXCL): %m", printer);
1544 syslog(LOG_ERR, "%s: tcgetattr: %m", printer);
1554 syslog(LOG_ERR, "%s: illegal baud rate %d", printer, BR);
1565 syslog(LOG_ERR, "%s: ioctl(TIOCGETD): %m", printer);
1570 printer);
1574 syslog(LOG_ERR, "%s: calloc: %m", printer);
1589 printer, *argv);
1611 syslog(LOG_ERR, "%s: tcsetattr: %m", printer);
1615 syslog(LOG_INFO, "%s: ioctl(TIOCSWINSZ): %m", printer);
1632 syslog(LOG_ERR, "%s: %s: %m", printer, ST);