HP Linux Imaging and Printing

Network scanning with HP Laserjet 4100mfp

Asked by Nickzeff on 2010-08-14

I have recently bought a reconditioned HP Laserjet 4100mfp.

I can print over the network, and the scanner works if I use the native digital sending function on the unit itself (this sends the scan as an email attachment through an SMTP server you define in the printer config).

However, I was wondering if scanning could be controlled across the network using HPLIP?

The printer does appear as a scanner to the system. The output of scanimage -L is:

device `hpaio:/net/HP_LaserJet_4100_MFP?ip=10.0.0.140' is a Hewlett-Packard HP_LaserJet_4100_MFP all-in-one

But any kind of attempt to communicate with the scanner fails with some kind of IO error. xsane, for example, outputs the following after scanning for devices:

Failed to open device `hpaio:/net/HP_LaserJet_4100_MFP?ip=10.0.0.140': Error during device I/O.

This page seems to suggest that this printer doesn't support the normal scanning protocols, and scanning via digital sending is my only option:

http://hplipopensource.com/node/302

Can someone please confirm that I am correct on this, and that there is no way to scan from this printer under linux other than to use digital sending?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Naga Samrat Chowdary, Narla
Solved:
2010-08-15
Last query:
2010-08-15
Last reply:
2010-08-14
Nickzeff (nick) said : #1

BTW output of hpcheck -rt:

hp-check[14451]: info: :
Initializing. Please wait...
Ubuntu

10.04

scheduler is running

1.4.3

Linux noo-nick 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 GNU/Linux

hp-check[14451]: info: :
hp-check[14451]: info: :---------------
hp-check[14451]: info: :| SYSTEM INFO |
hp-check[14451]: info: :---------------
hp-check[14451]: info: :
hp-check[14451]: info: :Basic system information:
hp-check[14451]: info: :Linux noo-nick 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 GNU/Linux
hp-check[14451]: info: :
hp-check[14451]: info: :Distribution:
hp-check[14451]: info: :ubuntu 10.04
hp-check[14451]: info: :
hp-check[14451]: info: :Checking Python version...
hp-check[14451]: info: :OK, version 2.6.5 installed
hp-check[14451]: info: :
hp-check[14451]: info: :Checking PyQt 4.x version...
hp-check[14451]: info: :OK, version 4.7.2 installed.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for CUPS...
hp-check[14451]: info: :Status: scheduler is running
hp-check[14451]: info: :Version: 1.4.3
hp-check[14451]: info: :error_log is set to level: warn
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dbus/python-dbus...
hp-check[14451]: info: :dbus daemon is running.
hp-check[14451]: info: :python-dbus version: 0.83.0
hp-check[14451]: info: :
hp-check[14451]: info: :
hp-check[14451]: info: :------------------------
hp-check[14451]: info: :| RUNTIME DEPENDENCIES |
hp-check[14451]: info: :------------------------
hp-check[14451]: info: :
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dependency: Python XML libraries...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :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.
hp-check[14451]: info: :To install this dependency, execute this command:
hp-check[14451]: info: :sudo aptitude install --assume-yes python-reportlab
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dependency: SANE - Scanning library...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :
hp-check[14451]: info: :----------------------
hp-check[14451]: info: :| HPLIP INSTALLATION |
hp-check[14451]: info: :----------------------
hp-check[14451]: info: :
hp-check[14451]: info: :
hp-check[14451]: info: :Currently installed HPLIP version...
hp-check[14451]: info: :HPLIP 3.10.2 currently installed in '/usr/share/hplip'.
hp-check[14451]: info: :
hp-check[14451]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[14451]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.10.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.2rc1.9
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no

hp-check[14451]: info: :
hp-check[14451]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[14451]: info: :# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

hp-check[14451]: info: :
hp-check[14451]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[14451]: info: :[last_used]
device_uri = hp:/net/HP_LaserJet_4100_MFP?ip=10.0.0.140

