summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r--usr.sbin/lpr/chkprintcap/chkprintcap.86
-rw-r--r--usr.sbin/lpr/lp/lp.12
-rw-r--r--usr.sbin/lpr/lpc/lpc.84
-rw-r--r--usr.sbin/lpr/lpd/lpd.82
-rw-r--r--usr.sbin/lpr/lpq/lpq.14
-rw-r--r--usr.sbin/lpr/lpr/lpr.16
-rw-r--r--usr.sbin/lpr/lpr/printcap.56
-rw-r--r--usr.sbin/lpr/lprm/lprm.16
-rw-r--r--usr.sbin/lpr/lptest/lptest.12
-rw-r--r--usr.sbin/lpr/pac/pac.82
10 files changed, 20 insertions, 20 deletions
diff --git a/usr.sbin/lpr/chkprintcap/chkprintcap.8 b/usr.sbin/lpr/chkprintcap/chkprintcap.8
index ecf7822cef574..742294fa6cda5 100644
--- a/usr.sbin/lpr/chkprintcap/chkprintcap.8
+++ b/usr.sbin/lpr/chkprintcap/chkprintcap.8
@@ -33,7 +33,7 @@
.Nm chkprintcap
.Nd check validity of entries in the print spooler database
.Sh SYNOPSIS
-.Nm chkprintcap
+.Nm
.Op Fl d
.Op Fl f Ar printcap
.Sh DESCRIPTION
@@ -70,7 +70,7 @@ entire file is scanned.)
If the
.Fl d
flag is given,
-.Nm chkprintcap
+.Nm
will attempt to create any missing spool directories, giving them
.Sq Li u=rwx,go=rx
(0755) mode, group
@@ -85,7 +85,7 @@ capability in the database (default 1, which corresponds to user
.Xr lpd 8
.Sh AUTHORS
The
-.Nm chkprintcap
+.Nm
command was written by
.An Garrett A. Wollman Aq wollman@lcs.mit.edu .
.Sh BUGS
diff --git a/usr.sbin/lpr/lp/lp.1 b/usr.sbin/lpr/lp/lp.1
index ed2226ca1bcb5..3109697d6780e 100644
--- a/usr.sbin/lpr/lp/lp.1
+++ b/usr.sbin/lpr/lp/lp.1
@@ -40,7 +40,7 @@
.Nm lp
.Nd front-end to the print spooler
.Sh SYNOPSIS
-.Nm lp
+.Nm
.Op Fl cs
.Op Fl o Ar option
.Op Fl d Ar printer
diff --git a/usr.sbin/lpr/lpc/lpc.8 b/usr.sbin/lpr/lpc/lpc.8
index f0586d726c456..c99631c9a2713 100644
--- a/usr.sbin/lpr/lpc/lpc.8
+++ b/usr.sbin/lpr/lpc/lpc.8
@@ -39,7 +39,7 @@
.Nm lpc
.Nd line printer control program
.Sh SYNOPSIS
-.Nm lpc
+.Nm
.Oo
.Ar command
.Op Ar argument ...
@@ -50,7 +50,7 @@ is used by the system administrator to control the
operation of the line printer system.
For each line printer configured in
.Pa /etc/printcap ,
-.Nm lpc
+.Nm
may be used to:
.Bl -bullet -offset indent
.It
diff --git a/usr.sbin/lpr/lpd/lpd.8 b/usr.sbin/lpr/lpd/lpd.8
index f882a3167a37d..48e2af3a73a96 100644
--- a/usr.sbin/lpr/lpd/lpd.8
+++ b/usr.sbin/lpr/lpd/lpd.8
@@ -39,7 +39,7 @@
.Nm lpd
.Nd line printer spooler daemon
.Sh SYNOPSIS
-.Nm lpd
+.Nm
.Op Fl dlp
.Op Ar port#
.Sh DESCRIPTION
diff --git a/usr.sbin/lpr/lpq/lpq.1 b/usr.sbin/lpr/lpq/lpq.1
index cff76b2414487..ad53033aadac8 100644
--- a/usr.sbin/lpr/lpq/lpq.1
+++ b/usr.sbin/lpr/lpq/lpq.1
@@ -39,7 +39,7 @@
.Nm lpq
.Nd spool queue examination program
.Sh SYNOPSIS
-.Nm lpq
+.Nm
.Op Fl a
.Op Fl l
.Op Fl P Ns Ar printer
@@ -101,7 +101,7 @@ the
command can be used to restart the printer daemon.
.Sh ENVIRONMENT
If the following environment variable exists, it is used by
-.Nm lpq :
+.Nm :
.Bl -tag -width PRINTER
.It Ev PRINTER
Specifies an alternate default printer.
diff --git a/usr.sbin/lpr/lpr/lpr.1 b/usr.sbin/lpr/lpr/lpr.1
index e05290dd3a9cf..a4fe4465137f1 100644
--- a/usr.sbin/lpr/lpr/lpr.1
+++ b/usr.sbin/lpr/lpr/lpr.1
@@ -39,7 +39,7 @@
.Nm lpr
.Nd off line print
.Sh SYNOPSIS
-.Nm lpr
+.Nm
.Op Fl P Ns Ar printer
.Op Fl \&# Ns Ar num
.Op Fl C Ar class
@@ -234,7 +234,7 @@ as the page width for
.El
.Sh ENVIRONMENT
If the following environment variable exists, it is used by
-.Nm Ns :
+.Nm :
.Bl -tag -width PRINTER
.It Ev PRINTER
Specifies an alternate default printer.
@@ -307,7 +307,7 @@ For
it specifies additional options to be interpreted by the spooler's
input and output filters.
When submitting jobs via
-.Nm Ns ,
+.Nm ,
.Fl p
.Fl L Ar locale
is used in the former context, and
diff --git a/usr.sbin/lpr/lpr/printcap.5 b/usr.sbin/lpr/lpr/printcap.5
index 61850a559de1d..667f6c7bcabba 100644
--- a/usr.sbin/lpr/lpr/printcap.5
+++ b/usr.sbin/lpr/lpr/printcap.5
@@ -39,7 +39,7 @@
.Nm printcap
.Nd printer capability data base
.Sh SYNOPSIS
-.Nm printcap
+.Nm
.Sh DESCRIPTION
The
.Nm Printcap
@@ -48,7 +48,7 @@ is a simplified version of the
.Xr termcap 5
data base
used to describe line printers. The spooling system accesses the
-.Nm printcap
+.Nm
file every time it is used, allowing dynamic
addition and deletion of printers. Each entry in the data base
is used to describe one printer. This data base may not be
@@ -238,7 +238,7 @@ The
function
is passed from the
.Cm af
-.Nm printcap
+.Nm
entry.
.Pp
If no
diff --git a/usr.sbin/lpr/lprm/lprm.1 b/usr.sbin/lpr/lprm/lprm.1
index 1a17ea6b1bd55..84ddd7611121c 100644
--- a/usr.sbin/lpr/lprm/lprm.1
+++ b/usr.sbin/lpr/lprm/lprm.1
@@ -39,7 +39,7 @@
.Nm lprm
.Nd remove jobs from the line printer spooling queue
.Sh SYNOPSIS
-.Nm lprm
+.Nm
.Op Fl P Ns Ar printer
.Op Fl
.Op job # ...
@@ -95,7 +95,7 @@ If neither arguments or options are given,
.Nm
will delete the currently active job if it is
owned by the user who invoked
-.Nm lprm .
+.Nm .
.Pp
.Nm Lprm
announces the names of any files it removes and is silent if
@@ -107,7 +107,7 @@ any spooling files. If a daemon is killed, a new one is
automatically restarted upon completion of file removals.
.Sh ENVIRONMENT
If the following environment variable exists, it is utilized by
-.Nm lprm .
+.Nm .
.Bl -tag -width PRINTER
.It Ev PRINTER
If the environment variable
diff --git a/usr.sbin/lpr/lptest/lptest.1 b/usr.sbin/lpr/lptest/lptest.1
index 73f9fe93b3f5c..48855bbcb9d89 100644
--- a/usr.sbin/lpr/lptest/lptest.1
+++ b/usr.sbin/lpr/lptest/lptest.1
@@ -39,7 +39,7 @@
.Nm lptest
.Nd generate lineprinter ripple pattern
.Sh SYNOPSIS
-.Nm lptest
+.Nm
.Op Ar length
.Op Ar count
.Sh DESCRIPTION
diff --git a/usr.sbin/lpr/pac/pac.8 b/usr.sbin/lpr/pac/pac.8
index 0fddaecce75b3..5925d4c3deec7 100644
--- a/usr.sbin/lpr/pac/pac.8
+++ b/usr.sbin/lpr/pac/pac.8
@@ -39,7 +39,7 @@
.Nm pac
.Nd printer/plotter accounting information
.Sh SYNOPSIS
-.Nm pac
+.Nm
.Op Fl P Ns Ar printer
.Op Fl c
.Op Fl m