Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lpq(1) — GDT-UNX 6.8_er0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pr(1)

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 are removed.  The id of each file removed from the queue is 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

pr(1)

BUGS

4th Berkeley Distribution  —  %W% %Q% %Y%

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026