hp-setup can not find HP LaserJet Pro 400 M401dn

Asked by Jan Gran

OS: Ubuntu 12.04.1 LTS
HPLIP: 3.12.2-1ubuntu3.1

The printer is new HP LaserJet Pro 400 M401dn and I have just installed is and assigned it an IP xxx.yyy.zzz.uuu by DHCP and it is possible to visit the printer thru its web interface at http://xxx.yyy.zzz.uuu/

But when running "hp-setup" and scanning the network xxx.yyy.zzz.0/24 I only see other HP-printers, not my new HP LaserJet Pro 400 M401dn.

When running "hp-setup -g xxx.yyy.zzz.uuu" I get the following error message:

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

Copyright (c) 2001-9 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.

hp-setup[30379]: debug: param=xxx.yyy.zzz.uuu
hp-setup[30379]: debug: selected_device_name=None
hp-setup[30379]: debug: Sys.argv=['/usr/bin/hp-setup', '-g', 'xxx.yyy.zzz.uuu'] printer_name=None param=xxx.yyy.zzz.uuu jd_port=1 device_uri=None remove=False
Searching for device...
hp-setup[30379]: debug: Trying IP address xxx.yyy.zzz.uuu
hp-setup[30379]: debug: Found: hp:/net/HP_LaserJet_400_M401dn?ip=xxx.yyy.zzz.uuu
hp-setup[30379]: debug: hp:/net/HP_LaserJet_400_M401dn?ip=xxx.yyy.zzz.uuu: back_end:hp is_hp:True bus:net model:HP_LaserJet_400_M401dn serial: dev_file: host:xxx.yyy.zzz.uuu zc: port:1
hp-setup[30379]: debug: Cache miss: hp_laserjet_400_m401dn
hp-setup[30379]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-setup[30379]: debug: Searching for section [hp_laserjet_400_m401dn] in file /usr/share/hplip/data/models/models.dat
error: Device not found. Please make sure your printer is properly connected and powered-on.
hp-setup[30379]: debug: Starting GUI loop...

Done.

Any suggestions what is wrong? I have not changed any settings from default.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Gran
Solved:
Last query:
Last reply:
Revision history for this message
Demo24 (demo24) said :
#1

You're going to need 3.12.6 version to use that printer. Had to go through that myself when we started getting those in.

Revision history for this message
Srikanth (srikanth-lokare) said :
#2

Hi,

Please download and install latest HPLIP 3.12.10 release from http://hplipopensource.com/hplip-web/gethplip.html. Installation instructions can also be found in the same page. After completing the installation, run "hp-setup -g <IP Address>" from the terminal. If the problem still persists, please post the output of the terminal here.

Thanks and Regards,
Srikanth Lokare

Revision history for this message
Jan Gran (jan-gran) said :
#3

Thanks, it worked with the latest HPLIP 3.12.10. Maybe for the future it could be possible to get a better error message instead of "error: Device not found. Please make sure your printer is properly connected and powered-on."?

One thing that seems a bit strange to me during the installation is the default answer for the question "HPLIP-3.12.2 exists, this may conflict with the new one being installed. Do you want to ('i'= Remove and Install, 'o'= Overwrite*, 'q'= Quit)?"
Should not default be to "Remove and Install"? Otherwise some of the files belonging to the Ubuntu packages for the Ubuntu-shipped-hplip version would get overwritten while the old hplip packages still are marked "installed" in the Ubuntu package database. Seems to me more wise to "Remove and Install" instead of "Overwrite", or don't you agree?

Best, Jan