CUPS Configuration
Jump to navigation
Jump to search
CUPS (Common UNIX Printing System) is the standard Linux printing subsystem. It is relatively advanced and generally quite easy to configure.
Basics
- Once you install cups in Gentoo (and start the daemon cupsd), the web interface is accessible at http://localhost:631/.
- From the interface, you can add printers. The most important thing to understand is how your computer is connected to the printer, and which protocols the printer supports (CUPS support all but the most exotic protocols so this should not be a problem).
- The most common protocols are IPP, lpd/lpr and direct access on port 9100. CUPS recommends IPP if it is available, however I have not yet fully understood what's the address of an IPP printer. So try lpr:/ or socket:/ protocols if IPP does not work.
PPD file
- The PPD file is *extremely* important to get your printer correctly working. If you don't supply it the right PPD file, features such as Duplex Printing (two-sided printing) may not work at all.
- Be sure you downloaded the correct PPD file for your printer (this file is quite platform independant, so you can use the Windows file if the manufacturer is stupid enough not to provide a Linux one). Then move it to /usr/share/cups/model and restart CUPS. You can then normally choose it when configuring your printer.
- The PPD file will be used by the configuration web application. Just choose Printer Settings in CUPS and you should get a list of all the options your printer supports. Configure important ones such as Duplex Printing, etc.