Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lpr(1) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lp(1)

LPR(1)  —  Silicon Graphics

NAME

lpr − line printer spooler

SYNOPSIS

lpr [ option ... ] [ name ... ]

DESCRIPTION

Lpr causes the named files to be queued for printing on a line printer.  If no names appear, the standard input is assumed; thus lpr may be used as a filter. 

The following options may be given (each as a separate argument and in any order) before any file name arguments:

−c Makes a copy of the file to be sent before returning to the user. 

−r Removes the file after sending it. 

−m When printing is complete, reports that fact by mail(1).

−n Does not report the completion of printing by mail(1). This is the default option.

−ffile Use file as a dummy file name to report back in the mail.  (This is useful for distinguishing multiple runs, especially when lpr is being used as a filter). 

Please note that the directory /usr/spool/lpd must be owned by daemon and have mode 0755; /bin/lpr must have mode 4755; and /dev/lp must be owned by daemon and have mode 600. 

EXAMPLE

cat asa | lpr

will print the file "asa" on the line printer. 

FILES

/etc/passwd user’s identification and accounting data. 

/usr/lib/lpd line printer daemon. 

/usr/spool/lpd/∗ spool area. 

SEE ALSO

lp(1). 

Version 2.3  —  July 04, 1985

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