I wanna use HP Laserjet 500 MFP on my Ubuntu 20.04 device. Unfortunately hplip does not support Ubuntu 20.04 yet. Can you help? My error code running the installation script for hplip (sh ./hplip-3.20.9.run
) is:
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Also installing hplip from the repository through (sudo apt-get install hplip
) and running the command hp-plugin
is not successful. When running the command hp-setup
the printer does not seem to be recognized.
Try this:
Open a terminal shell.
Update your apt repositories, enter this command:
Install the required dependency packages:
Download the HPLIP tarball to your /home/user/Downloads directory:
Go to the directory where you downloaded the HPLIP tarball:
Uncompress the tarball, enter this command:
This will create a directory with the same name as the tarball file.
Change your working directory to the hplip-3.20.9 directory.
Configure the development environment and checks that your system is ready to install HPLIP:
Compile the HPLIP source, enter this command:
Run make install, enter this command:
Add user name to "lp" group:
Restart your PC (or) Logout and Login.
f you are going to be setting up a printer with USB and the printer is already plugged in, you will need to do one of the following:
Unlpug and re-plug in the USB printer, or Restart your PC.
Failure to do this will cause your USB printer to not be detected by HPLIP.
Continue using hp-setup:
The first step is to select the printer connection type.
Next the setup tool will display printers detected (depending on the connection type selected)
The PPD files (drivers) which are most similar to your printer are displayed. Select the appropriate PPD file for your printer.
Enter your printer information.
Click FINISH to complete the printer setup process.
This device is probably an HP LaserJet Enterprise 500 MFP m525f. It has an AirPrint service so will do driverless printing; connect it to the network and execute the command
driverless
. The output is a URI. Substitute the output inlpadmin -p m525 -v "URI" -E -m everywhere
. Test printing.