Configuring a Printer
In the Linux world, configuring a printer has traditionally been a challenge. For years, newcomers to Linux have been repeatedly challenged and even bludgeoned with scary terms, commands, and phrases that sound like a language from another planet. Users often had to edit fairly complex text files by hand and spend a good deal of time learning how to insert arcane instructions just to get a printer to work. However, things have changed with Ubuntu.
Most of the time, it is possible to add or configure a printer easily and quickly. The one caveat is that not all printer manufacturers provide Linux drivers for their devices. While the Linux community works very hard to write drivers, many times the newest printer models do not have adequate software to interact with Linux. Most printer models that are older than 6 or 9 months seem to work quite well, though.
To get started installing your printer, click the Gear icon in the upper right of the top panel, and select Printers from the menu. This option brings up the Printers window, as shown in Figure 3-14.
Figure 3-14 The Printers window
The Printer configuration window lets you add printers and modify their settings. In the upcoming example, you will add a new printer and then view its settings.
Gathering Information
The most important thing to remember when configuring a printer is to not get ahead of yourself. Before you start clicking on icons and running anything, make sure you have completed the following steps.
- 1. Note the make and model of the printer. This information is usually printed clearly on the hardware itself. In our example, we add a Brother MFC-7820N.
- 2. Plug the printer in to your computer or to the network, and turn it on.
Launching the Wizard
Once you have properly prepared to install your printer, click Add to bring up the the New Printer window. The system automatically searches for any new connected printers and launches a New Printer wizard, shown in Figure 3-15.
Figure 3-15 Selecting a printer
In most cases, the wizards can detect an attached printer automatically and will include it in a list of devices on the left. If your printer is plugged directly into a router, it is possible for the printer Wizard to find it by selecting Find Network Printer.
Select the device with your printer’s name, and then hit Forward.
At this point, you must choose a printer manufacturer. If your printer has been automatically detected, the wizard will choose a manufacturer. Click Forward.
In the next screen, you are asked to choose both a model and a driver. For autodetected printers, both should be automatically selected, and the default driver should work. You can always change it later. If no driver is selected, scroll through the list of options by manufacturer.
Sometimes you may not find the exact model or driver for your specific printer. Generally, if the driver does not exist for your exact model, choose the closest one, and then test it. If that doesn’t work, you can try other drivers intended for printers from the same manufacturer.
Click Forward to proceed with the installation. If you need to install a custom driver, click the Install Driver button.
Finally, you can enter a description and location for your printer, as shown in Figure 3-16. Click Apply to complete the process and set up your printer.
Figure 3-16 Entering printer location and description
Mission Accomplished!
After you click Apply, you will see your printer’s name under the Local Printers heading. You can click on it and then print out a test page. Do so, and make sure the page prints correctly. If you find that the page prints well, you are finished. You can now print from the applications you have installed, such as LibreOffice.
Remote Printing
You can also configure your Ubuntu system to send print jobs to a remote print server. If, for example, you have a Windows system with a printer attached on your network, simply choose the Network Printer radio button during configuration and specify the host name or IP address of the Windows system. You will then have to specify a connection protocol.
If your Windows system is sharing a printer, you will have to specify Samba, which is the standard way to get Linux and Windows systems to communicate with each other. You will still have to specify a print driver, as described earlier.