hp-setup fails to recognize hp-plugin installation

Asked by James Chamness

I am on Ubuntu 18.04, trying to set up an HP Color LaserJet MFP M477fdn via wireless network. I have hplip 3.18.12 installed. This printer requires the binary plugin. I am having issue installing the plugin- I think. Either that or the hp-setup command is unable to recognize that it is installed. Steps I've taken: I run hp-setup. I'm able to find my printer by specifying the IP address. I'm then prompted to install the binary plugin. I've downloaded the correct version (that matches my hplip install version), and specify to use this file using the "specify path" option. The installer is able to recognize the file, and runs. I agree to the license. The installer then says "Done" - but immediately follows with a message that "the device you are trying to setup requires a binary plugin", as if the installer had not JUST run. I have tried this multiple times, using both the download option (instead of local path) for the plugin file, and also using the hp-plugin command to do just the plugin installation instead of the whole printer setup. Each time I get the same result. Please see below my paste of the output from running the hp-setup command, as described above.

james@Moria:~/Downloads$ sudo hp-setup

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

Found device: hp:/net/HP_Color_LaserJet_MFP_M477fdn?ip=10.32.87.226

HP Linux Imaging and Printing System (ver. 3.18.12)
Plugin Download and Install Utility ver. 2.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.

warning: It is not recommended to run 'hp-plugin' in a root mode.

HP Linux Imaging and Printing System (ver. 3.18.12)
Plugin Download and Install Utility ver. 2.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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)

------------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.18.12 |
------------------------------------------

  Option Description
  ---------- --------------------------------------------------
  d Download plug-in from HP (recommended)
  p Specify a path to the plug-in (advanced)
  q Quit hp-plugin (skip installation)

Enter option (d=download*, p=specify path, q=quit) ? p
Enter the path to the 'hplip-3.18.12-plugin.run' file (q=quit) : ~/Downloads/hplip-3.18.12-plugin.run

---------------
| COPY PLUGIN |
---------------

Downloading plug-in from: file:///home/james/Downloads/hplip-3.18.12-plugin.run
Downloading plug-in: [\ ] 0% 1100%Receiving digital keys: /usr/bin/gpg --homedir /home/james/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
()
error: Unable to recieve key from keyserver
Do you still want to install the plug-in? (y=yes, n=no*, q=quit) ? y

----------------------
| INSTALLING PLUG-IN |
----------------------

Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.18.12 Plugin Self Extracting Archive.........................................................

HP Linux Imaging and Printing System (ver. 3.18.12)
Plugin Installer ver. 3.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.

Plug-in version: 3.18.12
Installed HPLIP version: 3.18.12
Number of files to install: 55

You must agree to the license terms before installing the plug-in:

LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in

These License Terms govern your Use of the HPLIP Driver Plug-in Software (the "Software"). USE OF THE SOFTWARE INCLUDING, WITHOUT LIMITATION, ANY DOCUMENTATION, IS
SUBJECT TO THESE LICENSE TERMS AND THE APPLICABLE AS-IS WARRANTY STATEMENT. BY DOWNLOADING AND INSTALLING THE SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THESE TERMS. IF
YOU DO NOT AGREE TO ALL OF THESE TERMS, DO NOT DOWNLOAD AND INSTALL THE SOFTWARE ON YOUR SYSTEM.

1. License Grant. HP grants you a license to Use one copy of the Software with HP printing products only. "Use" includes using, storing, loading, installing, executing,
and displaying the Software. You may not modify the Software or disable any licensing or control features of the Software.

2. Ownership. The Software is owned and copyrighted by HP or its third party suppliers. Your license confers no title to, or ownership in, the Software and is not a
sale of any rights in the Software. HP's third party suppliers may protect their rights in the Software in the event of any violation of these license terms.

3. Copies and Adaptations. You may only make copies or adaptations of the Software for archival purposes or when copying or adaptation is an essential step in the
authorized Use of the Software. You must reproduce all copyright notices in the original Software on all copies or adaptations. You may not copy the Software onto any
public network.

4. No Disassembly. You may not Disassemble the Software unless HP's prior written consent is obtained. "Disassemble" includes disassembling, decompiling, decrypting,
and reverse engineering. In some jurisdictions, HP's consent may not be required for limited Disassembly. Upon request, you will provide HP with reasonably detailed
information regarding any Disassembly.

5. No Transfer. You may not assign, sublicense or otherwise transfer all or any part of these License Terms or the Software.

6. Termination. HP may terminate your license, upon notice, for failure to comply with any of these License Terms. Upon termination, you must immediately destroy the
Software, together with all copies, adaptations and merged portions in any form.

7. Export Requirements. You may not export or re-export the Software or any copy or adaptation in violation of any applicable laws or regulations.

8. U.S. Government Restricted Rights. The Software has been developed entirely at private expense. It is delivered and licensed, as defined in any applicable DFARS,
FARS, or other equivalent federal agency regulation or contract clause, as either "commercial computer software" or "restricted computer software", whichever is
applicable. You have only those rights provided for such Software by the applicable clause or regulation or by these License Terms.

9. DISCLAIMER OF WARRANTIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, HP AND ITS SUPPLIERS PROVIDE THE SOFTWARE "AS IS" AND WITH ALL FAULTS, AND HEREBY
DISCLAIM ALL OTHER WARRANTIES AND CONDITIONS, EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE AND NON-INFRINGEMENT, ANY
IMPLIED WARRANTIES, DUTIES OR CONDITIONS OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE, AND OF LACK OF VIRUSES ALL WITH REGARD TO THE SOFTWARE. Some
states/jurisdictions do not allow exclusion of implied warranties or limitations on the duration of implied warranties, so the above disclaimer may not apply to you in
its entirety.

