How to set up HP printer and scaner on CentOS 7?
Posted on In QAHow to set up the driver for an HP all-in-one printer/scanner on CentOS 7 Linux?
First, install these packages and it may ask you to download and install other plugins. Without these packages, my printer does work.
# yum install hplip hplip-gui hpijs
Second, install plugins for the HP printer.
# hp-plugin
Then you can try to install the printer again:
# hp-setup
I have tried for hours to install a HP Deskjet Ink Advantage 2676 Printer wireless to no avail
When running hp_setup the printer is not seen. I run Windows (dual-boot) on the same box and the printer is fine from Windows. Any help would be appreciated.
Thanks! This worked the first time around. I had far more issues in the past.
The final command gave me this output:
[root@localhost ~]# hp-setup
HP Linux Imaging and Printing System (ver. 3.18.4)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
No protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted (core dumped)
—-
Was not sure what to do from here.
I could not use hp-setup to complete the printer setup for a wireless HP LaserJet Professional Printer 1102W. It failed at the last step.
What worked for me is:
yum install hplip hplip-gui hpijs
hp-plugin
I then used GOOGLE CHROME to configure the printer. There are a few selections to be made along the way which I do not recall but if someone see this and wants the GOOGLE CHROME setup steps, I can recreate and provide the information.
I’d like to see the Chrome method steps