1lpr(1) Easy Software Products lpr(1)
2
3
4
6 lpr - print files
7
9 lpr [ -E ] [ -H server[:port] ] [ -U username ] [ -P destina‐
10 tion[/instance] ] [ -# num-copies [ -h ] [ -l ] [ -m ] [ -o
11 option[=value] ] [ -p] [ -q ] [ -r ] [ -C/J/T title ] [ file(s) ]
12
14 lpr submits files for printing. Files named on the command line are
15 sent to the named printer (or the system default destination if no des‐
16 tination is specified). If no files are listed on the command-line, lpr
17 reads the print file from the standard input.
18
20 The following options are recognized by lpr:
21
22 -E
23 Forces encryption when connecting to the server.
24
25 -H server[:port]
26 Specifies an alternate server.
27
28 -C "name"
29
30 -J "name"
31
32 -T "name"
33 Sets the job name.
34
35 -P destination[/instance]
36 Prints files to the named printer.
37
38 -U username
39 Specifies an alternate username.
40
41 -# copies
42 Sets the number of copies to print from 1 to 100.
43
44 -h
45 Disables banner printing. This option is equivalent to "-o job-
46 sheets=none".
47
48 -l
49 Specifies that the print file is already formatted for the desti‐
50 nation and should be sent without filtering. This option is equiv‐
51 alent to "-o raw".
52
53 -m
54 Send an email on job completion.
55
56 -o option[=value]
57 Sets a job option.
58
59 -p
60 Specifies that the print file should be formatted with a shaded
61 header with the date, time, job name, and page number. This option
62 is equivalent to "-o prettyprint" and is only useful when printing
63 text files.
64
65 -q
66 Hold job for printing.
67
68 -r
69 Specifies that the named print files should be deleted after
70 printing them.
71
73 The "c", "d", "f", "g", "i", "n", "t", "v", and "w" options are not
74 supported by CUPS and produce a warning message if used.
75
77 cancel(1), lp(1), lpq(1), lprm(1), lpstat(1),
78 http://localhost:631/help
79
81 Copyright 1997-2006 by Easy Software Products, All Rights Reserved.
82
83
84
8512 February 2006 Common UNIX Printing System lpr(1)