|
|
1.1 root 1: .TH LP 1
2: .SH NAME
3: lp \- printer output
4: .SH SYNOPSIS
5: .B lp
6: [
7: .I option ...
8: ]
9: [
10: .I file ...
11: ]
12: .SH DESCRIPTION
13: .I Lp
14: is a generalized output printing service.
15: It can be used to queue files for printing,
16: check a queue, or kill jobs in a queue.
17: The options are:
18: .TF -p\ \fIproc\fP
19: .TP
20: .BI -d " dest"
21: Select the destination printer.
22: If
23: .I dest
24: is
25: .LR ? ,
26: list the currently available printers.
27: In the absence of
28: .LR -d ,
29: the destination is taken from the environment variable
30: .BR LPDEST .
31: Destination
32: .L stdout
33: is the standard output.
34: Destination
35: .L safari
36: is
37: .L /dev/lpt1data
38: line printer port on a 386 machine.
39: .TP
40: .BI -p " proc"
41: The given processor is invoked.
42: The default processor is
43: .LR generic ,
44: which tries to do the right thing for regular text,
45: .IR troff (1)
46: output, or
47: .IR tex (1)
48: output.
49: If no processing is desired
50: .L noproc
51: may be specified.
52: .TP
53: .B -q
54: Print the queue for the given destination.
55: For some devices, include printer status.
56: .TP
57: .B -k
58: Kill the job(s) given as subsequent arguments instead of file names
59: for the given destination.
60: .PD
61: .PP
62: The remaining options may be used to affect the output at a given device.
63: These options may not be applicable to all devices.
64: .TF -p\ \fIproc\fP
65: .TP
66: .BI -c " n"
67: Print
68: .I n
69: copies.
70: .TP
71: .BI -f " font"
72: Set the font (default
73: .LR CW.11 ).
74: .TP
75: .BI -H
76: Suppress printing of header page.
77: .TP
78: .BI -i " n"
79: Select paper input tray.
80: .I n
81: may be a number 0-9, the word
82: .I man
83: for the manual feed slot, and/or
84: .I simplex
85: or
86: .I duplex
87: to get single or double sided output.
88: Multiple input tray options may be specified if they are
89: separated by commas.
90: .TP
91: .BI -l " n"
92: Set the number of lines per page to
93: .I n.
94: .TP
95: .B -L
96: Print pages in landscape mode (i.e. turned 90 degrees).
97: .TP
98: .BI -m " v"
99: Set magnification to
100: .I v.
101: .TP
102: .BI -n " n"
103: Print
104: .I n
105: logical pages per physical page.
106: .TP
107: .BI -o " list"
108: Print only pages whose page numbers appear in
109: the comma-separated
110: .I list
111: of numbers and ranges.
112: A range
113: .IB n - m
114: means pages
115: .I n
116: through
117: .IR m ;
118: a range
119: .BI - n
120: means from the beginning to page
121: .IR n ;
122: a range
123: .IB n -
124: means from page
125: .I n
126: to the end.
127: .TP
128: .B -r
129: Reverse the order of page printing.
130: .TP
131: .BI -x " v"
132: Set the horizontal
133: offset of the print image, measured in inches.
134: .TP
135: .BI -y " v"
136: Set the vertical
137: offset of the print image, measured in inches.
138: .SH EXAMPLES
139: .TP 0
140: .L
141: eqn paper | troff -ms | lp -dsafari
142: Typeset and print a paper containing equations.
143: .TP
144: .L
145: pr -l100 file | lp -l100 -fCW.8
146: Print a file in a small font at 100 lines per page.
147: .TP
148: .L
149: lp -dstdout /dev/windows/3/window > doc.ps
150: Convert a bitmap to a postscript file.
151: .SH SEE ALSO
152: .IR lp (8)
153: .br
154: P. Glick,
155: ``A Guide to the Lp Printer Spooler''.
156: .SH BUGS
157: Not all options work with all output devices.
158: Any user can kill any job.
159: .I Lp
160: will accept jobs from BSD style lpdaemons but cannot
161: send jobs to such systems.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.