cups (intro) man page for CUPS.
Copyright © 2007-2019 by Apple Inc.
Copyright © 1997-2006 by Easy Software Products.
Licensed under Apache License v2.0. See the file "LICENSE" for more
information.
Now, since every printer manufacturer does things differently, printing can be very complicated. CUPS 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 CUPS can often figure things out on its own.
Every time you print something, CUPS 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 CUPS 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.
When the print job is completely printed, CUPS 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.
When you are asked for a username and password, enter your login username and password or the "root" username and password.
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.
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.
You can also use the lpadmin (8) and lpinfo (8) commands to add printers to CUPS . Additionally, your operating system may include graphical user interfaces or automatically create printer queues when you connect a printer to your computer.
5 CUPS_ANYROOT Whether to allow any X.509 certificate root (Y or N).
5 CUPS_CACHEDIR The directory where semi-persistent cache files can be found.
5 CUPS_DATADIR The directory where data files can be found.
5 CUPS_ENCRYPTION The default level of encryption (Always, IfRequested, Never, Required).
5 CUPS_EXPIREDCERTS Whether to allow expired X.509 certificates (Y or N).
5 CUPS_GSSSERVICENAME The Kerberos service name used for authentication.
5 CUPS_SERVER The hostname/IP address and port number of the CUPS scheduler (hostname:port or ipaddress:port).
5 CUPS_SERVERBIN The directory where server helper programs, filters, backend, etc. can be found.
5 CUPS_SERVERROOT The root directory of the server.
5 CUPS_STATEDIR The directory where state files can be found.
5 CUPS_USER Specifies the name of the user for print requests.
5 HOME Specifies the home directory of the current user.
5 IPP_PORT Specifies the default port number for IPP requests.
5 LOCALEDIR Specifies the location of localization files.
5 LPDEST Specifies the default print queue (System V standard).
5 PRINTER Specifies the default print queue (Berkeley standard).
5 TMPDIR Specifies the location of temporary files.
~/.cups/client.conf ~/.cups/lpoptions