How to fix “Laserjet MFP M130fn cannot scan” error

The error “Laserjet MFP M130fn cannot scan” is invoked while using the HP Laserjet Pro MFP M130fn. Using this device with Linux is much easier when you only need to get a print of the file. When it comes to scanning a file using this device, an error may be invoked named “Laserjet MFP M130fn cannot scan”. In this post, we will demonstrate the reasons that invoke this error, and a solution to this will also be provided.

How to Fix the Error “Laserjet MFP M130fn cannot scan”?

Printing/Scanning devices are the key player in the daily life of computer users. The “Laserjet MFP130fn” is a multipurpose scanning/computing device. While using this device on a Linux system, you may get an error “Laserjet MFP m130fn”. This section demonstrates the reason and provides the solution as well.

Reason: Missing Drivers

This error can occur while trying to scan documents using the HP Laserjet Pro MFP M130fn. The reason behind this error often stems from the lack of drivers and supporting tools for the HP Laserjet Pro MFP M130fn.

Solution 1: Install HPLIP

The “hplip” is the most important driver that needs to be installed for the HP Laserjet Pro MFP M130fn to smoothly perform its printing and scanning functions on Linux devices as developed by HP. It is usually pre-installed with the Ubuntu system. If that is not the case, you can install it using the following command:

$ sudo apt install hplip

If the “hplip” is already installed, you will get a message like this

Solution 2: Install “hp-plugin”

Another important software whose absence can cause the “Laserjet MFP M130fn cannot scan” error is the “hp-plugin” which is another important driver that is needed while trying to use hardware like printers and scanners.

You can install “hp-plugin” via the below-mentioned command and follow the instructions:

Open the interactive setup for the plugin:

$ hp-plugin -i

The following menu should appear:

Enter the option d, which will download and install the plugin directly onto your system as shown below:

Press y to accept the license terms and complete the installation as shown below:

Through these steps, the hp-plugin is now installed on your system.

That’s it! You have learned to fix the scanning error “Laserjet MFP M130fn cannot scan”.


The “Laserjet MFP M130fn cannot scan” error is invoked for two major reasons, missing driver “hplip” or a missing plugin “hp-plugin”. They both can be installed on your system using their respective commands in the terminal. The “hplip” utility can be installed using “sudo apt install hplip” while the hp-plugin can be obtained via “hp-plugin -i”. Installing them will solve the error and allow you to scan your documents using the “Laserjet MFP M130fn” scanner.