Configuring CUPS
CUPS, an open source project initiated and headed by Easy Software Products, was adopted by Apple as Mac OS X’s internal printing system starting with OS Version 10.2.0.
For decades, the majority of Unix systems (including earlier versions of Mac OS X) have used a patchwork of different vendors’ printing systems, usually a mix of Berkeley Unix’s LPD/LPR and System V’s LP, which trace their roots back to the 1970s. As its name suggests, CUPS provides a printing system intended to work on any Unix-based system. It uses more recent technologies, particularly the Internet Printing Protocol (IPP), which layers printing-specific commands onto HTTP.[13] This allows, among other things, a CUPS-based print server to use HTTP-style authentication and access control, and to accept web client connections (as covered in Section 9.8.1).
Sharing Through cupsd.conf
For more sophisticated control and
greater security over your
computer’s role as a network-accessible print
server, use a text editor (such as TextEdit, Emacs, or
vi) to manually modify the CUPS
server’s configuration file that is found at
/etc/cups/cupsd.conf.
This file purposefully looks and works like Apache’s
configuration file. Just like
/etc/httpd/httpd.conf,
/etc/cups/cupsd.confd works simply by listing many key/value pairs of server directives, either standing alone (where they affect the whole server) or enclosed in XML-like block tags (where they affect a limited scope or location). The default file contains ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access