hplip support for hp laserjet M1522N(f)

Asked by Larissa Junek

Hello,

1. Linux-Distribtution OpenSuSE 12.1

2. Printer Model: HP LaserJet M1522N(f)

3.HP Linux Imaging and Printing System (ver. 3.11.10)
Dependency/Version Check Utility ver. 14.3

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.

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).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux gbd1 3.1.9-1.4-desktop #1 SMP PREEMPT Fri Jan 27 08:55:10 UTC 2012 (efb5ff4) x86_64 x86_64 x86_64 GNU/Linux

Distribution:
suse 12.1

Checking Python version...
OK, version 2.7.2 installed

Checking PyQt 4.x version...
OK, version 4.8.5 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.5.0
warning: /etc/cups/cupsd.conf file not found or not accessible.

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.2

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: CUPS image - CUPS image development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.11.10 currently installed in '/usr/share/hplip'.

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

[hplip]
version=3.11.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
ppdbase=/usr/share/cups/model/manufacturer-PPDs
doc=/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
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=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.11.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 09.02.2012 12:45:48
version = 3.11.10

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

No devices found.

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

lpstat
------
Type: Unknown
Device URI: No destinations added.

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
error: Not found. SANE backend 'hpaio' NOT properly setup (needs to be added to /etc/sane.d/dll.conf).

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

---------------
| USER GROUPS |
---------------

users video

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

error: 9 errors and/or warnings.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Done.
junek@gbd1:/var/log/cups>

4.I want a network-install for hp laserjet M1522N(f) . With the usb-interface the printer is recognised. The JetDirect-Card of the printer ist not recognised!

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
goutam kodu
Solved:
Last query:
Last reply:
Revision history for this message
Johannes Meixner (jsmeix) said :
#1

See
http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_m1522nf_mfp.html
-------------------------------------------------------------------------------------------------
HP LaserJet m1522nf Multifunction Printer
...
This printer REQUIRES a downloadable driver plug-in.
Use hp-setup to install the printer, and to download and install the plug-in.
-------------------------------------------------------------------------------------------------

Did you use hp-setup to download and install the plug-in
and the install the printer?

See also
http://en.opensuse.org/SDB:How_to_set-up_a_HP_printer

Revision history for this message
Larissa Junek (l-junek) said :
#2

I checked out hp-setup but where can i find the new driver? only the connection via usb-drive works.... but we want to print with JetDirect and printers network card.

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

Hi,

As there are some of the dependencies missing in the hp-check log. Please install the latest hplip 3.12.2 version by downloading the driver hplip-3.12.2.run from http://hplipopensource.com/hplip-web/gethplip.html and install it by running command "sh hplip-3.12.2.run" in terminal. This will auto install the hplip-3.12.2.

Next, run command "hp-setup" in terminal and setup the device.

If you are configuring the device over the network , please select the second option in the hp-setup tool and click the advance option and check the manual discovery option and enter the IP address of the printer in there and proceed.

Thanks,
Goutam

Revision history for this message
Larissa Junek (l-junek) said :
#4

Hello,
by opening port 5353 using sh hplip-3.12.2.run the printer could finally be installed with the hp-setup command.
Thanks!
Larissa

Revision history for this message
Johannes Meixner (jsmeix) said :
#5

WHAT!?
Does hplip-3.12.2.run open ports in the firewall?
If yes, it could be a major security issue!

Revision history for this message
Larissa Junek (l-junek) said :
#6

yes obviously:
 in hplip-3.12.2.run there is the following menu:

OPEN MDNS/BONJOUR FIREWALL PORT (MULTICAST PORT 5353)
-----------------------------------------------------
In order to setup your printer on the network using mDNS/Bonjour, it is required that your internet firewall allows connections on port
5353. If this port is blocked by the firewall, connection to network printers using mDNS/Bonjour will not be possible.

Do you wish to open this port on your internet firewall (y=yes*, n=no, q=quit) ?

Revision history for this message
Johannes Meixner (jsmeix) said :
#7

Ah!
It explicitly asks you to open ports in your firewall
so that you are informed what is going on.
Then everything is o.k.!

FYI:
In the openSUSE package "hplip" we have the file
/etc/sysconfig/SuSEfirewall2.d/services/hplip
which provides information for the SuSEfirewall2
to open "mdns" and "svrloc" ports in the SuSEfirewall2 for HPLIP.
You can use the YaST firewall module to set up this.