Add an HP printer to Rocky 9
Move your mouse up to the Activities icon in the upper left and in the bar which appears at the bottom, open a Console/Terminal/Command prompt window.
type everything in lower case!
You need to become administrator “root”, Switch Up to root. Type the following and hit return: there is a space between the “u” and dash
su -
next use dnf/yum to install the HP driver and CUPS, so type this line and hit return
dnf -y install hplip cups
If the printer is off or unplugged from USB, plug in the printer and turn it on. Run the HP setup program:
hp-setup
Your HP printer is set up.
Leave a Reply