How to connect a printer to Ubuntu

Despite the arrival of the digital era, print still remains one of the main features of the computer. But in Linux, printing all is not so simple. In recent years the situation has greatly improved, there’s the universal protocols to communicate with the printer with which the system can print even without installing the drivers, but with older devices can still be a problem.

The majority of printer manufacturers have not released separate drivers for Linux, so the choice of printer, you first need to see whether it supports your operating system. In this article we will discuss how to connect the printer to your Ubuntu on the example of printer Canon Pixma e414 and Ubuntu 18.04, however, the General sequence of actions will be suitable for other Linux distributions.

How to connect a printer to Ubuntu

1. Adding a printer to the system

The article focused primarily on the modern printers that connect to a computer via USB. First connect the printer to power supply, turn it on, and then connect the USB cable from the printer to the computer.

You need to first check determines if your system the printer automatically. As I said, modern printers support universal communication Protocol and it is supported in newer versions of distributions. To do this, open the utility Settings, and then click Devices and Printers:

Here, click Add a printer:

The system will search for printers, and then displays the list of found devices. If the printer was found, select it and click Add.

When the printer appears in the main window, you can click the gear icon and set the check mark Use by defaultto always use this printer to print. More accurate printer setup ubuntu can be done using print Options. Here you can see the print queue. Now to print something, for example, by using LibreOffice to make sure that everything works.

2. Search and install drivers

If the first method doesn’t work, you will have to try to find a driver for this printer on the Internet. Even if the printer earned, but it has a built-in scanner, without drivers you will not be able to make it work.

Driver you can find via Google or on the official website. For cheep drivers you can also use the Vendor ID of your printer you can look with the command lsusb:

lsusb

To understand which records belongs to the printer you can run the command with a connected printer without it, and then compare or look at the output of the printer name. For example, I have this Canon. For this printer, you can find the driver on the official website. Separately Canon e414 drivers no, but it will work with drivers e410.

Download the version of Linux drivers in deb format, and a utility for scanning ScanGear. Then unzip the packages and install the packages themselves. The developers put in the archive, not only the package, but the script to install, so after unpacking you can run the script .sh:

tar xvzf cnijfilter2-5.10-1-deb.tar.gz

sudo sh ./cnijfilter2-5.10-1-deb/install.sh

After installation, the utility will ask to connect the printer. Select USB connection, press Enter, and then enter the number of the found printer and press Enter again. The utility registers the printer in the system and now you will be able to use it.

Similar actions need to be done to utility scanning:

tar xvzf scangearmp2-3.10-1-deb.tar.gz

sudo sh ./scangearmp2-3.10-1-deb/install.sh

You can now run something in print. To launch the utility scan use the command:

scangear2

Install printer Ubuntu completed. In my Canon E414 scanner to configure and failed, and the print works fine.

3. Manual setting CPUS

Common Unix Printer Service is a service to configure and manage printers developed by Apple for MacOS and other operating systems based on Unix. It can be used to connect the printer locally in linux, as well as for a group of computers and has a web interface for easy management. If your program is not already installed, you can install it with the command:

sudo apt install cups

Then you need to add the current user to the group lpamin and purevoice in the system:

sudo usermod -aG lpadmin username

Now, open the web interface at localhost:631:

It is worth noting that the interface will work only in Firefox, in Chromium it will report problems with access. Then restart the service. In the interface it is necessary to open the tab Administration, then click Add a printer:

The following window will appear the list of discovered printers. Select and click Continue:

Next, you will display information about the printer, you can set its name and choose whether to make the printer available across the network.

In this step, you can choose the version of the model of your printer if it was defined incorrectly.

In the last step, add a printer, you can customize the paper size by default, as well as several other parameters. After connecting the printer to Ubuntu, you can go to print.

Insights

In this article, we discussed how to install printer in Ubuntu 18.04 for example, Canon. As you can see, all can work by default, without the need to install drivers. And if you still need the driver, then now you know what to do. For printers from other manufacturers, the sequence will be the same, only the other driver will be in a different format.

Source: losst.ru

(Visited 70 times, 1 visits today)