HP LaserJet Pro MFP M225dn LaserJet not recognized in hp-setup

Asked by stoned24-7

Dear Sir or Madam,

currently I want to setup an MFP M225dn printer in an Ubuntu 14.04 environment.

uname -a
3.16.0-45-generic #60~14.04.1-Ubuntu SMP Fri Jul 24 21:16:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
The printer is available on the Network(usb Connection is not possible)

The setup aborts with the Error:
error: Invalid device URI:
error: No device selected/specified or that supports this functionality

I already installed some other Devices via Command Line via
hp-setup -i <IPADDRESS>
without Problems.

Today i tried to setup the device via CUPS Homepage.
HP_LaserJet_Pro_MFP_M225dn?ip=<IPADDRESS>
but there is also an error thrown
"Filter failed"

Thanks in advance

stefan

TestCase:
hp-setup -i <IPADDRESS> -x

HP Linux Imaging and Printing System (ver. 3.15.7)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-13 Hewlett-Packard 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.)

--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num Connection Description
            Type
  -------- ---------- ----------------------------------------------------------
  0* usb Universal Serial Bus (USB)
  1 net Network/Ethernet/Wireless (direct connection or JetDirect)

Enter number 0...1 for connection type (q=quit, enter=usb*) ? 1

Using connection type: net

error: Invalid device URI:
error: No device selected/specified or that supports this functionality.

SNMP is enabled on the printer
STRING: "HP ETHERNET MULTI-ENVIRONMENT,SN:<SN>,FN:Y32294E,SVCID:25100,PID:HP LaserJet Pro MFP M225dn"

relevant Data of HP-check -t
----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.15.7
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro 14.04 version

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

[hplip]
version=3.15.7

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-3.15.7
html=/usr/share/doc/hplip-3.15.7
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin

# 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=no
dbus-build=yes
cups11-build=no
doc-build=no
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.15.7
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

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

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

[installation]
date_time = 05.08.2015 10:23:59
version = 3.15.7

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
stoned24-7 (stefan-der) said :
#1

After installing the Printer via Webinterface hp-check shows this for the new Printer

Print
-------
Type: Unknown
Device URI: hp:/net/HP_LaserJet_Pro_MFP_M225dn
PPD: /etc/cups/ppd/ES43184.ppd
PPD Description: HP LaserJet Pro MFP M225-M226 Postscript (recommended)
Printer Filter faileder <PRINTERNAME> is idle. enabled since Mi 05 Aug 2015 10:44:10 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Revision history for this message
goutam (goutamkk) said :
#2

Can you try running command 'hp-setup -g <IP>' in terminal where <IP>, is the IP address of the printer. For example, 192.168.2.1 is the IP address of the printer then run command 'hp-setup -g 192.168.2.1' and provide its ouput here.

Revision history for this message
stoned24-7 (stefan-der) said :
#3

After entering hp-setup -g <IP>, i got the following Output:

--------------------------------

  Num Connection Description
            Type
  -------- ---------- ----------------------------------------------------------
  0* usb Universal Serial Bus (USB)
  1 net Network/Ethernet/Wireless (direct connection or JetDirect)

Enter number 0...1 for connection type (q=quit, enter=usb*) ? 1

Using connection type: net

hp-setup[11171]: debug:
DEVICE CHOOSER setup_fax=True, setup_print=True
hp-setup[11171]: debug: Probing bus: net
hp-setup[11171]: debug: getDeviceUri(, None, ('hp',), None, , True)
hp-setup[11171]: debug: Mode=0
error: Invalid device URI:
error: No device selected/specified or that supports this functionality.

thanks in advance

kind regards

Stefan

Revision history for this message
stoned24-7 (stefan-der) said :
#4

/usr/lib/cups/backend$ ./snmp <IPofPrinter>

returns an Empty String

Revision history for this message
goutam kodu (goutam-hplip) said :
#5

are you able to ping to the device ?

Revision history for this message
stoned24-7 (stefan-der) said :
#6

Yes, it is possible to ping the Printer, and an SNMP Walk returns

snmpwalk -v 1 -c public <IPofPrinter>

