• Like 0

    How to Install HP1102w printer using KDE?


    I am new to Antergos and Linux in general. I have used both Ubuntu and Linux Mint Cinnamon. I have played with the command line and feel comfortable using it to modify or update software, etc. I have one Dell d630 running a Gnome DE and another running a KDE Plasma DE. I cannot install my HP Laserjet Pro 1102w on either. I have attempted it graphically and using terminal for hplip. I have installed additional drivers from Gutenprint. I have looked for variations both here and on other sites to see if there is a way to get it to print. It is recognized on the network and will show an ip address. It seems to go through an installation process but will not print. Driver chosen via hplip does indicate that it needs additional proprietary plugins. When I run the hp-setup command I get this:

    warning: GUI Modules PyQt4 and PyQt5 are not installed
    error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.

    I am guessing that I am missing essential system components to make it work but don’t know how to go about download, install via command line and the appropriate repositories. Can someone get me headed in the right direction on this? Thanks!

  • Like 0

    read this: http://foo2zjs.rkkda.com/

    Or try before doing manual installation:

    yaourt -S foo2zjs-nightly
    

    This will provide: /usr/share/cups/model/HP-LaserJet_Pro_P1102w.ppd.gz …

    For the gui you need:

    yaourt -S python-pyqt5  python-gobject
    

    To install your printer inside gnome would use system-config-printer:

    yaourt -S system-config-printer
    

    It will find your printer and also automaticly the right Filter/Driver.

    el asesino del sentido común.
    Linux since 1988 - overcoming failure means success
    http://kamprad.net/backgrounds/
    http://kamprad.net/howto-installing-antergos/

  • Like 0

    I tried both. I probably should have tried the second option,first, i suspect. However the first option did not work although it did go through the steps of finding the driver and then trying to install it. This did not work but I am not sure it inserted the spooler correctly. As for the second, the first download and install resulted in this during it’s unpackaging:
    pkgver() {
    local date=$(wget -qO- ‘http://foo2zjs.rkkda.com’ | sed -nre ‘s|.Tarball last modified: <i>(.+)</i>.|\1|p’)
    if ! [[ “$date” ]]; then
    error "Could not extract package last modification date ‘$date’, please report this to the maintainer"
    return 1
    fi

        date +%Y%m%d -u -d "$date"
    

    }

    So, I am unsure as to how to proceed from here. Let mke know what you can.

  • Like 0

    So, I went ahead and attempted install using second option despite the error in the first step…I believe having attempted this already I had the required driver files available but I may be mistaken. I also had installed the pythonQt files previously so I skipped that step. So, it then came down to just the last step and running the actually setup. This started the gui and I was able to access the printer configuration. The install “directly to the network” option did not work so I used the option to connect via USB and configure. It connected, recognized the printer and then asked to download suitable driver from manufacture site. I allowed it to do this and it seemed it was obtaining the hp Cups (hplip) driver and installing it. It then asked to connect via the IP address which I allowed it do (note: I still had the USB cable connected, if this should make a difference). However, it seems it could not connect due to some print queuing error as follows:

    Plug-in version: 3.16.11
    Installed HPLIP version: 3.16.11
    Number of files to install: 42

    note: Using PyQt5
    qt5ct: using qt5ct plugin
    warning: arch distro is not found in AUTH_TYPES

    Done.
    Plug-in installation successful

    Done.
    error: Printer queue setup failed. Error : successful-ok-ignored-or-substituted-attributes

    Done.

    So, now I am wondering if something I previously configured via the command line from instructions for “default ip socket” on a previous attempt may have rendered this incompatible. ??? If so, how do I reset it so maybe this will work as up until this point everything seemed to be going well. I also may be wrong on this point so, please, advise accordingly. Thanks.

  • Like 0

    Okay…Newbie mistake. At one point to add the printer it is required to authorize by entering a user name and password. I took this literally…but it dawned on me that in this circumstance “root” might be used in place of my actual username. I did as much along with the password and…it worked! I know I wouldn’t have been able to do this if I hadn’t gone through the process above as I was missing some key system requirements in order to get it to work. Just one simple mistake kept me from immediately getting this printer installed.

  • Like 0

    I do not unde3rstand fully what you try to install the long way (as you say First step) if you do not install it with “sudo make install” then nothing is installed from this…

    You say that you install “foo2zjs-nightly” and “system-config-printer” ?
    Simply remove the printer if it does not work and try again!

    And setup needs to be like you want to use the printer, if you need networkaccess unplug usb.
    For me hp-setup does not work on my HP-Laser printer…

    So try system-network-printer would be my tip…

    you can start from within gnome or from terminal as normal user.
    Klick unlock to give admin access.
    And go forward to add new printer – networkprinter --> e.t.c. it will show your printer and find the driver automatic

    el asesino del sentido común.
    Linux since 1988 - overcoming failure means success
    http://kamprad.net/backgrounds/
    http://kamprad.net/howto-installing-antergos/

  • Like 0

    do you have hplip-plugin installed?
    you can run also:

    hp-setup -i <ip address>
    

    with ip adress of your printer

    el asesino del sentido común.
    Linux since 1988 - overcoming failure means success
    http://kamprad.net/backgrounds/
    http://kamprad.net/howto-installing-antergos/

  • Like 0

    Out of curiosity will these steps also work with a KDE Plasma DE as they do with the Gnome DE? Are any modifications necessary? I might want to try this with my other laptop.

  • Like 0

    @ArbyG85 said in How to Install HP1102w printer using Gnome DE?:

    I am new to Antergos and Linux in general. I have used both Ubuntu and Linux Mint Cinnamon. I have played with the command line and feel comfortable using it to modify or update software, etc. I have one Dell d630 running a Gnome DE and another running a KDE Plasma DE. I cannot install my HP Laserjet Pro 1102w on either. I have attempted it graphically and using terminal for hplip. I have installed additional drivers from Gutenprint. I have looked for variations both here and on other sites to see if there is a way to get it to print. It is recognized on the network and will show an ip address. It seems to go through an installation process but will not print. Driver chosen via hplip does indicate that it needs additional proprietary plugins. When I run the hp-setup command I get this:

    warning: GUI Modules PyQt4 and PyQt5 are not installed
    error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.

    I am guessing that I am missing essential system components to make it work but don’t know how to go about download, install via command line and the appropriate repositories. Can someone get me headed in the right direction on this? Thanks!

    https://forum.antergos.com/topic/2090/trying-to-add-hp-printer-after-fresh-installation/6

    Mis respetos.-

  • Like 0

    @ArbyG85 for KDE there is print-manager package…
    Cups is used almost for every printer.
    hp-setup has also a qt GUI …

    Manual for HP-SETUP:

    Arch-Wiki-Cups-HP-Printer

    el asesino del sentido común.
    Linux since 1988 - overcoming failure means success
    http://kamprad.net/backgrounds/
    http://kamprad.net/howto-installing-antergos/

  • Like 0

    https://youtu.be/tkPlesYBBdU

    el asesino del sentido común.
    Linux since 1988 - overcoming failure means success
    http://kamprad.net/backgrounds/
    http://kamprad.net/howto-installing-antergos/

  • Like 0

    Okay, I have modified this question to apply to the KDE environment. I have looked over your feedback and suggestions but as far as connecting my printer via this desktop interface it does not seem to work. Take into consideration that I believe a new QT module has been rolled out in the last week. Most of mine are QT_5.7 but now they have rolled out QT_5.8. Trying to install the printer using hp-setup or hp-plugin I get this error message on the command line:

    error: /usr/lib/libQt5Core.so.5: version `Qt_5.8’ not found (required by /usr/lib/python3.6/site-packages/PyQt5/QtWidgets.so)

    I have tried update the software for QT_5.8 available and command line (general update) but it doesn’t seem to have an effect. I didn’t have this problem with GNOME. I can only think it is the roll out update or possibly the pathway to the directory isn’t correct. Does that make sense?

  • Like 0

    as you can see here: https://youtu.be/tkPlesYBBdU the process without a GUI is simple forward.
    simple type:

    sudo hp-setup -i
    

    el asesino del sentido común.
    Linux since 1988 - overcoming failure means success
    http://kamprad.net/backgrounds/
    http://kamprad.net/howto-installing-antergos/

  • Like 0

    Believe me I tried that. It doesn’t give the above mentioned error and it seems to follow through on the install but…when I look for the printer on any form of graphical ui it doesn’t give the printer as an option and it doesn’t appear under the print manager in the system gui. It also isn’t recognized on my wireless network. I think it it is the QT_5.8 error issue but do not know how to verify.

  • Like 0

    as hp-setup -i is only commandline it has nothing depending on qt…
    It is interactive installing without a GUI.
    But you can
    try:

    sudo pacman -S python2-{dbus,gobject2,pyqt4,reportlab,notify,pillow} --needed
    

    And see if the GUI starts then…

    el asesino del sentido común.
    Linux since 1988 - overcoming failure means success
    http://kamprad.net/backgrounds/
    http://kamprad.net/howto-installing-antergos/

  • Like 0

    I tried it just to see what would happen. hp-setup is resulting in this error, again:

    error: /usr/lib/libQt5Core.so.5: version `Qt_5.8’ not found (required by /usr/lib/python3.6/site-packages/PyQt5/QtWidgets.so)

    I don’t think it is that simple. The software is available it just can’t be accessed or started properly as something is in the wrong place or missing entirely.

  • Like 0

    only for make it shure for me:
    do you run the exact command inside a terminal?

    sudo hp-setup -i
    

    hp-setup -u / hp-setup --gui / hp-setup (alone) will start it with a grafical GUI…

    with option

    -i
    

    it starts without grafical interface inside the terminal.

    el asesino del sentido común.
    Linux since 1988 - overcoming failure means success
    http://kamprad.net/backgrounds/
    http://kamprad.net/howto-installing-antergos/

  • Like 0

    Okay…definitely a Newbie issue. I ran the sudo hp-setup -i again, but when I get to the end of the install it asks “any additional information”. It only gives the option of q=“quit”. It does not specifically give you a choice of Y/N as I have seen in other install menus. This time I entered “n” and of course, it worked.

    Thanks, for your patience. It is very much appreciated. Cheers!

  • Like 0

    You do not give up and get the solution hats the way;)

    by the way:

    i just try it inside a virtual box antergos–plasma simple install:

    yaourt -S python-pyqt5 pyqt5-common
    

    and the hp-setup GUI is starting without any error…

    el asesino del sentido común.
    Linux since 1988 - overcoming failure means success
    http://kamprad.net/backgrounds/
    http://kamprad.net/howto-installing-antergos/

gnome156 hp1102w1 printer17 Posts 19Views 427
Log in to reply