Can't scan from network attached CM1017 mfp

Asked by MarianoAbsatz on 2009-02-03

Hi, using hplip 2.8.2-0ubuntu8.1 under hardy.

I have a CM1017 attached to the network. Printing always worked fine and today I started trying to scan from it... however, I can't make sane to find the device.

The IP is 192.168.31.5. In /etc/sane.d/net.conf I added a line with this IP by itself.

The URI in CUPS is hp:/net/HP_Color_LaserJet_CM1017?ip=192.168.31.5 (I had it originally configured from within the standard gnome "printer configuration wizard", but I erased all entries and configured it again using hp-setup. The printer keeps working just fine.

xsane says "no devices available".

If I run it like:

xsane hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.31.5

it says: "Failed to open device `hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.31.5': Error during device I/O"

Below is the output of "hp-check -t". Any help, appreciated.

###########################################################
HP Linux Imaging and Printing System (ver. 2.8.2)
Dependency/Version Check Utility ver. 13.0

Copyright (c) 2001-7 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...
warning: Invalid drv_dir value: /usr/share/cups/drv/hp/

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

Basic system information:
Linux kamchatka 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux

Distribution:
ubuntu 8.04

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
error: SIP not installed or version not found.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.7

------------------------------------
| 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-ddk - CUPS driver development kit...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System development files...
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...
OK, found.

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...
OK, found.

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)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt - Qt interface for Python...
OK, found.

Checking for dependency: python-devel - Python development files...
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...
OK, found.

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

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

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

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

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

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

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

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.8.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# 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
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=2.8.2.10

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

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

No devices found.

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

HP_Color_LaserJet_CM1017
------------------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/HP_Color_LaserJet_CM1017?ip=192.168.31.5
PPD: /etc/cups/ppd/HP_Color_LaserJet_CM1017.ppd
PPD Description: HP Color LaserJet CM1015 Postscript (recommended)
Printer status: printer HP_Color_LaserJet_CM1017 is idle. enabled since Tue 03 Feb 2009 09:52:30 ARST
Communication status: Good

hp_LaserJet_4250
----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/hp_LaserJet_4250?ip=192.168.31.7
PPD: /etc/cups/ppd/hp_LaserJet_4250.ppd
PPD Description: HP LaserJet 4250 Postscript (recommended)
Printer status: printer hp_LaserJet_4250 is idle. enabled since Tue 03 Feb 2009 10:48:26 ARST
Communication status: Good

PDF
---
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: cups-pdf:/
PPD: /etc/cups/ppd/PDF.ppd
PPD Description: Generic PDF file generator
Printer status: printer PDF is idle. enabled since Fri 12 Sep 2008 09:49:50 ART
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

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

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

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.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

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

error: 2 errors and/or warnings.

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

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
dwelch91
Solved:
2009-02-04
Last query:
2009-02-04
Last reply:
2009-02-04
VINODREDDY (vinod-reddy) said : #1

Hi MarianoAbsatz

            Need to update you hplip to the latest one.

           HP Color LaserJet cm1017

Supported by HPLIP (requires HPLIP version 2.8.10 or later

Plz find the url to download the latest build 2.8.12

http://hplipopensource.com/hplip-web/gethplip.html

Regards

vinod.K

MarianoAbsatz (el-baby) said : #2

Stupid me, thanx... whereas I had 2.8.2 I kept reading 2.8.12 again and again... :-D

New question then... I want to install 2.8.12 from source according to http://hplipopensource.com/hplip-web/install/manual/distros/ubuntu.html

Should I previously uninstall the .deb package?

Best dwelch91 (dwelch91) said : #3

Yes.

On Wed, Feb 4, 2009 at 5:48 AM, MarianoAbsatz <
<email address hidden>> wrote:

> Question #59734 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/59734
>
> Status: Answered => Open
>
> MarianoAbsatz is still having a problem:
> Stupid me, thanx... whereas I had 2.8.2 I kept reading 2.8.12 again and
> again... :-D
>
> New question then... I want to install 2.8.12 from source according to
> http://hplipopensource.com/hplip-web/install/manual/distros/ubuntu.html
>
> Should I previously uninstall the .deb package?
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

MarianoAbsatz (el-baby) said : #4

Thanks dwelch91, that solved my question.