iso.3.6.1.2.1.1.1.0 = STRING: "HP ETHERNET MULTI-ENVIRONMENT,SN:<SERIALNUMBER>,FN:Y3 23KWD,SVCID:25136,PID:HP LaserJet Pro MFP M225dn"

Revision history for this message
goutam (goutamkk) said :
#7

Can you type out the exact command here that you are using to configure the printer along with the printer IP address.

Revision history for this message
stoned24-7 (stefan-der) said :
#8

i tried to Setup the device via

hp-setup -i <IPADDRESS>

Revision history for this message
goutam (goutamkk) said :
#9

Can you provide the output of 'hp-probe -bnet -g'

Revision history for this message
stoned24-7 (stefan-der) said :
#10

Dear goutam,

the output returns nothing, but that might be a Problem because the Printer is not on the same subnet.
The printing device is in an a class Network (10.X.X.X) the PC is on a c Class Network (192.X.X.X)

I tried the command also with slp or mdns (all Services are running on the printer)

OUTPUT
----------------------------------------------------------------------------------------------------------------------------------------------
hp-probe -bnet -g

HP Linux Imaging and Printing System (ver. 3.15.7)
Printer Discovery Utility ver. 4.1

Copyright (c) 2001-13 Hewlett-Packard 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.

--------------------
| DEVICE DISCOVERY |
--------------------

Probing network for printers. Please wait, this will take approx. 10 seconds...

hp-probe[11388]: debug: {}
hp-probe[11388]: debug: Probing bus: net
warning: No devices found on the 'net' bus. If this isn't the result you are expecting,
warning: check your network connections and make sure your internet
warning: firewall software is disabled.

Done.

Revision history for this message
goutam (goutamkk) said :
#11

both have to be on the same subnet to be able to discover.

Revision history for this message
stoned24-7 (stefan-der) said :
#12

but why is it working for all other devices without discovery (HP LaserJet 3390, HP LaserJet M1522nf_MFP, HP)
both of those models are also not discovered by the setup probe.

<Printername>
-------
Type: Printer
Device URI: hp:/net/HP_LaserJet_M1522nf_MFP?ip=10.X.X.X
PPD: /etc/cups/ppd/<printername>.ppd
PPD Description: HP LaserJet M1522 MFP Series Postscript (recommended)
Printer status: printer <Printername> is idle. enabled since Mi 05 Aug 2015 13:18:57 CEST
Required plug-in status: Installed

----------------------------------------------------------------------------------------------------------------------------------------------
I try getting one of those devices on my subnet

Revision history for this message
stoned24-7 (stefan-der) said :
#13

Even if the device, is in the same subnet I got the errors i wrote down above.
Same result after disabling the Firewall on the Ubuntu Server.

-------------------------------------------------------------------------------------------------------------------------------

$ hp-setup -i <ipadress>
-------------------------------------------------------------------------------------------------------------------------------

HP Linux Imaging and Printing System (ver. 3.15.7)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-13 Hewlett-Packard 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.)

--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num Connection Description
            Type
  -------- ---------- ----------------------------------------------------------
  0* usb Universal Serial Bus (USB)
  1 net Network/Ethernet/Wireless (direct connection or JetDirect)

Enter number 0...1 for connection type (q=quit, enter=usb*) ? 1

Using connection type: net

error: Invalid device URI:
error: No device selected/specified or that supports this functionality.

-------------------------------------------------------------------------------------------------------------------------------

hp-probe -bnet --method='slp'
hp-probe -bnet --method='mdns'

hp-probe -bnet

-------------------------------------------------------------------------------------------------------------------------------

HP Linux Imaging and Printing System (ver. 3.15.7)
Printer Discovery Utility ver. 4.1

Copyright (c) 2001-13 Hewlett-Packard 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.

--------------------
| DEVICE DISCOVERY |
--------------------

Probing network for printers. Please wait, this will take approx. 10 seconds...

warning: No devices found on the 'net' bus. If this isn't the result you are expecting,
warning: check your network connections and make sure your internet
warning: firewall software is disabled.

Done.

Revision history for this message
stoned24-7 (stefan-der) said :
#14

Anyone got a fix for this error?

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

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