hplip on 17.2

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Yvescorbeillefuret
Level 1
Level 1
Posts: 14
Joined: Sat May 17, 2014 4:21 am

hplip on 17.2

Post by Yvescorbeillefuret »

is it possible that hplip dont work with the new mint version, because it ask me to install the plugin again, but I failed to actually instal it correctly . By the way i know for long time their online repository is dead is there a way to change that to a working repository with the plugins etc...
pendulus-maximus
Level 1
Level 1
Posts: 1
Joined: Tue Jul 07, 2015 6:47 am

Re: hplip on 17.2

Post by pendulus-maximus »

The problem can be fixed by upgrading HPLIP to the latest version, which is 3.15.6

Download link here: http://prdownloads.sourceforge.net/hpli ... 3.15.6.run

Open a terminal, navigate to download directory

then punch

Code: Select all

sh hplip-3.15.6.run
Ignore the warnings about 17.2 not being supported. At some point it will ask you whether you want to uninstall or overwrite the old HPLIP version. You want to uninstall. It's the default. Actually, I think I used all the defaults. Just follow along, read carefully, and you should be fine.

My LaserJet p1102w works perfectly now.
goetzkluge
Level 3
Level 3
Posts: 117
Joined: Thu Nov 15, 2007 9:41 am
Location: Germany
Contact:

Re: hplip on 17.2

Post by goetzkluge »

pendulus-maximus wrote:The problem can be fixed by upgrading HPLIP to the latest version, which is 3.15.6 ...
I installed hplip 3.15.6 on a test installation (17.2, 32Bit). I accepted all the default settings in automatic mode. Everything went fine. Before scannig worked, I was asked to download a plugin from HP. After that scanning and printing was ok. Printer is Color Laserjet M176n.

Update 2015-06-09: I also installed the new hplip on a 64Bit PC. Removed and installed packets:

Code: Select all

'Missing packages' message:
Package-Name         Component            Required/Optional   
libcrypto            network              REQUIRED            
libusb               base                 REQUIRED            
cups-image           base                 REQUIRED            
libnetsnmp-devel     network              REQUIRED            
sane-devel           scan                 REQUIRED            
gcc                  base                 REQUIRED            
libjpeg              base                 REQUIRED            
python-devel         base                 REQUIRED            
cups-devel           base                 REQUIRED            
dbus                 fax                  REQUIRED

Install:
Running 'sudo apt-get install --assume-yes libusb-1.0.0-dev'
Running 'sudo apt-get install --assume-yes libcupsimage2-dev'
Running 'sudo apt-get install --assume-yes build-essential'
Running 'sudo apt-get install --assume-yes libjpeg8-dev'
Running 'sudo apt-get install --assume-yes python-dev'
Running 'sudo apt-get install --assume-yes libcups2-dev'
Running 'sudo apt-get install --assume-yes cups-bsd'
Running 'sudo apt-get install --assume-yes cups-client'
Running 'sudo apt-get install --assume-yes openssl'
Running 'sudo apt-get install --assume-yes libsnmp-dev'
Running 'sudo apt-get install --assume-yes snmp-mibs-downloader'
Running 'sudo apt-get install --assume-yes libdbus-1-dev'
Running 'sudo apt-get install --assume-yes libsane-dev'

actually installed:
> build-essential	
> libcups2-dev
> libcupsimage2-dev	
> libdbus-1-dev
> libjpeg8-dev
> libsane-dev	
> libsnmp-dev
> libusb-1.0-0-dev	
> python3-pexpect	
> python3-pil	
> python3-reportlab	
> python-dev	
> snmp-mibs-downloader

removed:
< hplip-gui	
< printer-driver-postscript-hp
Reinstalling the removed packets to my impression also would install the old hplip. Fortunately I don't need them.
goetzkluge
Level 3
Level 3
Posts: 117
Joined: Thu Nov 15, 2007 9:41 am
Location: Germany
Contact:

Re: hplip on 17.2

Post by goetzkluge »

goetzkluge
Level 3
Level 3
Posts: 117
Joined: Thu Nov 15, 2007 9:41 am
Location: Germany
Contact:

hplip 3.16.2 on 17.3: no access to scanner of M176n

