Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: HPLIP Does Not Install

  1. #1
    Join Date
    Sep 2016
    Beans
    54

    HPLIP Does Not Install

    I am trying to get my HP 4620 printer working under Ubuntu 18.04. To that end I attempted to install:

    hplip-3.19.6.run

    Which I downloaded from: https://sourceforge.net/projects/hplip/. The installation fails with this error:

    Code:
    DEPENDENCY AND CONFLICT RESOLUTION
    ----------------------------------
    Running 'sudo apt-get install --assume-yes python-dbus.mainloop.pyqt5'
    Please wait, this may take several minutes...
    error: A required dependency 'pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))' is still missing.
    
    
    RUNNING POST-PACKAGE COMMANDS
    -----------------------------
    OK
    
    
    RE-CHECKING DEPENDENCIES
    ------------------------
    error: A required dependency 'pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))' is still missing.
    error: Installation cannot continue without this dependency.
    error: Please manually install this dependency and re-run this installer.
    The steps to resolve this would be greatly appreciated.

    I do not see in the lsusb command's output the printer. Is printer's presence in the lsusb command's output dependent on an hplip installation?
    Last edited by artist-wavenet; August 16th, 2019 at 02:18 PM.

  2. #2
    Join Date
    Sep 2016
    Beans
    54

    Re: HPLIP Does Not Install

    Using information I found at:
    https://itsfoss.com/install-pip-ubuntu/
    I was able to complete the hplip installation after executing these commands:
    Code:
    sudo apt-get install python3-pip
    pip3 install pyqt5
    However the command "hp-plugin -i" got me this error:
    Code:
    Plugin installation failed
    error: Python gobject/dbus may be not installed
    error: Plug-in install failed.
    But this command sequence worked to install those plugins:
    Code:
    sudo aa-disable /usr/share/hplip/plugin.py
    hp-plugin -i
    The source of the above solution is this thread:
    https://bugs.launchpad.net/hplip/+bug/1813768

    The printer still does not appear in the lsub comand's output. The hplip application still cannot find the printer.
    Last edited by artist-wavenet; August 16th, 2019 at 07:52 PM.

  3. #3
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    3,987
    Distro
    Xubuntu

    Re: HPLIP Does Not Install

    Why didn't you just use the one in the repositories? It has always worked for me for networked, cabled, or wireless.

  4. #4
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: HPLIP Does Not Install

    Have you tried Settings > Printers, where you can add your printer to the system? There is an automatic search for correct driver which is then installed for you.

  5. #5
    Join Date
    Sep 2016
    Beans
    54

    Re: HPLIP Does Not Install

    I tried installing hplip in Ubuntu's Software utility. I was unable to add the printer.

    Before a printer can be added to a driver utility, must it appear in the output of the lsusb command? I still does not. I suspect something is wrong with the printer. Printer model 4620 E does appear on this list:
    https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index

    On the printer's label I see model number 4620 e. It does look like it should be supported.
    Last edited by artist-wavenet; August 16th, 2019 at 08:22 PM.

  6. #6
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: HPLIP Does Not Install

    Quote Originally Posted by artist-wavenet View Post
    I tried installing hplip in Ubuntu's Software utility. I was unable to add the printer. Before a printer can be added to a driver utility, must it appear in the output of the lsusb command? I still does not. I suspect either this printer is not supported, or something is wrong with the printer. The printer model 4620 E does appear on this list:
    https://developers.hp.com/hp-linux-i..._devices/index
    But from what I can see my printer model does not have an E on the end of it. I do not know what that means.
    After opening the printers dialog, did you click the ADD button? Then it does a search for your printer.

    If connected by USB, I would think it should appear in lsusb output. I can't confirm this with my printer, since my HP 6980 is a network printer and is connected to a router.

    As to the 'E', searching for 4620 on the HP support page only matches the 4620 E all-in-one, so my guess is it's the same thing.

  7. #7
    brian_p is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Apr 2008
    Location
    UK
    Beans
    1,622

    Re: HPLIP Does Not Install

    It would be useful to see the output of

    Code:
    avahi-browse -rt _ipp._tcp
    Brian.

  8. #8
    Join Date
    Sep 2016
    Beans
    54

    Re: HPLIP Does Not Install

    Yes, the Add button was used in an attempt to use the printer. The printer was not found.

    I do not get any response to the command:
    Code:
    avahi-browse -rt _ipp._tcp
    Not even an error.

    It is by USB I need to connect to this printer.
    Last edited by artist-wavenet; August 18th, 2019 at 02:44 PM.

  9. #9
    brian_p is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Apr 2008
    Location
    UK
    Beans
    1,622

    Re: HPLIP Does Not Install

    Quote Originally Posted by artist-wavenet View Post
    It is by USB I need to connect to this printer.
    Are you completely ruling out using a network connection?

    Incidentally, the OfficeJet 4620 E-all-in-one Printer has been supported by HPLIP since version 3.12.6. hplip-3.19.6.run is not likely to magically resolve any issues you are having on Ubuntu 18.04.
    Brian.

  10. #10
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: HPLIP Does Not Install

    Quote Originally Posted by artist-wavenet View Post
    Yes, the Add button was used in an attempt to use the printer. The printer was not found.

    I do not get any response to the command:
    Code:
    avahi-browse -rt _ipp._tcp
    Not even an error.

    It is by USB I need to connect to this printer.
    Can we assume the printer worked previously with another version of Ubuntu or some other Linux?

    If yes to the above, since it's not being detected as a connected USB device, I might try the other USB 2.0 ports on the computer (not USB 3.x). I would also try another cable. It should be detected even without any driver installed, so it shouldn't be an incorrect driver that is the problem.

    Can you try a different printer, just to see if it is detected? If it is, that would suggest the printer itself or its interface being the problem. If not, it might be related to your new installation of 18.04 or steps you might have taken after install.

    Do you have another computer? Does the printer work on that? All this to try and isolate the problem.
    Last edited by Dennis N; August 18th, 2019 at 04:08 PM.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •