LPR(1) GENIX Programmer's Manual LPR(1)
NAME
lpr, lprm, lpq, print - line printer spooler
SYNOPSIS
lpr [ -m ] [ -s ] [name ... ]
lprm [[ -s ][ -a ] [ 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 notifi-
cation via mail(1) to be sent when the job completes.
Lprm removes an entry from a line printer queue. The default is to
remove files from the parallel queue, but -s causes the program to
operate on the serial queue. Individual files can be removed by
providing an id, filename or owner reported by lpq, while -a will
remove all of the files on the queue. The id of each file removed
from the queue will be printed.
Lpq prints the serial and parallel line printer queues. Each entry
in a queue is printed showing the owner of the queue entry, an iden-
tification 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/lp parallel printer device
/usr/spool/slp serial printer device
/usr/spool/lpd/* parallel spool area
/usr/spool/slp/* serial spool area
/usr/lib/lpd parallel printer daemon
/usr/lib/slpd serial printer daemon
/usr/lib/lpf filter to handle banners and underlining for
parallel printer
/usr/lib/slpf filter for serial printer
SEE ALSO
pr(1)
BUGS
Printed 11/16/83 1