How to set up HP printer and scaner on CentOS 7?

How 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

Similar Posts

  • A Tutorial on Ns-2

    This is a tutorial on ns-2 which gives a overview of ns-2 and introduces how to define a simple topology and the network flow. This tutorial is based on the slides for Lab session of COMP 4622 at HKUST in the fall semester of 2011. The slides of tutorial on ns-2 can be download from…

  • Fedora 中文字体设置

    Fedora 一直有中文字体难看的问题, 尤其是在英文环境中. 使用本文中的配置方法可以得到令人满意的中文效果. 此方案中使用字体都为开源且在Fedora源中自带. 此方案对 Fedora 9 – 20 有效. 对于后续版本支持我会确认并更新此文章. 此方案对Gnome, KDE都有效. Firefox 中也有中文难看的问题, 后面会提到. 快速配置方法 如果你想马上配置好,请使用如下命令。此方法测试使用效果良好。 # yum install cjkuni-ukai-fonts cjkuni-uming-fonts # wget https://raw.githubusercontent.com/zma/config_files/master/others/local.conf \ -O /etc/fonts/local.conf 相关英文字体配置可以参考:Improving Fedora Font Rendering with Open Software and Fonts Only. Fedora 系统中文字体的配置方案 使用uming和ukai字体,即AR PL UMing CN等. 中文字体和等宽字体效果如图所示(点击看大图, Firefox 中文字体设置在后面会提到). 方法如下: 安装字体 首先安装这两个字体: cjkuni-ukai-fonts cjkuni-uming-fonts (在Fedora…

  • How to merge git branches quickly and correctly

    Suppose I have following branches harryxiyou@common_vm ~/forest/sqle/sqle/scripts $ git branch * dev-harry master rc After I did some changes on dev-harry branch, I wanted to merge dev-harry into rc branch. 1, git checkout rc 2, git merge dev-harry References:http://stackoverflow.com/questions/24147169/merge-two-remote-branches-in-githttps://www.atlassian.com/git/tutorials/using-brancheshttp://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging I usually add –no-ff during git merge to force git to add a commit for the…

  • Chrome does not work with ibus

    Seems the input method on Linux (ibus) does not work well with Chrome. But other programs, e.g. thunderbird, has not problem with ibus at all. What’s wrong with Chrome or ibus? Check whether the “Qt IBus library and Qt input method plugin” is installed. If not, installing it and restarting ibus may help: # yum…

5 Comments

  1. 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.

  2. 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.

  3. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *