Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: Setting up hplip With Graphical Interface

  1. #1

    Default Setting up hplip With Graphical Interface

    I have openSUSE LEAP 15.2 (64-bit) and an HP Officejet Pro 8610.
    I installed hplip 3.20.6 via YaST2 and want to set up my printer with hplip graphical interface.

    When I go through the setup process, I get a window that states:
    You do not have permission to add a printer. You need authentication.
    If I enter my username and password, it is not accepted. Only if I use the root username and password it is accepted.
    Knowing that I should never use root to login, I am left wondering what I need to do in order to set up the printer...

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    21,765
    Blog Entries
    1

    Default Re: Setting up hplip With Graphical Interface

    Quote Originally Posted by tb75252 View Post
    I have openSUSE LEAP 15.2 (64-bit) and an HP Officejet Pro 8610.
    I installed hplip 3.20.6 via YaST2 and want to set up my printer with hplip graphical interface.

    When I go through the setup process, I get a window that states:


    If I enter my username and password, it is not accepted. Only if I use the root username and password it is accepted.
    Knowing that I should never use root to login, I am left wondering what I need to do in order to set up the printer...
    Enter your root (administrator) credentials as requested.
    openSUSE Leap 15.2; KDE Plasma 5

  3. #3
    Join Date
    Jun 2008
    Location
    Southwest Virginia, USA
    Posts
    53

    Default Re: Setting up hplip With Graphical Interface

    If it becomes necessary, another way HP's can be installed is within YAST in the printer section. Identify the printer, then install the drivers, then reboot, and my HP printers have all done well.

    Good luck.
    John

    "Live And Let Live."

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,434
    Blog Entries
    2

    Default Re: Setting up hplip With Graphical Interface

    If you're launching hplip from a Desktop menu item, the properties for that shortcut should be modified to automatically invoke with root permissions. If this is how you launched hplip, is this an entry which was set up automatically by the hplip installation or something you custom created? If it was part of the hplip installation, The proper behavior is for you to be prompted for root credentials and you provide it... This should be OK and is not the same as logging into your system as root because the scope of root permissions used is very different.

    Another way to get around being prompted for permissions is to open an elevated console first, and then launch your hplip application.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,936

    Default Re: Setting up hplip With Graphical Interface

    True you should not log into a GUI desktop as root. But you can become root for the purpose of installing packages to the system which requires root permissions or other system level chores. Two different things.

  6. #6

    Default Re: Setting up hplip With Graphical Interface

    Quote Originally Posted by gogalthorp View Post
    True you should not log into a GUI desktop as root. But you can become root for the purpose of installing packages to the system which requires root permissions or other system level chores. Two different things.
    Ok, I've done as you suggested. Hplip found the network printer and it is set up. But I just tried to print a page and nothing happens...
    I know that the printer works just fine because I have Microsoft Windows 10 installed on the same PC and everything prints without a problem.

    I tried to print a test page from within hplip but that too did not print. So, maybe there is some incompatibility with LEAP 15.2?

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    21,765
    Blog Entries
    1

    Default Re: Setting up hplip With Graphical Interface

    Quote Originally Posted by tb75252 View Post
    Ok, I've done as you suggested. Hplip found the network printer and it is set up. But I just tried to print a page and nothing happens...
    I know that the printer works just fine because I have Microsoft Windows 10 installed on the same PC and everything prints without a problem.

    I tried to print a test page from within hplip but that too did not print. So, maybe there is some incompatibility with LEAP 15.2?
    Run the following commands, capture the output, and report back here...
    Code:
    lpstat -t
    Code:
    hp-check -r
    openSUSE Leap 15.2; KDE Plasma 5

  8. #8

    Default Re: Setting up hplip With Graphical Interface

    Quote Originally Posted by deano_ferrari View Post
    Run the following commands, capture the output, and report back here...
    Code:
    lpstat -t
    Code:
    hp-check -r
    Hello Deano. Here are the outputs.
    Code:
    ~> lpstat -t
    scheduler is running
    system default destination: HP_Officejet_Pro_8610
    device for HP_Officejet_Pro_8610: hp:/net/HP_Officejet_Pro_8610?ip=192.168.1.75
    HP_Officejet_Pro_8610 accepting requests since Sat 04 Jul 2020 04:10:32 PM CDT
    printer HP_Officejet_Pro_8610 is idle.  enabled since Sat 04 Jul 2020 04:10:32 PM CDT
    HP_Officejet_Pro_8610-20 tb              164864   Sat 04 Jul 2020 08:11:24 PM CDT
    HP_Officejet_Pro_8610-21 tb              230400   Sat 04 Jul 2020 08:12:58 PM CDT
    Code:
    ~> hp-check -r
    Saving output in log file: /home/tb/hp-check.log
    
    HP Linux Imaging and Printing System (ver. 3.20.6)
    Dependency/Version Check Utility ver. 15.1
    
    Copyright (c) 2001-18 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.
    
    Note: hp-check can be run in three modes:
    1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.                                                                 
    2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run.                                                          
    3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).                                                                                                                     
    
    Check types:                                                                                                                                                                                                                                                                   
    a. EXTERNALDEP - External Dependencies                                                                                                                                                                                                                                         
    b. GENERALDEP - General Dependencies (required both at compile and run time)                                                                                                                                                                                                   
    c. COMPILEDEP - Compile time Dependencies                                                                                                                                                                                                                                      
    d. [All are run-time checks]                                                                                                                                                                                                                                                   
    PYEXT SCANCONF QUEUES PERMISSION                                                                                                                                                                                                                                               
    
    Status Types:
        OK
        MISSING       - Missing Dependency or Permission or Plug-in
        INCOMPAT      - Incompatible dependency-version or Plugin-version
    
    warning: 3-15.2 version is not supported. Using 3-15.1 versions dependencies to verify and install...
    
    ---------------
    | SYSTEM INFO |
    ---------------
    
     Kernel: 5.3.18-lp152.19-default #1 SMP Tue Jun 9 20:59:24 UTC 2020 (960cb00) GNU/Linux
     Host: linux-wx70
     Proc: 5.3.18-lp152.19-default #1 SMP Tue Jun 9 20:59:24 UTC 2020 (960cb00) GNU/Linux
     Distribution: 3 15.2
     Bitness: 64 bit
    
    
    -----------------------
    | HPLIP CONFIGURATION |
    -----------------------
    
    HPLIP-Version: HPLIP 3.20.6
    HPLIP-Home: /usr/share/hplip
    warning: HPLIP-Installation: Auto installation is not supported for 3 distro  15.2 version 
    
    Current contents of '/etc/hp/hplip.conf' file:
    # hplip.conf.  Generated from hplip.conf.in by configure.
    
    [hplip]
    version=3.20.6
    
    [dirs]
    home=/usr/share/hplip
    run=/var/run
    ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
    ppdbase=/usr/share/cups/model/manufacturer-PPDs
    doc=/usr/share/doc/packages/hplip
    html=/usr/share/doc/packages/hplip
    icon=/usr/share/applications
    cupsbackend=/usr/lib/cups/backend
    cupsfilter=/usr/lib/cups/filter
    drv=/usr/lib/cups/driver
    bin=/usr/bin
    apparmor=/etc/apparmor.d
    # Following values are determined at configure time and cannot be changed.
    [configure]
    network-build=yes
    libusb01-build=no
    pp-build=no
    gui-build=yes
    scanner-build=yes
    fax-build=yes
    dbus-build=yes
    cups11-build=no
    doc-build=yes
    shadow-build=no
    hpijs-install=yes
    foomatic-drv-install=no
    foomatic-ppd-install=yes
    foomatic-rip-hplip-install=no
    hpcups-install=yes
    cups-drv-install=no
    cups-ppd-install=yes
    internal-tag=3.20.6
    restricted-build=no
    ui-toolkit=qt5
    qt3=no
    qt4=no
    qt5=yes
    policy-kit=no
    lite-build=no
    udev_sysfs_rules=no
    hpcups-only-build=no
    hpijs-only-build=no
    apparmor_build=no
    class-driver=no
    
    
    Current contents of '/var/lib/hp/hplip.state' file:
    Plugins are not installed. Could not access file: No such file or directory
    
    Current contents of '~/.hplip/hplip.conf' file:
    [commands]
    scan = /usr/bin/xsane -V %SANE_URI%
    
    [fax]
    email_address = 
    voice_phone = 
    
    [last_used]
    device_uri = "hp:/net/HP_Officejet_Pro_8610?ip=192.168.1.75"
    printer_name = HP_Officejet_Pro_8610
    working_dir = .
    
    [polling]
    device_list = 
    enable = false
    interval = 5
    
    [refresh]
    enable = false
    rate = 30
    type = 1
    
    [settings]
    systray_messages = 0
    systray_visible = 0
    
    [upgrade]
    last_upgraded_time = 1480209558
    latest_available_version = 3.13.11
    notify_upgrade = true
    pending_upgrade_time = 0
    
    [installation]
    date_time = 07/05/20 14:52:55
    version = 3.20.6
    
    
     <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>
    
    -------------------------
    | External Dependencies |
    -------------------------
    
     cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.2.7           OK         'CUPS Scheduler is running'
     gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.52            OK         -
     error: xsane         xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'
     scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
     error: dbus          DBus - Message bus system                                    REQUIRED        -               1.12.2          MISSING    'DBUS may not be installed or not running'
     policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.116           OK         -
     network              network -wget                                                OPTIONAL        -               1.20.3          OK         -
     error: avahi-utils   avahi-utils                                                  OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'
    
    ------------------------
    | General Dependencies |
    ------------------------
    
     error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
     error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.2.7           MISSING    'cups-devel needs to be installed'
     error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               2.2.7           MISSING    'cups-image needs to be installed'
     error: libpthread    libpthread - POSIX threads library                           REQUIRED        -               b'2.26'         MISSING    'libpthread needs to be installed'
     error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
     sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
     error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
     error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.7.3           MISSING    'libnetsnmp-devel needs to be installed'
     error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           MISSING    'libcrypto needs to be installed'
     python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.6.10          OK         -
     error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'
    Traceback (most recent call last):
      File "/usr/bin/hp-check", line 862, in <module>
        num_errors, num_warns = dep.validate(time_flag, is_quiet_mode)
      File "/usr/bin/hp-check", line 368, in validate
        self.core.dependencies[dep])
      File "/usr/bin/hp-check", line 210, in __update_deps_info
        installed_ver = self.core.version_func[deps_info[6]]()
      File "/usr/share/hplip/installer/dcheck.py", line 303, in get_pyQt4_version
        from PyQt4 import QtCore
    ImportError: cannot import name 'QtCore'

  9. #9
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    4,528

    Default AW: Setting up hplip With Graphical Interface

    Please post:
    Code:
    zypper se -si hplip

  10. #10

    Default Re: AW: Setting up hplip With Graphical Interface

    Quote Originally Posted by Sauerland View Post
    Please post:
    Code:
    zypper se -si hplip
    Hello Sauerland. Here is the output.
    Code:
    ~> zypper se -si hplip
    Loading repository data...
    Reading installed packages...
    
    S  | Name        | Type    | Version            | Arch   | Repository
    ---+-------------+---------+--------------------+--------+-----------
    i+ | hplip       | package | 3.20.6-lp152.216.2 | x86_64 | Printing
    i+ | hplip-hpijs | package | 3.20.6-lp152.216.2 | x86_64 | Printing
    i+ | hplip-sane  | package | 3.20.6-lp152.216.2 | x86_64 | Printing

Page 1 of 4 123 ... LastLast

Tags for this Thread

Posting Permissions

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