summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r--usr.sbin/lpr/chkprintcap/chkprintcap.812
-rw-r--r--usr.sbin/lpr/lpc/lpc.87
-rw-r--r--usr.sbin/lpr/lpd/lpd.814
-rw-r--r--usr.sbin/lpr/pac/pac.87
4 files changed, 24 insertions, 16 deletions
diff --git a/usr.sbin/lpr/chkprintcap/chkprintcap.8 b/usr.sbin/lpr/chkprintcap/chkprintcap.8
index 44b47cb..e026662 100644
--- a/usr.sbin/lpr/chkprintcap/chkprintcap.8
+++ b/usr.sbin/lpr/chkprintcap/chkprintcap.8
@@ -37,8 +37,9 @@
.Op Fl d
.Op Fl f Ar printcap
.Sh DESCRIPTION
-.Nm Chkprintcap
-scans a
+The
+.Nm
+utility scans a
.Xr printcap 5
database
(named by the
@@ -60,8 +61,9 @@ No two printers share the same spool directory
capability).
.El
.Pp
-.Nm Chkprintcap
-exits with a status equal to the number of errors encountered before
+The
+.Nm
+utility exits with a status equal to the number of errors encountered before
processing stopped. (In some cases, processing can stop before the
entire file is scanned.)
.Pp
@@ -84,7 +86,7 @@ capability in the database (default 1, which corresponds to user
.Sh AUTHORS
The
.Nm
-command was written by
+utility was written by
.An Garrett A. Wollman Aq wollman@lcs.mit.edu .
.Sh BUGS
Not enough sanity-checking is done. At a minimum, the ownership and
diff --git a/usr.sbin/lpr/lpc/lpc.8 b/usr.sbin/lpr/lpc/lpc.8
index aebbf0e..8d62b3f 100644
--- a/usr.sbin/lpr/lpc/lpc.8
+++ b/usr.sbin/lpr/lpc/lpc.8
@@ -42,8 +42,9 @@
.Nm
.Op Ar command Op Ar argument ...
.Sh DESCRIPTION
-.Nm Lpc
-is used by the system administrator to control the
+The
+.Nm
+utility is used by the system administrator to control the
operation of the line printer system.
For each line printer configured in
.Pa /etc/printcap ,
@@ -225,5 +226,5 @@ you must be a member of group "operator" or root to execute this command
.Sh HISTORY
The
.Nm
-command appeared in
+utility appeared in
.Bx 4.2 .
diff --git a/usr.sbin/lpr/lpd/lpd.8 b/usr.sbin/lpr/lpd/lpd.8
index f27b36e..f9169dc 100644
--- a/usr.sbin/lpr/lpd/lpd.8
+++ b/usr.sbin/lpr/lpd/lpd.8
@@ -43,7 +43,9 @@
.Op Fl cdlpsW46
.Op Ar port#
.Sh DESCRIPTION
-.Nm Lpd
+The
+.Nm
+utility
is the line printer daemon (spool area handler) and is normally invoked
at boot time from the
.Xr rc 8
@@ -256,13 +258,15 @@ If a file cannot be opened, a message will be logged via
using the
.Em LOG_LPR
facility.
-.Nm Lpd
-will try up to 20 times
+The
+.Nm
+utility will try up to 20 times
to reopen a file it expects to be there, after which it will
skip the file to be printed.
.Pp
-.Nm Lpd
-uses
+The
+.Nm
+utility uses
.Xr flock 2
to provide exclusive access to the lock file and to prevent multiple
daemons from becoming active simultaneously. If the daemon should be killed
diff --git a/usr.sbin/lpr/pac/pac.8 b/usr.sbin/lpr/pac/pac.8
index 2c94214..2d7bfe7 100644
--- a/usr.sbin/lpr/pac/pac.8
+++ b/usr.sbin/lpr/pac/pac.8
@@ -48,8 +48,9 @@
.Op Fl r
.Op Ar name ...
.Sh DESCRIPTION
-.Nm Pac
-reads the printer/plotter accounting files, accumulating the number
+The
+.Nm
+utility reads the printer/plotter accounting files, accumulating the number
of pages (the usual case) or feet (for raster devices)
of paper consumed by each user, and printing out
how much each user consumed in pages or feet and dollars.
@@ -103,5 +104,5 @@ as yet unknown.
.Sh HISTORY
The
.Nm
-command appeared in
+utility appeared in
.Bx 4.0 .
OpenPOWER on IntegriCloud