Tuesday, December 13, 2016

Printing III

Installing CUPS


Unlike the services we reviewed earlier in this chapter, there’s a
pretty good chance that your Linux distribution installed the packages
required to provide CUPS printing by default. As stated earlier, CUPS
is the default printing system used by most modern Linux
distributions.



If your distribution didn’t install CUPS for some reason, use the
package installation utility of your choice to install the following
packages (along with any dependent packages):



• cups
• cups-client (optional)
• gutenprint (Contains printer drivers for cups.) • cups-libs
• libgnomecups (optional)




After the packages are installed, the binary that provides the CUPS
service is the cupsd executable located in


/usr/sbin


 If your distribution uses the init daemon to manage processes, the CUPS
service is started and stopped using the cups init script in


/etc/init.d or /etc/rc.d/init.d


shown in Figure 16-3.



If your distribution is based on systemd, the CUPS service is started and
stopped using the



/usr/lib/systemd/system/cups.service 



file.




Once the CUPS packages are installed on your system, you’re ready to
configure and start the CUPS service on your server.










LX0-104 Exam Objectives (Q)

No comments:

Post a Comment