HPLIP: scanning via network and print server

Asked by Sebastian Niehaus

I connected my HP PCS 1510 all in one printer to a print server (FritzBox 7141). Printing works okay after manual setup of CUPS (hp-probe -bnet did not discover the printer) but scanning does not work.

(Using the socket://-URI in CUPS Web-Interface and the PCS1510 PPD)

The scanner is not detected by "scanimage -L" although the hpaio sane module gets loaded.

Any hints on how to setup scanning?

Thanks in advance,

Sebastian

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Sebastian Niehaus
Solved:
Last query:
Last reply:
Revision history for this message
Sebastian Niehaus (niehaus-web) said :
#1

Umm... using Debian Sarge ...

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#2

Can you please run hp-check -t and post the output?

Thanks!

Revision history for this message
Sebastian Niehaus (niehaus-web) said :
#3

hp-check is not instaled on my system (Debian Sarge). What to do now?

Revision history for this message
Sebastian Niehaus (niehaus-web) said :
#4

"not installed" means "not included in the debian packages.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

You'll want to install hplip from our homepage to get full functionality.

http://hplip.sf.net the automatic installer should work well for you.

Revision history for this message
Sebastian Niehaus (niehaus-web) said :
#6

[Okay, this will be a loong posting with re information requested at the end]

Hm, I do not like to install software which is not part of my distribution's packet management, but anyways...

,----
|
| [...]
|
| DISTRO/OS CONFIRMATION
| ----------------------
| Distro appears to be Debian 4.0r1.
|
| Is "Debian 4.0r1" your correct distro/OS and version (y=yes*, n=no, q=quit) ?
`----

*Yes*

,----
| [...]
|
| INSTALL MISSING REQUIRED DEPENDENCIES
| -------------------------------------
| warning: There are 4 missing REQUIRED dependencies.
| note: Installation of dependencies requires an active internet connection.
| warning: Missing REQUIRED dependency: python-devel (python-devel - Python development files)
| error: This installer cannot install this dependency for your distro/OS and/or version.
| error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.
`----

Although I had an active internet connection I issued an "aptutude
install python-dev", with kind of success: the python dependency seems
to have been resolved:

,----
|
| [...]
|
| INSTALL MISSING REQUIRED DEPENDENCIES
| -------------------------------------
| warning: There are 3 missing REQUIRED dependencies.
| note: Installation of dependencies requires an active internet connection.
| warning: Missing REQUIRED dependency: cups-devel (cups-devel- Common Unix Printing System development files)
| error: This installer cannot install this dependency for your distro/OS and/or version.
|
`----

Hm, cups-devel missing? Naming is a bit different: libcupsys2-dev

,----
| INSTALL MISSING REQUIRED DEPENDENCIES
| -------------------------------------
| warning: There are 2 missing REQUIRED dependencies.
| note: Installation of dependencies requires an active internet connection.
| warning: Missing REQUIRED dependency: libusb (libusb - USB library)
`----

aptitude install libusb-dev (naming is diggerent again ...)

,----
| INSTALL MISSING REQUIRED DEPENDENCIES
| -------------------------------------
| warning: There are 1 missing REQUIRED dependencies.
| note: Installation of dependencies requires an active internet connection.
| warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
`----

"aptitude install libtool" (this was easy without name guessing) and
dependencies have been resolved. Great.

Okay, now I ran hp-check -t as requested:

,----
| [09:52:04][niehaus@crystalline:~]$ hp-check -t
|
| HP Linux Imaging and Printing System (ver. 2.7.10)
| Dependency/Version Check Utility ver. 12.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.
|
| Saving output in log file: hp-check.log
|
| Initializing. Please wait...
|
| ---------------
| | SYSTEM INFO |
| ---------------
|
| Basic system information:
| Linux crystalline 2.6.18-5-686 #1 SMP Wed Oct 3 00:12:50 UTC 2007 i686 GNU/Linux
|
| Distribution:
| debian 4.0r1
|
| HPOJ running?
| No, HPOJ is not running (OK).
|
| Checking Python version...
| OK, version 2.4.4 installed
|
| Checking PyQt version...
| error: NOT FOUND OR FAILED TO LOAD!
|
| Checking SIP version...
| error: SIP not installed or version not found.
|
| Checking for CUPS...
| Status: Scheduler läuft
| Version: 1.2.7
|
| Checking for Reportlab...
| warning: Not installed.
|
| ----------------
| | DEPENDENCIES |
| ----------------
|
|
| Checking for dependency: cups - Common Unix Printing System...
| 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...
| 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...
| 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...
| error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
|
| 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...
| warning: NOT FOUND! This is an OPTIONAL 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 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...
| OK, found.
|
|
| ----------------------
| | HPLIP INSTALLATION |
| ----------------------
|
|
| Currently installed HPLIP version...
| HPLIP 2.7.10 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.7.10
|
| [dirs]
| home=/usr/share/hplip
| run=/var/run
| ppd=/usr/share/ppd/HP
| ppdbase=/usr/share/ppd
| doc=/usr/share/doc/hplip-2.7.10
| icon=/usr/share/applications
| cupsbackend=/usr/lib/cups/backend
| foomatic=/usr/share/foomatic
|
| # Following values are determined at configure time and cannot be changed.
| [configure]
| network-build=no
| pp-build=no
| gui-build=no
| scanner-build=no
| fax-build=yes
| cups11-build=no
| doc-build=yes
| shadow-build=no
| foomatic-xml-install=no
| foomatic-ppd-install=yes
| internal-tag=2.7.10.11
|
|
| ----------------------
| | INSTALLED PRINTERS |
| ----------------------
|
|
| warning: No queues found.
|
| ---------------------
| | PYTHON EXTENSIONS |
| ---------------------
|
| Checking 'cupsext' CUPS extension...
| OK, found.
|
| Checking 'pcardext' Photocard extension...
| OK, found.
|
| Checking 'hpmudext' I/O extension...
| OK, found.
|
| -----------------
| | USB I/O SETUP |
| -----------------
|
|
| Checking for permissions of USB attached printers...
|
| -----------
| | SUMMARY |
| -----------
|
| error: 7 errors and/or warnings.
|
| Please refer to the installation instructions at:
| http://hplip.sourceforge.net/install/index.html
`----

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#7

Looks like you are still missing a bunch of dependencies, although the installer should work with debian..you may want to look over the manual install instructions to install the missing deps and try setting up the printer using hp-setup.

http://hplip.sourceforge.net/install/manual/distros/debian.html

A

Revision history for this message
Sebastian Niehaus (niehaus-web) said :
#8

According to https://answers.launchpad.net/hplip/+question/49273 it is not possible to do what I wanted to do with this hardware:

"HPLIP does not support sharing a printer over usb to the network. [...] If you want to use HPLIP with your printer and share it over the network an alternative solution is to use an HP Jetdirect to connect the printer to the network."

Problem kind of "solved" :-(