]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/help/man-lpr.html
Don't provide human-readable log message.
[thirdparty/cups.git] / doc / help / man-lpr.html
CommitLineData
94436c5a
MS
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<!-- SECTION: Man Pages -->
4<head>
5 <link rel="stylesheet" type="text/css" href="../cups-printable.css">
6 <title>lpr(1)</title>
7</head>
8<body>
9<h1 class="title">lpr(1)</h1>
10<h2 class="title"><a name="NAME">Name</a></h2>
11lpr - print files
12<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
13<b>lpr
14</b>[ -E ] [ -H
15<i>server[:port]
16</i>] [ -U
17<i>username
18</i>] [ -P
19<i>destination[/instance]
20</i>] [ -#
21<i>num-copies
22</i>[ -h ] [ -l ] [ -m ] [ -o
23<i>option[=value]
24</i>] [ -p] [ -q ] [ -r ] [ -C/J/T
25<i>title
26</i>] [
27<i>file(s)
28</i>]
29<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
30<i>lpr</i> submits files for printing. Files named on the command
31line are sent to the named printer (or the default destination if no
32destination is specified). If no files are listed on the command-line,
33<i>lpr</i> reads the print file from the standard input.
34<h2 class="title"><a name="THE_DEFAULT_DESTINATION">The Default Destination</a></h2>
35CUPS provides many ways to set the default destination. The "LPDEST" and
36"PRINTER" environment variables are consulted first. If neither are set,
37the current default set using the <a href='man-lpoptions.html?TOPIC=Man+Pages'>lpoptions(1)</a> command is used,
38followed by the default set using the <a href='man-lpadmin.html?TOPIC=Man+Pages'>lpadmin(8)</a> command.
39<h2 class="title"><a name="OPTIONS">Options</a></h2>
40The following options are recognized by <i>lpr</i>:
41<dl>
42<dt>-E
43</dt>
44<dd></dd>
45<dd>Forces encryption when connecting to the server.
46</dd>
47<dt>-H server[:port]
48</dt>
49<dd></dd>
50<dd>Specifies an alternate server.
51</dd>
52<dt>-C "name"
53</dt>
54<dd></dd>
55<dt>-J "name"
56</dt>
57<dd></dd>
58<dt>-T "name"
59</dt>
60<dd></dd>
61<dd>Sets the job name.
62</dd>
63<dt>-P destination[/instance]
64</dt>
65<dd></dd>
66<dd>Prints files to the named printer.
67</dd>
68<dt>-U username
69</dt>
70<dd></dd>
71<dd>Specifies an alternate username.
72</dd>
73<dt>-# <i>copies</i>
74</dt>
75<dd></dd>
76<dd>Sets the number of copies to print from 1 to 100.
77</dd>
78<dt>-h
79</dt>
80<dd></dd>
81<dd>Disables banner printing. This option is equivalent to "-o
82job-sheets=none".
83</dd>
84<dt>-l
85</dt>
86<dd></dd>
87<dd>Specifies that the print file is already formatted for the
88destination and should be sent without filtering. This option is
89equivalent to "-o raw".
90</dd>
91<dt>-m
92</dt>
93<dd></dd>
94<dd>Send an email on job completion.
95</dd>
96<dt>-o option[=value]
97</dt>
98<dd></dd>
99<dd>Sets a job option.
100</dd>
101<dt>-p
102</dt>
103<dd></dd>
104<dd>Specifies that the print file should be formatted with a shaded
105header with the date, time, job name, and page number. This
106option is equivalent to "-o prettyprint" and is only useful when
107printing text files.
108</dd>
109<dt>-q
110</dt>
111<dd></dd>
112<dd>Hold job for printing.
113</dd>
114<dt>-r
115</dt>
116<dd></dd>
117<dd>Specifies that the named print files should be deleted after
118printing them.
119</dd>
120</dl>
121<h2 class="title"><a name="COMPATIBILITY">Compatibility</a></h2>
122The "c", "d", "f", "g", "i", "n", "t", "v", and "w" options
123are not supported by CUPS and produce a warning message if used.
124<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
125<a href='man-cancel.html?TOPIC=Man+Pages'>cancel(1)</a>, <a href='man-lp.html?TOPIC=Man+Pages'>lp(1)</a>, <a href='man-lpadmin.html?TOPIC=Man+Pages'>lpadmin(8)</a>, <a href='man-lpoptions.html?TOPIC=Man+Pages'>lpoptions(1)</a>,
126<a href='man-lpq.html?TOPIC=Man+Pages'>lpq(1)</a>, <a href='man-lprm.html?TOPIC=Man+Pages'>lprm(1)</a>, <a href='man-lpstat.html?TOPIC=Man+Pages'>lpstat(1)</a>,
127<br>
128<a href='http://localhost:631/help'>http://localhost:631/help</a>
129<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
130Copyright 2007-2013 by Apple Inc.
131
132</body>
133</html>