1.ds VE LPRng-3.9.0 2.TH MONITOR 1 \*(VE "LPRng" 3.ig 4monitor.1,v 3.40 1998/03/29 18:37:49 papowell Exp 5.. 6.SH NAME 7monitor \- receive logging information from LPD 8.SH SYNOPSIS 9.B monitor 10[ 11.I \-u 12] [ 13.I \-t 14] [ 15port 16] 17.SH DESCRIPTION 18.PP 19The 20.B monitor 21program is a template for a printer status monitoring program. 22It will open the specified TCP and/or UDP port, 23and then wait for accounting or other information to be sent. 24It prints this information on it standard output. 25.SH OPTIONS 26.IP "\fB\-u\fR" 5 27wait for connections on the UDP port. 28.IP "\fB\-t\fR" 5 29wait for connections on the TCP port. 30.IP "\fBport\fR" 5 31Use the specified port number. 32.SH "EXIT STATUS" 33.PP 34The following exit values are returned: 35.TP 15 36.B "zero (0)" 37Successful completion. 38.TP 39.B "non-zero (!=0)" 40An error occurred. 41.SH "SEE ALSO" 42.LP 43lpd.conf(5), 44lpc(8), 45lpd(8), 46checkpc(8), 47lpr(1), 48lpq(1), 49lprm(1), 50printcap(5), 51lpd.conf(5), 52pr(1), lprng_certs(1), lprng_index_certs(1). 53.SH "HISTORY" 54LPRng is a enhanced printer spooler system 55with functionality similar to the Berkeley LPR software. 56The LPRng mailing list is lprng@lprng.com; 57subscribe by sending mail to lprng-request@lprng.com with 58the word subscribe in the body. 59The software is available from ftp://ftp.lprng.com/pub/LPRng. 60.SH "AUTHOR" 61Patrick Powell <papowell@lprng.com>. 62