cups(1)
๐ cups(1) ๐
okay so bestie, welcome to the cups(1) manual page โ this is the OpenPrinting printing system and honestly? she's iconic. let's get into it.
โจ NAME โจ
cups โ a standards-based, open source printing system ๐จ๏ธ
๐ธ DESCRIPTION ๐ธ
So like, CUPS is the software you use to print from applications โ word processors, email readers, photo editors, web browsers, all of them. What it does is it takes the page descriptions your app produces (put a paragraph here, draw a line there, and so forth) and converts them into something your printer can actually understand, and then it sends that info to the printer for printing. no cap. ๐
Now here's the thing bestie โ every printer manufacturer does things differently, so printing can be very complicated. CUPS does its best to hide all that from you and your application so 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. she's self-sufficient like that ๐
๐ฆ HOW DOES IT WORK? ๐ฆ
The first time you print to a printer, CUPS 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 โ but it can also point to a printer on your network, a printer on the Internet, or multiple printers depending on the configuration. And regardless of where the queue points, it will look like any other printer to you and your applications. main character energy for real. โจ
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. Jobs 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. it's giving project manager honestly ๐ง
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. ๐ซถ
๐ WHERE DO I BEGIN? ๐
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. yes bestie, it's literally just that. ๐ญ
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. obsessed. ๐
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. vibe check passed. โ
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.
๐ HOW DO I GET HELP? ๐
The OpenPrinting CUPS website (https://openprinting.github.io/cups) provides access to the cups and cups-devel 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. go ask, we don't gatekeep here ๐ธ
๐ ENVIRONMENT ๐
CUPS 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. periodt, no exceptions.
CUPS_ANYROOTโ Whether to allow any X.509 certificate root (YorN).CUPS_CACHEDIRโ The directory where semi-persistent cache files can be found.CUPS_DATADIRโ The directory where data files can be found.CUPS_ENCRYPTIONโ The default level of encryption (Always,IfRequested,Never,Required).CUPS_EXPIREDCERTSโ Whether to allow expired X.509 certificates (YorN).CUPS_GSSSERVICENAMEโ The Kerberos service name used for authentication.CUPS_SERVERโ The hostname/IP address and port number of the CUPS scheduler (hostname:portoripaddress:port).CUPS_SERVERBINโ The directory where server helper programs, filters, backend, etc. can be found.CUPS_SERVERROOTโ The root directory of the server.CUPS_STATEDIRโ The directory where state files can be found.CUPS_USERโ Specifies the name of the user for print requests.HOMEโ Specifies the home directory of the current user.IPP_PORTโ Specifies the default port number for IPP requests.LOCALEDIRโ Specifies the location of localization files.LPDESTโ Specifies the default print queue (System V standard).PRINTERโ Specifies the default print queue (Berkeley standard).TMPDIRโ Specifies the location of temporary files.
๐ FILES ๐
~/.cups/client.conf
~/.cups/lpoptions
โญ CONFORMING TO โญ
CUPS conforms to the Internet Printing Protocol version 2.1 and implements the Berkeley and System V UNIX print commands. she's certified, she's legit, she's got the credentials. ๐
๐ NOTES ๐
๐จ CUPS printer drivers, backends, and PPD files are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as ippeveprinter(1). bestie please plan accordingly, this is your heads up fr fr ๐ญ
๐ฅ SEE ALSO ๐ฅ
cancel(1), client.conf(5), cupsctl(8), cupsd(8), lp(1), lpadmin(8), lpinfo(8), lpoptions(1), lpr(1), lprm(1), lpq(1), lpstat(1), CUPS Online Help (http://localhost:631/help), OpenPrinting CUPS Web Site (https://openprinting.github.io/cups), PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)
๐ COPYRIGHT ๐
Copyright ยฉ 2020-2024 by OpenPrinting.
and that's the whole thing, bestie ๐โจ this was the cups(1) page from the CUPS manual, dated 2021-02-28 โ mwah, iconic, no notes ๐๐ฆ๐
๐ฆ where this page comes from
- alpine 3.22: cups-doc 2.4.18-r0 ยท Apache-2.0
- alpine 3.23: cups-doc 2.4.18-r0 ยท Apache-2.0
- alpine 3.24: cups-doc 2.4.19-r1 ยท Apache-2.0
- centos-stream 10: cups 1:2.4.10-18.el10 ยท Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- debian trixie: cups 2.4.10-3+deb13u1 ยท Apache-2.0-with-GPL2-LGPL2-Exception
- debian trixie: cups 2.4.10-3+deb13u2 ยท Apache-2.0-with-GPL2-LGPL2-Exception
- fedora 43: cups 1:2.4.14-2.fc43 ยท Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 43: cups 1:2.4.19-3.fc43 ยท Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups 1:2.4.16-7.fc44 ยท Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups 1:2.4.19-3.fc44 ยท Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- nixpkgs unstable: cups 2.4.19
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 ยท Apache-2.0
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 ยท Apache-2.0
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 ยท Apache-2.0
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 ยท Apache-2.0
- ubuntu questing: cups 2.4.12-0ubuntu3
- ubuntu questing: cups 2.4.12-0ubuntu3.10
- ubuntu resolute: cups 2.4.16-1ubuntu1 ยท Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu resolute: cups 2.4.16-1ubuntu1.3 ยท Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu stonking: cups 2.4.16-1ubuntu3 ยท Apache-2.0-with-GPL2-LGPL2-Exception
- Copyright ยฉ 2020-2024 by OpenPrinting
- Copyright ยฉ 2007-2019 by Apple Inc
- Copyright ยฉ 1997-2006 by Easy Software Products
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms