HP network printer setup

Issues related to hardware problems
Post Reply
leo8888
Posts: 27
Joined: 2015/01/28 20:51:14

HP network printer setup

Post by leo8888 » 2019/11/26 21:02:14

I just wanted to leave this here to help anyone who is trying to setup their network connected HP printers in CentOS 8. Hopefully it will save someone the headache I have now. :)

Code: Select all

sudo yum install hplip
sudo yum install hplip-gui
hp-setup

BShT
Posts: 268
Joined: 2019/10/09 12:31:40

Re: HP network printer setup

Post by BShT » 2019/11/27 12:52:13

i had to ln python3 to python to make HP console work

leo8888
Posts: 27
Joined: 2015/01/28 20:51:14

Re: HP network printer setup

Post by leo8888 » 2019/11/27 13:36:59

I'm guessing that somewhere along the way of trying to get it to work my python was upgraded. The documentation on the HP Linux Imaging and Printing website is not good and it didn't help that CentOS was not listed as a distro in the drop down on the download page. I figured the Red Hat Enterprise Linux .rpm would work with CentOS but it didn't. Then when I tried the link for "Others" the installer came up with a bunch of missing dependencies that it could not automatically install. I don't remember having such a hard time setting up a printer in CentOS 7 :roll:

BShT
Posts: 268
Joined: 2019/10/09 12:31:40

Re: HP network printer setup

Post by BShT » 2019/11/27 14:07:58

i did some trick to install RHEL rpm from HP website but i don´t remember now what i did

iwishitwouldwork
Posts: 71
Joined: 2014/02/08 14:56:39

Re: HP network printer setup

Post by iwishitwouldwork » 2020/01/29 17:46:45

I apologize if this kind of post is not welcome, but
this finally worked for me.

I tried the "latest" hplip driver from HP's (ahem! some other site they shipped
their driver off to) site and that ended badly.

i have a 2605dn printer. even though i could find the .ppd file in the downloaded
hplip tarball (the one from HP) i could never get the .ppd file in the right place.
i could never get the
activities -> settings -> devices -> printers
method to work. it was very weird.

anyway, thanks for the

Code: Select all

yum -y install hplip
yum -y install hplip-gui
hp-setup
info -- that finally worked for me.

User avatar
TrevorH
Forum Moderator
Posts: 29444
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: HP network printer setup

Post by TrevorH » 2020/01/29 18:01:32

We already ship hplip packages with the distro. There is no need to go to HP for a copy.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Space Ranger
Posts: 1
Joined: 2020/03/04 02:13:14

Re: HP network printer setup

Post by Space Ranger » 2020/03/04 02:27:49

Thank you leo8888 for the simple instructions! Here works fine to connect my WiFi printer Envy114 (D411)! ;)
leo8888 wrote:
2019/11/26 21:02:14
I just wanted to leave this here to help anyone who is trying to setup their network connected HP printers in CentOS 8. Hopefully it will save someone the headache I have now. :)

Code: Select all

sudo yum install hplip
sudo yum install hplip-gui
hp-setup

leo8888
Posts: 27
Joined: 2015/01/28 20:51:14

Re: HP network printer setup

Post by leo8888 » 2020/03/04 14:38:05

Your welcome Space Ranger, glad to hear it worked for you!
Space Ranger wrote:
2020/03/04 02:27:49
Thank you leo8888 for the simple instructions! Here works fine to connect my WiFi printer Envy114 (D411)! ;)
leo8888 wrote:
2019/11/26 21:02:14
I just wanted to leave this here to help anyone who is trying to setup their network connected HP printers in CentOS 8. Hopefully it will save someone the headache I have now. :)

Code: Select all

sudo yum install hplip
sudo yum install hplip-gui
hp-setup

drzymala
Posts: 1
Joined: 2020/07/22 00:37:07

Re: HP network printer setup

Post by drzymala » 2020/07/22 01:02:41

TrevorH wrote:
2020/01/29 18:01:32
We already ship hplip packages with the distro. There is no need to go to HP for a copy.
I needed to go to HP for a copy due to my printer not being included in the driver provided. That said, the HP package is broken/messed. Here is how I forced it to work:

1. Remove previous lib if necessary

Code: Select all

dnf remove hplip-common-3.18.4-9.el8.x86_64
2. Install the broken HP version by brute force (on your own responsibility) from here https://developers.hp.com/hp-linux-imag ... g/gethplip (You need RHEL 8 variant)

Code: Select all

rpm -ivh hplip-3.20.6-RHEL8-x86_64.rpm --nodeps
3. Install the SNMP package if needed

Code: Select all

dnf install net-snmp
4. Break the common sense and link python3 as python to make hp-setup command happy

Code: Select all

ln -s /usr/bin/python3 /usr/bin/python
5. Install your printer by IP. May work without, but I had to give it the IP address manually.

Code: Select all

hp-setup -i 192.168.X.Y

BShT
Posts: 268
Joined: 2019/10/09 12:31:40

Re: HP network printer setup

Post by BShT » 2020/08/04 11:39:57

that´s exactly what i did drzymala

sometimes you have to ln -s /usr/bin/python3 /usr/bin/python again every python update

Post Reply

Return to “CentOS 8 - Hardware Support”