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