BSD 4_1_snap development
[unix-history] / usr / man / man1 / lpr.1
index bd5956b..02447bf 100644 (file)
@@ -1,50 +1,70 @@
-.TH LPR 1 
+.TH LPR 1 4/1/81
+.UC 4
 .SH NAME
 .SH NAME
-lpr, vpr \- line printer spooler
+lpr, lprm, lpq, print \- line printer spooler
 .SH SYNOPSIS
 .B lpr
 .SH SYNOPSIS
 .B lpr
-[ option ] ... [ file ] ...
+[
+.B \-m
+] [ name ... ]
 .br
 .br
-.B vpr
+.B lprm
 [
 [
-.B \-b
-banner ] [ file ] ...
+id ...
+] [
+filename ...
+] [
+owner ...
+]
+.br
+.B lpq
+.br
+.B print
+file ...
 .SH DESCRIPTION
 .I Lpr 
 causes the
 .SH DESCRIPTION
 .I Lpr 
 causes the
-.I files
-to be queued for printing on a line printer.
+named files
+to be queued for printing.
 If no files are named, the standard input is read.
 If no files are named, the standard input is read.
-The following options are available:
-.TP
-.B \-r
-Remove the file when it has been queued.
-.TP
-.B \-c
-Copy the file to insulate against changes
-that may happen before printing.
-.TP
+The option
 .B \-m
 .B \-m
-Report by
+causes notification via
 .IR mail (1)
 .IR mail (1)
-when printing is complete.
-.TP
-.B \-n
-Do not report by mail.
-This is the default option.
+to be sent when the job completes.
 .PP
 .PP
-.I Vpr
-is the program used by
-.I lpr
-when the online printer is a Versatec machine
-to insert an identifying
-.I banner
-before the output, strip overstrikes,
-and, where possible, remove blank lines to make
-66-line pages fit on 64 lines.
+.I Lprm
+removes an entry from the line printer queue.
+The id, filename or owner should be that reported by
+.I lpq.
+All appropriate files will be removed.
+The id of each file removed from the queue will be printed.
+.PP
+.I Lpq
+prints the line printer queue.
+Each entry in the queue is printed showing the owner of the queue entry,
+an identification number,
+the size of the entry in characters,
+and the file which is to be printed.
+The
+.I id
+is useful for removing a specific entry from the printer queue using
+.IR lprm (1).
+.PP
+.I Print
+.I pr's
+a copy of each named file on the line printer.
+It is a one line shell script:
+.PP
+.DT
+       pr $* | lpr
 .SH FILES
 .SH FILES
-/usr/lpd/* spool area
+.ta 2i
+/usr/spool/lpd/*       spool area
+.br
+/usr/lib/lpd   printer daemon
 .br
 .br
-/usr/bin/vpr for Versatec printer.
-.SH SEE ALSO
-opr(1), lpd(8)
+/usr/lib/lpf   filter to handle banners and underlining
+.SH SEE\ ALSO
+pr(1)
+.SH BUGS