Problems connecting printer after install of Mint Cinnamon 18.1

Forum rules
Before you post please read this
Post Reply
gevie
Level 1
Level 1
Posts: 4
Joined: Tue Aug 20, 2013 4:17 pm

Problems connecting printer after install of Mint Cinnamon 18.1

Post by gevie » Mon May 08, 2017 5:59 pm

I have recently upgraded to Mint 18.1 Cinnamon and am currently having problems connecting to my printer. The printer is a HP color laser model "Color Laser Jet Pro MFP M177fw". I remember having a problem with it when i upgraded to mint 17 Cinnamon. I had to download and install HPs driver. I forgot how I was finally able to get it working. I have currently downloaded hplip-3.16.7.run which was recommended but am unable to get it to install. Any help you can give me would be greatly appreciated.

pdc_2
Level 8
Level 8
Posts: 2411
Joined: Mon May 11, 2009 1:21 am

HP MFP M177FW

Post by pdc_2 » Mon May 08, 2017 9:25 pm

Not all HP installs are smooth ....... despite the praise of the HP enthusiasts!

so the MFP http://hplipopensource.com/hplip-web/mo ... 177fw.html seems to need only 3.13.11 of hplip and in 18.1 it is 3.16.3 I think or something like that ....... so you shouldn't need the latest version .. you should be fine with what's in 18.1 ....... BUT ............

___________-

You do seem to need a DRIVER PLUGIN

so from this page http://hplipopensource.com/node/309 which talks about driver plugins

HP say

Code: Select all

Most Linux distributions include HPLIP with their software, but most do not include the plug-in.  Therefore, it is a safe practice to run a utility called "hp-setup", which, will install the printer into the CUPS spooler, download, and install the plug-in at the appropriate time. 

To install the plug-in using the GUI you can follow these procedures:

1.  Launch a command-line window and enter:

hp-setup
and so that means open a terminal ........ the big black TV screen below ........ if you follow all the other commands on that page? Please get back as and if you need further feedback

gevie
Level 1
Level 1
Posts: 4
Joined: Tue Aug 20, 2013 4:17 pm

Re: Problems connecting printer after install of Mint Cinnamon 18.1

Post by gevie » Mon May 08, 2017 9:52 pm

The following is what I got after trying hp-setup:
Gordy



gordy@gordy-desktop ~ $ hp-setup

HP Linux Imaging and Printing System (ver. 3.16.3)
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.

error: HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP
warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
gordy@gordy-desktop ~ $

pdc_2
Level 8
Level 8
Posts: 2411
Joined: Mon May 11, 2009 1:21 am

HP MFP M177FW hplio install issues

Post by pdc_2 » Mon May 08, 2017 10:15 pm

I would suggest

Code: Select all

sudo apt purge hplip
to remove whatever exists there of it ........

I would suggest

Code: Select all

sudo apt install hplip
and that should bring in 3.16 from the ubuntu repositories ........ you need > 3.13 and I would go for the ubuntu as slightly simpler ...........

______________-

from here https://help.ubuntu.com/community/HpAllInOne it seems best to do

Code: Select all

sudo apt-get install python3-pyqt4
then your report said

Code: Select all

Also, try using interactive (-i) mode.
so then do the hp-setup but as

Code: Select all

hp-setup -i
........ and let's see if things will work for you

gevie
Level 1
Level 1
Posts: 4
Joined: Tue Aug 20, 2013 4:17 pm

Re: Problems connecting printer after install of Mint Cinnamon 18.1

Post by gevie » Wed May 10, 2017 10:11 pm

The following is what I get after i run the check log still unable to get anything to print.



gordy@gordy-desktop ~ $ sudo hp-check -r
Saving output in log file: /home/gordy/hp-check.log

HP Linux Imaging and Printing System (ver. 3.16.3)
Dependency/Version Check Utility ver. 15.1

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.

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: linuxmint-18.1 version is not supported. Using linuxmint-17.3 versions dependencies to verify and install...

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

Kernel: 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 GNU/Linux
Host: gordy-desktop
Proc: 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 GNU/Linux
Distribution: linuxmint 18.1
Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.16.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for linuxmint distro 18.1 version

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

[hplip]
version=3.16.3

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
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=yes
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=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.16.3
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
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:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hp:/net/HP_Color_LaserJet_Pro_MFP_M177fw?ip=192.168.1.87

[installation]
date_time = 05/09/2017 07:47:51
version = 3.17.4


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

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

error: dbus DBus - Message bus system REQUIRED - 1.10.6 MISSING 'DBUS may not be installed or not running'
network network -wget OPTIONAL - 1.17.1 OK -
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
avahi-utils avahi-utils OPTIONAL - 0.6.32 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.18 OK -
error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'

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

sane SANE - Scanning library REQUIRED - - OK -
error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.5.2 OK -
error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 MISSING 'libcrypto needs to be installed'
python3-xml Python XML libraries REQUIRED - 2.1.0 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.23' OK -
error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
error: python3-devel Python devel - Python development files REQUIRED 2.2 3.5.2 MISSING 'python3-devel needs to be installed'
error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.11.4 MISSING 'python3-pyqt4-dbus needs to be installed'
error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'
error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'

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

