Rev | Line | |
---|
[9] | 1 | .TH LP 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | lp, lpd \- copy a file to the line printer
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | .B lp
|
---|
| 6 | .RI [ file " ...]"
|
---|
| 7 | .SH DESCRIPTION
|
---|
| 8 | Each file argument to
|
---|
| 9 | .B lp
|
---|
| 10 | is send to the line printer to be printed. Standard input is read and
|
---|
| 11 | printed if there are no arguments.
|
---|
| 12 | .B Lp
|
---|
| 13 | executes
|
---|
| 14 | .B /usr/lib/lpd
|
---|
| 15 | with each file as input.
|
---|
| 16 | .B Lpd
|
---|
| 17 | puts the file in
|
---|
| 18 | .B /usr/spool/lpd
|
---|
| 19 | and starts printing the jobs on
|
---|
| 20 | .B /dev/lp
|
---|
| 21 | unless another
|
---|
| 22 | .B lpd
|
---|
| 23 | is already running. If
|
---|
| 24 | .B lpd
|
---|
| 25 | finds any character in the input that it doesn't know how to handle then it
|
---|
| 26 | will print the rest of the file without any special treatment. This also
|
---|
| 27 | means that no formfeed is sent after the file has been printed to force out
|
---|
| 28 | the page.
|
---|
| 29 | .B Lpd
|
---|
| 30 | simply assumes that you know what you are doing. (dumb, eh?)
|
---|
| 31 | .PP
|
---|
| 32 | Note: Don't do anything with a file until it is printed,
|
---|
| 33 | .B lpd
|
---|
| 34 | only makes a copy of a file in the spool directory when it is not world
|
---|
| 35 | readable. If it can be read then it is printed directly.
|
---|
| 36 | .SH FILES
|
---|
| 37 | .TP 20
|
---|
| 38 | .BI /usr/spool/lpd/job XXXXX
|
---|
| 39 | Information about a job.
|
---|
| 40 | .TP
|
---|
| 41 | .BI /usr/spool/lpd/tmp XXXXX
|
---|
| 42 | Associated file to be printed.
|
---|
| 43 | .TP
|
---|
| 44 | .B /etc/termcap
|
---|
| 45 | The 'lp' entry describes the printer by the "li#" and "co#" fields. By
|
---|
| 46 | default 66 lines (li#66), and 80 columns (co#80).
|
---|
| 47 | .SH "SEE ALSO"
|
---|
| 48 | .BR lp (4),
|
---|
| 49 | .BR termcap (5),
|
---|
| 50 | .BR termcap (7).
|
---|
| 51 | .SH BUGS
|
---|
| 52 | Not spooling a world readable file may not be such a smart idea.
|
---|
| 53 | .PP
|
---|
| 54 | A formfeed should be printed and the printer reset after a job full of escape
|
---|
| 55 | codes, but this may cost paper.
|
---|
| 56 | .PP
|
---|
| 57 | No banner page.
|
---|
| 58 | .SH AUTHOR
|
---|
| 59 | Kees J. Bot (kjb@cs.vu.nl)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.