Blame man/cups.man

Packit 2fc92b
.\"
Packit 2fc92b
.\" cups (intro) man page for CUPS.
Packit 2fc92b
.\"
Packit 2fc92b
.\" Copyright 2007-2014 by Apple Inc.
Packit 2fc92b
.\" Copyright 1997-2006 by Easy Software Products.
Packit 2fc92b
.\"
Packit 2fc92b
.\" These coded instructions, statements, and computer programs are the
Packit 2fc92b
.\" property of Apple Inc. and are protected by Federal copyright
Packit 2fc92b
.\" law.  Distribution and use rights are outlined in the file "LICENSE.txt"
Packit 2fc92b
.\" which should have been included with this file.  If this file is
Packit 2fc92b
.\" file is missing or damaged, see the license at "http://www.cups.org/".
Packit 2fc92b
.\"
Packit 2fc92b
.TH cups 1 "CUPS" "16 April 2014" "Apple Inc."
Packit 2fc92b
.SH NAME
Packit 2fc92b
cups \- a standards-based, open source printing system
Packit 2fc92b
.SH DESCRIPTION
Packit 2fc92b
.B CUPS
Packit 2fc92b
is 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.
Packit 2fc92b
.LP
Packit 2fc92b
Now, since every printer manufacturer does things differently, printing can be very complicated.
Packit 2fc92b
.B CUPS
Packit 2fc92b
does 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
Packit 2fc92b
.B CUPS
Packit 2fc92b
can often figure things out on its own.
Packit 2fc92b
.SS HOW DOES IT WORK?
Packit 2fc92b
The first time you print to a printer,
Packit 2fc92b
.B CUPS
Packit 2fc92b
creates 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.
Packit 2fc92b
.LP
Packit 2fc92b
Every time you print something,
Packit 2fc92b
.B CUPS
Packit 2fc92b
creates 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
Packit 2fc92b
.B CUPS
Packit 2fc92b
gets 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.
Packit 2fc92b
.LP
Packit 2fc92b
When the print job is completely printed,
Packit 2fc92b
.B CUPS
Packit 2fc92b
removes 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.
Packit 2fc92b
.SS WHERE DO I BEGIN?
Packit 2fc92b
The 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.
Packit 2fc92b
.LP
Packit 2fc92b
When you are asked for a username and password, enter your login username and password or the "root" username and password.
Packit 2fc92b
.LP
Packit 2fc92b
After 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.
Packit 2fc92b
.LP
Packit 2fc92b
Once 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.
Packit 2fc92b
.LP
Packit 2fc92b
You can also use the
Packit 2fc92b
.BR lpadmin (8)
Packit 2fc92b
and
Packit 2fc92b
.BR lpinfo (8)
Packit 2fc92b
commands to add printers to
Packit 2fc92b
.BR CUPS .
Packit 2fc92b
Additionally, your operating system may include graphical user interfaces or automatically create printer queues when you connect a printer to your computer.
Packit 2fc92b
.SS HOW DO I GET HELP?
Packit 2fc92b
The
Packit 2fc92b
.B CUPS
Packit 2fc92b
web site (http://www.CUPS.org) provides access to the
Packit 2fc92b
.I cups
Packit 2fc92b
and
Packit 2fc92b
.I cups-devel
Packit 2fc92b
mailing 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.
Packit 2fc92b
.SH ENVIRONMENT
Packit 2fc92b
.B CUPS
Packit 2fc92b
commands 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:
Packit 2fc92b
.TP 5
Packit 2fc92b
.B CUPS_ANYROOT
Packit 2fc92b
Whether to allow any X.509 certificate root (Y or N).
Packit 2fc92b
.TP 5
Packit 2fc92b
.B CUPS_CACHEDIR
Packit 2fc92b
The directory where semi-persistent cache files can be found.
Packit 2fc92b
.TP 5
Packit 2fc92b
.B CUPS_DATADIR
Packit 2fc92b
The directory where data files can be found.
Packit 2fc92b
.TP 5
Packit 2fc92b
.B CUPS_ENCRYPTION
Packit 2fc92b
The default level of encryption (Always, IfRequested, Never, Required).
Packit 2fc92b
.TP 5
Packit 2fc92b
.B CUPS_EXPIREDCERTS
Packit 2fc92b
Whether to allow expired X.509 certificates (Y or N).
Packit 2fc92b
.TP 5
Packit 2fc92b
.B CUPS_GSSSERVICENAME
Packit 2fc92b
The Kerberos service name used for authentication.
Packit 2fc92b
.TP 5
Packit 2fc92b
.B CUPS_SERVER
Packit 2fc92b
The hostname/IP address and port number of the CUPS scheduler (hostname:port or ipaddress:port).
Packit 2fc92b
.TP 5
Packit 2fc92b
.B CUPS_SERVERBIN
Packit 2fc92b
The directory where server helper programs, filters, backend, etc. can be found.
Packit 2fc92b
.TP 5
Packit 2fc92b
.B CUPS_SERVERROOT
Packit 2fc92b
The root directory of the server.
Packit 2fc92b
.TP 5
Packit 2fc92b
.B CUPS_STATEDIR
Packit 2fc92b
The directory where state files can be found.
Packit 2fc92b
.TP 5
Packit 2fc92b
.B CUPS_USER
Packit 2fc92b
Specifies the name of the user for print requests.
Packit 2fc92b
.TP 5
Packit 2fc92b
.B HOME
Packit 2fc92b
Specifies the home directory of the current user.
Packit 2fc92b
.TP 5
Packit 2fc92b
.B IPP_PORT
Packit 2fc92b
Specifies the default port number for IPP requests.
Packit 2fc92b
.TP 5
Packit 2fc92b
.B LOCALEDIR
Packit 2fc92b
Specifies the location of localization files.
Packit 2fc92b
.TP 5
Packit 2fc92b
.B LPDEST
Packit 2fc92b
Specifies the default print queue (System V standard).
Packit 2fc92b
.TP 5
Packit 2fc92b
.B PRINTER
Packit 2fc92b
Specifies the default print queue (Berkeley standard).
Packit 2fc92b
.TP 5
Packit 2fc92b
.B TMPDIR
Packit 2fc92b
Specifies the location of temporary files.
Packit 2fc92b
.SH FILES
Packit 2fc92b
.nf
Packit 2fc92b
.I ~/.cups/client.conf
Packit 2fc92b
.I ~/.cups/lpoptions
Packit 2fc92b
.fi
Packit 2fc92b
.SH CONFORMING TO
Packit 2fc92b
.B CUPS
Packit 2fc92b
conforms to the Internet Printing Protocol version 2.1 and implements the Berkeley and System V UNIX print commands.
Packit 2fc92b
.SH SEE ALSO
Packit 2fc92b
.BR cancel (1),
Packit 2fc92b
.BR client.conf (7),
Packit 2fc92b
.BR cupsctl (8),
Packit 2fc92b
.BR cupsd (8),
Packit 2fc92b
.BR lp (1),
Packit 2fc92b
.BR lpadmin (8),
Packit 2fc92b
.BR lpinfo (8),
Packit 2fc92b
.BR lpoptions (1),
Packit 2fc92b
.BR lpr (1),
Packit 2fc92b
.BR lprm (1),
Packit 2fc92b
.BR lpq (1),
Packit 2fc92b
.BR lpstat (1),
Packit 2fc92b
CUPS Online Help (http://localhost:631/help),
Packit 2fc92b
CUPS Web Site (http://www.CUPS.org),
Packit 2fc92b
PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)
Packit 2fc92b
.SH COPYRIGHT
Packit 2fc92b
Copyright \[co] 2007-2017 by Apple Inc.