]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cups.1
Greatly simplify the man page handling.
[thirdparty/cups.git] / man / cups.1
CommitLineData
969af935 1.\"
969af935
MS
2.\" cups (intro) man page for CUPS.
3.\"
87030afb
MS
4.\" Copyright © 2007-2019 by Apple Inc.
5.\" Copyright © 1997-2006 by Easy Software Products.
969af935 6.\"
87030afb
MS
7.\" Licensed under Apache License v2.0. See the file "LICENSE" for more
8.\" information.
969af935 9.\"
87030afb 10.TH cups 1 "CUPS" "26 April 2019" "Apple Inc."
969af935
MS
11.SH NAME
12cups \- a standards-based, open source printing system
13.SH DESCRIPTION
14.B CUPS
15is the software you use to print from applications like word processors, email readers, photo editors, and web browsers. It converts the page descriptions produced by your application (put a paragraph here, draw a line there, and so forth) into something your printer can understand and then sends the information to the printer for printing.
16.LP
17Now, since every printer manufacturer does things differently, printing can be very complicated.
18.B CUPS
19does its best to hide this from you and your application so that you can concentrate on printing and less on how to print. Generally, the only time you need to know anything about your printer is when you use it for the first time, and even then
20.B CUPS
21can often figure things out on its own.
a99f5c6a 22.SS HOW DOES IT WORK?
969af935
MS
23The first time you print to a printer,
24.B CUPS
25creates a queue to keep track of the current status of the printer (everything OK, out of paper, etc.) and any pages you have printed. Most of the time the queue points to a printer connected directly to your computer via a USB port, however it can also point to a printer on your network, a printer on the Internet, or multiple printers depending on the configuration. Regardless of where the queue points, it will look like any other printer to you and your applications.
26.LP
27Every time you print something,
28.B CUPS
29creates a job which contains the queue you are sending the print to, the name of the document you are printing, and the page descriptions. Job are numbered (queue-1, queue-2, and so forth) so you can monitor the job as it is printed or cancel it if you see a mistake. When
30.B CUPS
31gets a job for printing, it determines the best programs (filters, printer drivers, port monitors, and backends) to convert the pages into a printable format and then runs them to actually print the job.
32.LP
33When the print job is completely printed,
34.B CUPS
35removes the job from the queue and moves on to any other jobs you have submitted. You can also be notified when the job is finished, or if there are any errors during printing, in several different ways.
a99f5c6a 36.SS WHERE DO I BEGIN?
2909c66c 37The easiest way to start is by using the web interface to configure your printer. Go to "http://localhost:631" and choose the Administration tab at the top of the page. Click/press on the Add Printer button and follow the prompts.
969af935
MS
38.LP
39When you are asked for a username and password, enter your login username and password or the "root" username and password.
40.LP
2909c66c 41After the printer is added you will be asked to set the default printer options (paper size, output mode, etc.) for the printer. Make any changes as needed and then click/press on the Set Default Options button to save them. Some printers also support auto-configuration - click/press on the Query Printer for Default Options button to update the options automatically.
969af935
MS
42.LP
43Once you have added the printer, you can print to it from any application. You can also choose Print Test Page from the maintenance menu to print a simple test page and verify that everything is working properly.
44.LP
45You can also use the
46.BR lpadmin (8)
47and
48.BR lpinfo (8)
49commands to add printers to
50.BR CUPS .
51Additionally, your operating system may include graphical user interfaces or automatically create printer queues when you connect a printer to your computer.
a99f5c6a
MS
52.SS HOW DO I GET HELP?
53The
54.B CUPS
55web site (http://www.CUPS.org) provides access to the
2909c66c
MS
56.I cups
57and
58.I cups-devel
59mailing lists, additional documentation and resources, and a bug report database. Most vendors also provide online discussion forums to ask printing questions for your operating system of choice.
969af935
MS
60.SH ENVIRONMENT
61.B CUPS
62commands use the following environment variables to override the default locations of files and so forth. For security reasons, these environment variables are ignored for setuid programs:
63.TP 5
2909c66c 64.B CUPS_ANYROOT
969af935
MS
65Whether to allow any X.509 certificate root (Y or N).
66.TP 5
2909c66c 67.B CUPS_CACHEDIR
969af935
MS
68The directory where semi-persistent cache files can be found.
69.TP 5
2909c66c 70.B CUPS_DATADIR
969af935
MS
71The directory where data files can be found.
72.TP 5
2909c66c 73.B CUPS_ENCRYPTION
969af935
MS
74The default level of encryption (Always, IfRequested, Never, Required).
75.TP 5
2909c66c 76.B CUPS_EXPIREDCERTS
969af935
MS
77Whether to allow expired X.509 certificates (Y or N).
78.TP 5
2909c66c 79.B CUPS_GSSSERVICENAME
969af935
MS
80The Kerberos service name used for authentication.
81.TP 5
2909c66c
MS
82.B CUPS_SERVER
83The hostname/IP address and port number of the CUPS scheduler (hostname:port or ipaddress:port).
84.TP 5
85.B CUPS_SERVERBIN
969af935
MS
86The directory where server helper programs, filters, backend, etc. can be found.
87.TP 5
2909c66c 88.B CUPS_SERVERROOT
969af935
MS
89The root directory of the server.
90.TP 5
2909c66c 91.B CUPS_STATEDIR
969af935
MS
92The directory where state files can be found.
93.TP 5
2909c66c 94.B CUPS_USER
969af935
MS
95Specifies the name of the user for print requests.
96.TP 5
2909c66c 97.B HOME
969af935
MS
98Specifies the home directory of the current user.
99.TP 5
2909c66c 100.B IPP_PORT
969af935
MS
101Specifies the default port number for IPP requests.
102.TP 5
2909c66c 103.B LOCALEDIR
969af935
MS
104Specifies the location of localization files.
105.TP 5
2909c66c 106.B LPDEST
969af935
MS
107Specifies the default print queue (System V standard).
108.TP 5
2909c66c 109.B PRINTER
969af935
MS
110Specifies the default print queue (Berkeley standard).
111.TP 5
2909c66c 112.B TMPDIR
969af935
MS
113Specifies the location of temporary files.
114.SH FILES
2909c66c
MS
115.nf
116.I ~/.cups/client.conf
117.I ~/.cups/lpoptions
118.fi
969af935
MS
119.SH CONFORMING TO
120.B CUPS
121conforms to the Internet Printing Protocol version 2.1 and implements the Berkeley and System V UNIX print commands.
87030afb
MS
122.SH NOTES
123CUPS printer drivers, backends, and PPD files are deprecated and will no longer be supported in a future feature release of CUPS.
124Printers that do not support IPP can be supported using applications such as
125.BR ippeveprinter (1).
969af935 126.SH SEE ALSO
2909c66c
MS
127.BR cancel (1),
128.BR client.conf (7),
129.BR cupsctl (8),
130.BR cupsd (8),
131.BR lp (1),
132.BR lpadmin (8),
133.BR lpinfo (8),
134.BR lpoptions (1),
135.BR lpr (1),
136.BR lprm (1),
137.BR lpq (1),
138.BR lpstat (1),
139CUPS Online Help (http://localhost:631/help),
140CUPS Web Site (http://www.CUPS.org),
141PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)
969af935 142.SH COPYRIGHT
87030afb 143Copyright \[co] 2007-2019 by Apple Inc.