]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cups.man
Add cups(1) man page with CUPS overview information and relevant links.
[thirdparty/cups.git] / man / cups.man
CommitLineData
969af935
MS
1.\"
2.\" "$Id$"
3.\"
4.\" cups (intro) man page for CUPS.
5.\"
6.\" Copyright 2007-2014 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 cups 1 "CUPS" "4 March 2014" "Apple Inc."
16.SH NAME
17cups \- a standards-based, open source printing system
18.SH DESCRIPTION
19.B CUPS
20is 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.
21.LP
22Now, since every printer manufacturer does things differently, printing can be very complicated.
23.B CUPS
24does 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
25.B CUPS
26can often figure things out on its own.
27.SH HOW DOES IT WORK?
28The first time you print to a printer,
29.B CUPS
30creates 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.
31.LP
32Every time you print something,
33.B CUPS
34creates 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
35.B CUPS
36gets 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.
37.LP
38When the print job is completely printed,
39.B CUPS
40removes 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.
41.SH WHERE DO I BEGIN?
42The easiest way to start is by using the
43.B CUPS
44web 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.
45.LP
46When you are asked for a username and password, enter your login username and password or the "root" username and password.
47.LP
48After the printer is added,
49.B CUPS
50will ask you to set the default printer options (paper size, output mode, etc.) for the printer. Make any changes as needed and then click on the Set Default Options button to save them. Some printers also support auto-configuration - click on the Query Printer for Default Options button to update the options automatically.
51.LP
52Once 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.
53.LP
54You can also use the
55.BR lpadmin (8)
56and
57.BR lpinfo (8)
58commands to add printers to
59.BR CUPS .
60Additionally, your operating system may include graphical user interfaces or automatically create printer queues when you connect a printer to your computer.
61.SH ENVIRONMENT
62.B CUPS
63commands 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:
64.TP 5
65CUPS_SERVER
66The hostname/IP address and port number of the CUPS scheduler (hostname:port or ipaddress:port).
67.TP 5
68CUPS_ANYROOT
69Whether to allow any X.509 certificate root (Y or N).
70.TP 5
71CUPS_CACHEDIR
72The directory where semi-persistent cache files can be found.
73.TP 5
74CUPS_DATADIR
75The directory where data files can be found.
76.TP 5
77CUPS_ENCRYPTION
78The default level of encryption (Always, IfRequested, Never, Required).
79.TP 5
80CUPS_EXPIREDROOT
81Whether to allow expired X.509 certificate roots (Y or N).
82.TP 5
83CUPS_EXPIREDCERTS
84Whether to allow expired X.509 certificates (Y or N).
85.TP 5
86CUPS_GSSSERVICENAME
87The Kerberos service name used for authentication.
88.TP 5
89CUPS_SERVERBIN
90The directory where server helper programs, filters, backend, etc. can be found.
91.TP 5
92CUPS_SERVERROOT
93The root directory of the server.
94.TP 5
95CUPS_STATEDIR
96The directory where state files can be found.
97.TP 5
98CUPS_USER
99Specifies the name of the user for print requests.
100.TP 5
101HOME
102Specifies the home directory of the current user.
103.TP 5
104IPP_PORT
105Specifies the default port number for IPP requests.
106.TP 5
107LOCALEDIR
108Specifies the location of localization files.
109.TP 5
110LPDEST
111Specifies the default print queue (System V standard).
112.TP 5
113PRINTER
114Specifies the default print queue (Berkeley standard).
115.TP 5
116TMPDIR
117Specifies the location of temporary files.
118.SH FILES
119~/.cups/client.conf, ~/.cups/lpoptions
120.SH CONFORMING TO
121.B CUPS
122conforms to the Internet Printing Protocol version 2.1 and implements the Berkeley and System V UNIX print commands.
123.SH SEE ALSO
124.BR cancel (1), client.conf (7), cupsctl (8), cupsd (8), lp (1), lpadmin (8), lpinfo (8), lpoptions (1), lpr (1), lprm (1), lpq (1), lpstat (1),
125http://localhost:631/help,
126http://www.CUPS.org,
127http://www.pwg.org/ipp
128.SH COPYRIGHT
129Copyright \[co] 2007-2014 by Apple Inc.
130.\"
131.\" End of "$Id$".
132.\"