CHAPTER 16Configuring a Print Server
You can configure your Linux system to use printers that are connected directly to it (via a USB port) or that are available for printing over the network. Likewise, any printer that you configure on your local system can be shared with users on other Linux, Windows, or Mac systems by opening up your printer as a print server.
You configure a printer as a native Linux printer in Linux systems with the Common Unix Printing System (CUPS). To configure a printer to work as a Microsoft Windows–style of print server, you can use the Samba service in Linux.
This chapter focuses on CUPS. In particular, it shows you the graphical front end to CUPS, called the Print Settings window, which comes with Ubuntu right out of the box. Using Print Settings, you can also configure your printers as print servers so that people can access your printer from their own computers.
If you don’t have a desktop or you want to print from within a shell script, this chapter shows you how to use printing commands. From the command line, print commands such as lpr are available. Commands also exist for querying print queues (lpstat), manipulating print queues (cupsenable, cupsdisable, and cupsreject), and removing print jobs (cancel). Note that an older set of print commands are also available for backward compatibility that includes ...
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