source: trunk/minix/man/man1/lp.1@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

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