An introduction to printing
My CUPS Runneth Over
Using the Common Unix Printing System, you can configure and manage your printer from the command line.
Printing in Linux has changed out of all recognition from the early days. Today, you no longer need a PostScript printer or to set the options for print laboriously by hand. Thanks to OpenPrinting's database [1], you can immediately find whether a given printer will work on Linux, and, thanks to CUPS (originally, the Common Unix Printing System [2]), you can easily configure a printer with a GUI. As with most of the inner workings of a Linux system, however, working at the command line remains the easiest way to see what is actually going on when you print.
Before you dive into the subject of printing, a very brief reminder of the basics might be useful. Today, all major distributions install CUPS as a matter of course, as well as a number of printer drivers in the form of PostScript Printer Descriptions (PPDs) [3], which are generally stored in /usr/share/ppd and consist of a series of formatting and operational options. Should you need more PPDs, look in your distribution's repositories for the HPLIP [4], Gutenprint [5], and Foomatic Database [6] drivers, the basic sources for printer support.
When you print, a Linux system sends a job to a spool or queue in /var/spool/cups, which then passes it on to the printer with a speed that varies with both the system's and the printer's memory.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
KDE Linux Drops AUR
KDE Linux developers have dropped the Arch User Repository from the build pipeline due to security concerns; other distributions should consider doing the same.
-
California May Exempt Linux from Its Age-Verification Law
After backlash from the Linux community, California may be backing off on its promise to force all operating systems to verify age, but one platform may still have to comply.
-
Another Logic Bug Found in Linux Kernel
Qualys has discovered a vulnerability in the Linux kernel that can be used to elevate standard user privileges.
-
Ubuntu Core 26 Offers Game-Changing Enterprise Features
Ubuntu Core 26 could be a game-changer for organizations looking for increased security and reliability.
-
AI Flooding the Linux Kernel Security Mailing List
AI is giving Linus Torvalds a headache, but not in the way you might think.
-
Top Priorities for Open Source Pros Seeking a New Job
Professional fulfillment tops the list, according to LPI report.
-
Container-Based Fedora Hummingbird Designed for Agent-First Builders
Fedora Hummingbird brings the same approach to the host OS as it does to containers to level up security.
-
Linux kernel Developers Considering a Kill Switch
With the rise of Linux vulnerabilities, the kernel developers are now considering adding a component that could help temporarily mitigate against them… in the form of a kill switch.
-
Fedora 44 Now Gaming Ready
The latest version of Fedora has been released with gaming support.
-
Manjaro 26.1 Preview Unveils New Features
The latest Manjaro 26.1 preview has been released with new desktop versions, a new kernel, and more.
