]> git.ipfire.org Git - thirdparty/cups.git/blob - man/lpr.man
Load cups into easysw/current.
[thirdparty/cups.git] / man / lpr.man
1 .\"
2 .\" "$Id: lpr.man 6649 2007-07-11 21:46:42Z mike $"
3 .\"
4 .\" lpr man page for the Common UNIX Printing System (CUPS).
5 .\"
6 .\" Copyright 2007 by Apple Inc.
7 .\" Copyright 1997-2006 by Easy Software Products.
8 .\"
9 .\" These coded instructions, statements, and computer programs are the
10 .\" property of Apple Inc. and are protected by Federal copyright
11 .\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 .\" which should have been included with this file. If this file is
13 .\" file is missing or damaged, see the license at "http://www.cups.org/".
14 .\"
15 .TH lpr 1 "Common UNIX Printing System" "12 February 2006" "Apple Inc."
16 .SH NAME
17 lpr \- print files
18 .SH SYNOPSIS
19 .B lpr
20 [ -E ] [ -H
21 .I server[:port]
22 ] [ -U
23 .I username
24 ] [ -P
25 .I destination[/instance]
26 ] [ -#
27 .I num-copies
28 [ -h ] [ -l ] [ -m ] [ -o
29 .I option[=value]
30 ] [ -p] [ -q ] [ -r ] [ -C/J/T
31 .I title
32 ] [
33 .I file(s)
34 ]
35 .SH DESCRIPTION
36 \fIlpr\fR submits files for printing. Files named on the command
37 line are sent to the named printer (or the system default
38 destination if no destination is specified). If no files are
39 listed on the command-line, \fIlpr\fR reads the print file from
40 the standard input.
41 .SH OPTIONS
42 The following options are recognized by \fIlpr\fR:
43 .TP 5
44 -E
45 .br
46 Forces encryption when connecting to the server.
47 .TP 5
48 -H server[:port]
49 .br
50 Specifies an alternate server.
51 .TP 5
52 -C "name"
53 .TP 5
54 -J "name"
55 .TP 5
56 -T "name"
57 .br
58 Sets the job name.
59 .TP 5
60 -P destination[/instance]
61 .br
62 Prints files to the named printer.
63 .TP 5
64 -U username
65 .br
66 Specifies an alternate username.
67 .TP 5
68 -# \fIcopies\fR
69 .br
70 Sets the number of copies to print from 1 to 100.
71 .TP 5
72 -h
73 .br
74 Disables banner printing. This option is equivalent to "-o
75 job-sheets=none".
76 .TP 5
77 -l
78 .br
79 Specifies that the print file is already formatted for the
80 destination and should be sent without filtering. This option is
81 equivalent to "-o raw".
82 .TP 5
83 -m
84 .br
85 Send an email on job completion.
86 .TP 5
87 -o option[=value]
88 .br
89 Sets a job option.
90 .TP 5
91 -p
92 .br
93 Specifies that the print file should be formatted with a shaded
94 header with the date, time, job name, and page number. This
95 option is equivalent to "-o prettyprint" and is only useful when
96 printing text files.
97 .TP 5
98 -q
99 .br
100 Hold job for printing.
101 .TP 5
102 -r
103 .br
104 Specifies that the named print files should be deleted after
105 printing them.
106 .SH COMPATIBILITY
107 The "c", "d", "f", "g", "i", "n", "t", "v", and "w" options
108 are not supported by CUPS and produce a warning message if used.
109 .SH SEE ALSO
110 \fIcancel(1)\fR, \fIlp(1)\fR, \fIlpq(1)\fR, \fIlprm(1)\fR,
111 \fIlpstat(1)\fR,
112 .br
113 http://localhost:631/help
114 .SH COPYRIGHT
115 Copyright 2007 by Apple Inc.
116 .\"
117 .\" End of "$Id: lpr.man 6649 2007-07-11 21:46:42Z mike $".
118 .\"