[installation]
version = 3.10.2rc1.9
date_time = 08/14/2010 20:43:15

hp-check[14451]: info: :
hp-check[14451]: info: :--------------------------
hp-check[14451]: info: :| DISCOVERED USB DEVICES |
hp-check[14451]: info: :--------------------------
hp-check[14451]: info: :
hp-check[14451]: info: :No devices found.
hp-check[14451]: info: :
hp-check[14451]: info: :---------------------------------
hp-check[14451]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[14451]: info: :---------------------------------
hp-check[14451]: info: :
hp-check[14451]: info: :
hp-check[14451]: info: :HP-LaserJet-4100-MFP
hp-check[14451]: info: :--------------------
hp-check[14451]: info: :Type: Printer
hp-check[14451]: info: :Device URI: hp:/net/HP_LaserJet_4100_MFP?ip=10.0.0.140
hp-check[14451]: info: :PPD: /etc/cups/ppd/HP-LaserJet-4100-MFP.ppd
hp-check[14451]: info: :PPD Description: HP LaserJet 4100 MFP v.3010.107 Postscript (recommended)
hp-check[14451]: info: :Printer status: printer HP-LaserJet-4100-MFP is idle. enabled since Sat 14 Aug 2010 06:02:53 PM EST
 ready to print
hp-check[14451]: info: :Communication status: Good
hp-check[14451]: info: :
hp-check[14451]: info: :
hp-check[14451]: info: :----------------------
hp-check[14451]: info: :| SANE CONFIGURATION |
hp-check[14451]: info: :----------------------
hp-check[14451]: info: :
hp-check[14451]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[14451]: info: :'hpaio' in '/etc/sane.d/dll.d/hplip'...
hp-check[14451]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking output of 'scanimage -L'...
hp-check[14451]: info: :device `hpaio:/net/HP_LaserJet_4100_MFP?ip=10.0.0.140' is a Hewlett-Packard HP_LaserJet_4100_MFP all-in-one

hp-check[14451]: info: :
hp-check[14451]: info: :---------------------
hp-check[14451]: info: :| PYTHON EXTENSIONS |
hp-check[14451]: info: :---------------------
hp-check[14451]: info: :
hp-check[14451]: info: :Checking 'cupsext' CUPS extension...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking 'pcardext' Photocard extension...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking 'hpmudext' I/O extension...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :Checking 'scanext' SANE scanning extension...
hp-check[14451]: info: :OK, found.
hp-check[14451]: info: :
hp-check[14451]: info: :
hp-check[14451]: info: :
hp-check[14451]: info: :---------------
hp-check[14451]: info: :| USER GROUPS |
hp-check[14451]: info: :---------------
hp-check[14451]: info: :
hp-check[14451]: info: :nick adm lp dialout cdrom plugdev lpadmin admin sambashare vboxusers netshare

hp-check[14451]: info: :User member of group 'lp'. Enables print/ scan/ fax.
hp-check[14451]: info: :User member of group 'lpadmin'.
hp-check[14451]: info: :
hp-check[14451]: info: :-----------
hp-check[14451]: info: :| SUMMARY |
hp-check[14451]: info: :-----------
hp-check[14451]: info: :
error: 1 error or warning.
hp-check[14451]: info: :
hp-check[14451]: info: :Summary of needed commands to run to satisfy missing dependencies:
hp-check[14451]: info: :sudo aptitude install --assume-yes python-reportlab
hp-check[14451]: info: :
hp-check[14451]: info: :Please refer to the installation instructions at:
hp-check[14451]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[14451]: info: :
hp-check[14451]: info: :Done.

Sorry for inconvenience caused due to this.
HPLIP software doesn't support scan from host on this printer, as this printer has digital sending technology.

Thanks,
Naga Samrat Chowdary, Narla

Nickzeff (nick) said : #3

Oh well :(

Thanks for confirming that!