LPR(1) — Unix Programmer’s Manual
NAME
lpr, lprm, lpq, print − line printer spooler
SYNOPSIS
lpr [ −m ] [ name ... ]
lprm [ id ... ] [ filename ... ] [ owner ... ]
lpq
print file ...
DESCRIPTION
Lpr causes the named files to be queued for printing. If no files are named, the standard input is read. The option −m causes notification via mail(1) to be sent when the job completes.
Lprm removes an entry from the line printer queue. The id, filename or owner should be that reported by lpq. All appropriate files will be removed. The id of each file removed from the queue will be printed.
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 id is useful for removing a specific entry from the printer queue using lprm(1).
Print pr’s a copy of each named file on the line printer. It is a one line shell script:
pr $\(** | lpr
FILES
/usr/spool/lpd/\(**spool area
/usr/lib/lpdprinter daemon
/usr/lib/lpffilter to handle banners and underlining
SEE ALSO
BUGS
th Berkeley Distribution — 4/1/81