]> git.ipfire.org Git - thirdparty/cups.git/blame - man/lpr.man
Update copyrights on all documentation.
[thirdparty/cups.git] / man / lpr.man
CommitLineData
771e5703 1.\"
b2e10895 2.\" "$Id$"
771e5703 3.\"
5b9bc2e0 4.\" lpr man page for CUPS.
771e5703 5.\"
c45401bb 6.\" Copyright 2007-2012 by Apple Inc.
cfea7a92 7.\" Copyright 1997-2006 by Easy Software Products.
771e5703 8.\"
9.\" These coded instructions, statements, and computer programs are the
4e8d321f 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/".
771e5703 14.\"
86de9054 15.TH lpr 1 "CUPS" "29 August 2008" "Apple Inc."
771e5703 16.SH NAME
17lpr \- print files
18.SH SYNOPSIS
19.B lpr
cfea7a92 20[ -E ] [ -H
766ef83d 21.I server[:port]
22] [ -U
b2e10895 23.I username
766ef83d 24] [ -P
25.I destination[/instance]
26] [ -#
771e5703 27.I num-copies
766ef83d 28[ -h ] [ -l ] [ -m ] [ -o
29.I option[=value]
30] [ -p] [ -q ] [ -r ] [ -C/J/T
771e5703 31.I title
32] [
33.I file(s)
34]
35.SH DESCRIPTION
766ef83d 36\fIlpr\fR submits files for printing. Files named on the command
2704a802 37line are sent to the named printer (or the default destination if no
38destination is specified). If no files are listed on the command-line,
39\fIlpr\fR reads the print file from the standard input.
40.SH THE DEFAULT DESTINATION
41CUPS provides many ways to set the default destination. The "LPDEST" and
42"PRINTER" environment variables are consulted first. If neither are set,
43the current default set using the \fIlpoptions(1)\fR command is used,
44followed by the default set using the \fIlpadmin(8)\fR command.
771e5703 45.SH OPTIONS
766ef83d 46The following options are recognized by \fIlpr\fR:
771e5703 47.TP 5
766ef83d 48-E
1c9e0181 49.br
50Forces encryption when connecting to the server.
51.TP 5
766ef83d 52-H server[:port]
771e5703 53.br
766ef83d 54Specifies an alternate server.
771e5703 55.TP 5
766ef83d 56-C "name"
57.TP 5
58-J "name"
771e5703 59.TP 5
766ef83d 60-T "name"
771e5703 61.br
62Sets the job name.
63.TP 5
766ef83d 64-P destination[/instance]
771e5703 65.br
766ef83d 66Prints files to the named printer.
771e5703 67.TP 5
766ef83d 68-U username
771e5703 69.br
766ef83d 70Specifies an alternate username.
771e5703 71.TP 5
766ef83d 72-# \fIcopies\fR
b2e10895 73.br
766ef83d 74Sets the number of copies to print from 1 to 100.
75.TP 5
76-h
77.br
78Disables banner printing. This option is equivalent to "-o
79job-sheets=none".
b2e10895 80.TP 5
766ef83d 81-l
771e5703 82.br
766ef83d 83Specifies that the print file is already formatted for the
84destination and should be sent without filtering. This option is
85equivalent to "-o raw".
771e5703 86.TP 5
766ef83d 87-m
88.br
89Send an email on job completion.
90.TP 5
91-o option[=value]
771e5703 92.br
93Sets a job option.
94.TP 5
766ef83d 95-p
96.br
97Specifies that the print file should be formatted with a shaded
98header with the date, time, job name, and page number. This
99option is equivalent to "-o prettyprint" and is only useful when
100printing text files.
101.TP 5
102-q
771e5703 103.br
766ef83d 104Hold job for printing.
771e5703 105.TP 5
766ef83d 106-r
771e5703 107.br
766ef83d 108Specifies that the named print files should be deleted after
109printing them.
771e5703 110.SH COMPATIBILITY
766ef83d 111The "c", "d", "f", "g", "i", "n", "t", "v", and "w" options
112are not supported by CUPS and produce a warning message if used.
771e5703 113.SH SEE ALSO
2704a802 114\fIcancel(1)\fR, \fIlp(1)\fR, \fIlpadmin(8)\fR, \fIlpoptions(1)\fR,
115\fIlpq(1)\fR, \fIlprm(1)\fR, \fIlpstat(1)\fR,
cfea7a92 116.br
117http://localhost:631/help
771e5703 118.SH COPYRIGHT
c45401bb 119Copyright 2007-2012 by Apple Inc.
771e5703 120.\"
b2e10895 121.\" End of "$Id$".
771e5703 122.\"