Post by goetzkluge »

Attempt to access scanner of Color LaserJet Pro M176n results in "Error during device IO".
Access doesn't work neither via network nor via USB.
hplip 3.16.2 is installed.

With Officejet 4500 G510g-m, scanning works.

Linuxmint version: 17.3, 32bit, Mate, Kernel 3.19.0-32
goetzkluge
Level 3
Level 3
Posts: 117
Joined: Thu Nov 15, 2007 9:41 am
Location: Germany
Contact:

hplip 3.16.2, 3.16.3 and 3.16.9 on 17.3 and 18: no access to scanner of M176n

Post by goetzkluge »

goetzkluge wrote:Attempt to access scanner of Color LaserJet Pro M176n results in "Error during device IO".
Access doesn't work neither via network nor via USB.
hplip 3.16.2 is installed.

With Officejet 4500 G510g-m, scanning works.

Linuxmint version: 17.3, 32bit, Mate, Kernel 3.19.0-32
The problem persists with Linux Mint 18, 32bit: The printer is installed, xsane also shows scanner options with hplip 3.16.3 (shipped with Mint 18), but when selecting one of them I get "Error during device IO".

With hplip 3.16.9 even the options aren't shown anymore. Searching the scanner doesn't stop:

Code: Select all

HP Linux Imaging and Printing System (ver. 3.16.9)
Self Diagnse Utility and Healing Utility ver. 1.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.


HP Linux Imaging and Printing System (ver. 3.16.9)
Self Diagnse Utility and Healing Utility ver. 1.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.

 

Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....

HP Linux Imaging and Printing System (ver. 3.16.9)
HPLIP upgrade latest version ver. 1.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.

Latest version of HPLIP is already installed.


Checking for Dependencies....

---------------
| SYSTEM INFO |
---------------

 Kernel: 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 13:50:36 UTC 2016 GNU/Linux
 Host: xxxxxxx
 Proc: 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 13:50:36 UTC 2016 GNU/Linux
 Distribution: 22 18
 Bitness: 32 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.16.9
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for linuxmint distro  18 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.16.9

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.16.9
html=/usr/share/doc/hplip-3.16.9
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
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=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.16.9
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.16.9



Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = false
last_upgraded_time = 1476899130
pending_upgrade_time = 0
latest_available_version = 3.16.5

[last_used]
device_uri = "hp:/usb/HP_Color_LaserJet_Pro_MFP_M176n?serial=CNB7G1RCBH"
printer_name = 
working_dir = .

[settings]
systray_visible = 0
systray_messages = 0

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[installation]
date_time = 10/19/2016 20:19:24
version = 3.16.9


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------
| COMPILEDEP |
--------------

 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               5.4.0           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.1             OK         -
 libtool              libtool - Library building support services                  REQUIRED        -               2.4.6           OK         -

------------------------
| General Dependencies |
------------------------

 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.0.2           OK         -
 python-xml           Python XML libraries                                         REQUIRED        -               2.1.0           OK         -
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.7.3           OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               1.0.25          OK         -
 pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
 pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUIRED        4.0             4.11.4          OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.23            OK         -
 python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.12          OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.1.3           OK         -
 python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.0           OK         -
 cups-ddk             CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               OK         -
 reportlab            Reportlab - PDF library for Python                           OPTIONAL        2.0             3.3.0           OK         -
 pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.11.4          OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.1.3           OK         -
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.12          OK         -
 python-notify        Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               1.0.25          OK         -

----------------------
| Scan Configuration |
----------------------

 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.16.9          OK         -
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.16.9          OK         'hpaio found in /etc/sane.d/dll.conf'

-------------------------
| External Dependencies |
-------------------------

 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.18            OK         -
 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.1.3           OK         'CUPS Scheduler is running'
 network              network -wget                                                OPTIONAL        -               1.17.1          OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.25          OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.10.6          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.32          OK         -

---------------------
| Python Extentions |
---------------------

 hpmudext             IO-Extension                                                 REQUIRED        -               3.16.9          OK         -
 cupsext              CUPS-Extension                                               REQUIRED        -               3.16.9          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

|/
Same issue with 64 bit Mint 18.
Post Reply

Return to “Software & Applications”