error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
error: gcc gcc - GNU Project C and C++ Compiler REQUIRED - 5.4.0 MISSING 'gcc needs to be installed'

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

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

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

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

-----------------------
| Other Dependencies |
-----------------------


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

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------


HP-Color-LaserJet-Pro-MFP-M177fw
--------------------------------
Type: Printer
Device URI: hp:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNB6G2D99V
PPD: /etc/cups/ppd/HP-Color-LaserJet-Pro-MFP-M177fw.ppd
PPD Description: HP Color LaserJet Pro MFP m177fw, hpcups 3.16.3, requires proprietary plugin
Printer status: printer HP-Color-LaserJet-Pro-MFP-M177fw disabled since Wed 10 May 2017 Unplugged or turned off
error: Required plug-in status: Not installed
error: Unable to communicate with device (code=12): hp:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNB6G2D99V
error: Device not found
error: Communication status: Failed

HP-Color-LaserJet-Pro-MFP-M177fw-Fax-2
--------------------------------------
Type: Fax
Device URI: hpfax:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNB6G2D99V
PPD: /etc/cups/ppd/HP-Color-LaserJet-Pro-MFP-M177fw-Fax-2.ppd
PPD Description: HP Fax2 hpcups
Printer status: printer HP-Color-LaserJet-Pro-MFP-M177fw-Fax-2 disabled since Wed 10 MayUnplugged or turned off
error: Required plug-in status: Not installed
error: Unable to communicate with device (code=12): hpfax:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNB6G2D99V
error: Device not found
error: Communication status: Failed


--------------
| PERMISSION |
--------------


-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libdbus-1-dev' package is missing/incompatible
error: 'libcups2' package is missing/incompatible
error: 'libsnmp-dev' package is missing/incompatible
error: 'snmp-mibs-downloader' package is missing/incompatible
error: 'openssl' package is missing/incompatible
error: 'libsane-dev' package is missing/incompatible
error: 'python3-dev' package is missing/incompatible
error: 'libusb-1.0.0-dev' package is missing/incompatible
error: 'libcups2-dev' package is missing/incompatible
error: 'cups-bsd' package is missing/incompatible
error: 'cups-client' package is missing/incompatible
error: 'libcupsimage2-dev' package is missing/incompatible
error: 'libjpeg8-dev' package is missing/incompatible
error: 'libtool' package is missing/incompatible
error: 'build-essential' package is missing/incompatible

Missing Optional Dependencies
-----------------------------
error: 'xsane' package is missing/incompatible
error: 'python3-dbus.mainloop.qt' package is missing/incompatible
error: 'python3-notify2' package is missing/incompatible

Plug-in Status
--------------
error: Plug-ins need to be installed

Total Errors: 19
Total Warnings: 0


Done.
gordy@gordy-desktop ~ $

pdc_2
Level 8
Level 8
Posts: 2411
Joined: Mon May 11, 2009 1:21 am

Re: Problems connecting printer after install of Mint Cinnamon 18.1

Post by pdc_2 » Thu May 11, 2017 1:51 am

Phew Gordy; seems like your system is missing some stuff;

Code: Select all

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libcups2' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp-mibs-downloader' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'python3-dev' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libjpeg8-dev' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
I use synaptic to install programmes: I would plod through it copying each file that is said to be missing; or incompatible; and see what synaptic thinks;

as an alternative to the above ... you can also use the terminal with the format

Code: Select all

dpkg -l libdbus-1-dev
....... we have hplip installed to run an Officejet and I see we don't have libdbus-1-dev installed; and it all seems to work; but your system is certainly spitting the dummy on a lot of things; you can see it never got to the plug-in

Code: Select all

Plug-in Status
--------------
error: Plug-ins need to be installed
________________--

I am also confused because I see references to 3.16.3 .... which is the hplip that comes with Mint 18.1 and it should be fine for your printer;

and then I also see in your printout

Code: Select all

[installation]
date_time = 05/09/2017 07:47:51
version = 3.17.4
and I take the 3.17.4 to mean the latest hplip; that you presumably have installed?

I am not sure where to go here; it all looks very messy; some folks will enthusiastically say HP printers always just work but we have seen quite a few HP issues recently

User avatar
jimallyn
Level 18
Level 18
Posts: 8469
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Problems connecting printer after install of Mint Cinnamon 18.1

Post by jimallyn » Thu May 11, 2017 2:15 am

gevie, I wonder if some of your software repository lists have got screwed up somehow? Please open a terminal, enter inxi -r, and copy/paste the output here.
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

kylebryant
Level 1
Level 1
Posts: 2
Joined: Sat May 05, 2018 11:00 pm

Re: Problems connecting printer after install of Mint Cinnamon 18.1

Post by kylebryant » Sun May 06, 2018 11:25 am

adding this plugin solution worked for mint thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Post Reply

Return to “Printers & Scanners”