10. LIMITATION OF LIABILITY. Notwithstanding any damages that you might incur, the entire liability of HP and any of its suppliers under any provision of this agreement
and your exclusive remedy for all of the foregoing shall be limited to the greater of the amount actually paid by you separately for the Software or U.S. $5.00. TO THE
MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL HP OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR LOSS OF PROFITS OR CONFIDENTIAL OR OTHER INFORMATION, FOR BUSINESS
INTERRUPTION, FOR PERSONAL INJURY, FOR LOSS OF PRIVACY ARISING OUT OF OR IN ANY WAY RELATED TO THE USE OF OR INABILITY TO USE THE SOFTWARE, OR OTHERWISE IN CONNECTION
WITH ANY PROVISION OF THIS AGREEMENT, EVEN IF HP OR ANY SUPPLIER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF THE REMEDY FAILS OF ITS ESSENTIAL
PURPOSE. Some states/jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation or exclusion may not apply
to you.

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y

Done.

Done.
error: The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins. Please run 'hp-plugin' as normal user to install plug-ins. Visit http://hplipopensource.com for more infomation.

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Santhosh Manchikanti (santhosh2357651) said :
#1

Dear James,

Please try to install using below command and let me know if you still face issue.

"sh hplip-3.18.12-plugin.run"

Regards,
Santhosh

Revision history for this message
James Chamness (jchamness) said :
#2

Yes, I still have issue. I ran "sh hplip-3.18.12-plugin.run", and it
appears to install just fine. I then run hp-setup to set up my printer, but
once I identify the printer over the network (which works fine), it prompts
me to install the plugin *again*. I am not able to click on the option to
skip the installation step - it forces me to download from online and
install. I try this again, and the plugin installation appears to work
again, but as soon as I hit next, I get an error message saying that in
order to set up the printer I need to install the binary plugin - I then
hit cancel. No idea what's going on. I'm attaching my terminal output from
what I just described.

On Mon, Dec 3, 2018 at 11:02 PM Santhosh Manchikanti <
<email address hidden>> wrote:

> Your question #676576 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/676576
>
> Status: Open => Answered
>
> Santhosh Manchikanti proposed the following answer:
> Dear James,
>
> Please try to install using below command and let me know if you still
> face issue.
>
> "sh hplip-3.18.12-plugin.run"
>
> Regards,
> Santhosh
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hplip/+question/676576/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hplip/+question/676576
>
> You received this question notification because you asked the question.
>

--
James Chamness
MCDB&G PhD Student
Voytas Laboratory
Microbial and Plant Genomics Institute
& Center for Genome Engineering
University of Minnesota
350 Cargill Building for Microbial and Plant Genomics
1500 Gortner Avenue
Saint Paul, MN 55108-1023

Revision history for this message
Santhosh Manchikanti (santhosh2357651) said :
#3

Hi James,

Sorry for the inconvenience. HP_Color_LaserJet_MFP_M477fdn doesn't support WiFi. Please check with USB or Ethernet cable

Product Spec : https://store.hp.com/us/en/pdp/hp-color-laserjet-pro-mfp-m477fdn

Regards,
Santhosh

Revision history for this message
James Chamness (jchamness) said :
#4

That is not the issue. In the GUI for hp-setup, I am selecting
"Network/Ethernet/Wireless network (direct connection or JetDirect)", then
connecting via manual discovery by entering the printer host IP address,
which I got from the printer diagnostic page. I know that this works,
because once I hit next, hp-setup finds the printer and identifies it by
name. You can see this in the command output I attached to the above email:

Found device: hp:/net/HP_Color_LaserJet_MFP_M477fdn?ip=10.32.87.226

In any case, not recognizing the installation of the plugin would seem to
be a local issue that doesn't depend on which printer I am trying to set up.

On Tue, Dec 4, 2018 at 10:13 PM Santhosh Manchikanti <
<email address hidden>> wrote:

> Your question #676576 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/676576
>
> Status: Open => Answered
>
> Santhosh Manchikanti proposed the following answer:
> Hi James,
>
> Sorry for the inconvenience. HP_Color_LaserJet_MFP_M477fdn doesn't
> support WiFi. Please check with USB or Ethernet cable
>
> Product Spec : https://store.hp.com/us/en/pdp/hp-color-laserjet-pro-mfp-
> m477fdn <https://store.hp.com/us/en/pdp/hp-color-laserjet-pro-mfp-m477fdn>
>
> Regards,
> Santhosh
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hplip/+question/676576/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hplip/+question/676576
>
> You received this question notification because you asked the question.
>

--
James Chamness
MCDB&G PhD Student
Voytas Laboratory
Microbial and Plant Genomics Institute
& Center for Genome Engineering
University of Minnesota
350 Cargill Building for Microbial and Plant Genomics
1500 Gortner Avenue
Saint Paul, MN 55108-1023

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
peacecop kalmer: (peacecop-kalmer) said :
#6

Ubuntu 19.04:
$ ./hplip-3.19.6-plugin.run
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.6 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.19.6)
Plugin Installer ver. 3.0

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.

Plug-in version: 3.19.6
Installed HPLIP version: 3.19.6
Number of files to install: 64

Done.
$ echo "test"|lpr
$ lpq
Hewlett-Packard-hp-LaserJet-1000 is ready and printing
Rank Owner Job File(s) Total Size
active peaceco 200 (stdin) 1024 bytes
After a while:
$ lpq
Hewlett-Packard-hp-LaserJet-1000 is ready
no entries
But nothing got printed out.