You are not logged in.

#1 2014-12-04 19:23:18

CaptainKirk
Member
Registered: 2009-06-07
Posts: 393

[SOLVED] Can't Scan with HP OfficeJet 4500

My cups says at http://localhost:631/printers/HP_Officejet_4500_G510g-m this:

HP_Officejet_4500_G510g-m
HP_Officejet_4500_G510g-m (Idle, Accepting Jobs, Not Shared)
Description:	HP Officejet 4500 G510g-m
Location:	
Driver:	HP Officejet 4500 g510g-m hpijs, 3.14.10 (color, 2-sided printing)
Connection:	usb://HP/Officejet%204500%20G510g-m?serial=CN21CG201N05CQ&interface=1
Defaults:	job-sheets=none, none media=na_letter_8.5x11in sides=one-sided

and it prints fine.

But I can't scan now. I could before. This is what I see in my terminal:

$ sudo hp-check
Saving output in log file: /home/kirk/hp-check.log

HP Linux Imaging and Printing System (ver. 3.14.10)
Dependency/Version Check Utility ver. 15.1

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

Check types:                                                                                                                             
a. EXTERNALDEP - External Dependencies                                                                                                   
b. GENERALDEP - General Dependencies (required both at compile and run time)                                                             
c. COMPILEDEP - Compile time Dependencies                                                                                                
d. [All are run-time checks]                                                                                                             
PYEXT SCANCONF QUEUES PERMISSION                                                                                                         

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

warning: arch distro is not found in AUTH_TYPES
warning: unknown- version is not supported. Using unknown-0 versions dependencies to verify and install...

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

 Kernel: 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:14:42 CET 2014 GNU/Linux
 Host: arch
 Proc: 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:14:42 CET 2014 GNU/Linux
 Distribution: unknown 
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.14.10
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for unknown distro   version 

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

[hplip]
version=3.14.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.14.10
html=/usr/share/doc/hplip-3.14.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
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=yes
internal-tag=3.14.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No such file or directory
 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------------------
|  External Dependencies |
--------------------------

 policykit            Admin-Policy-framework    OPTIONAL        -               0.112           OK         -
 gs                   Ghostscript               REQUIRED        7.05            9.15            OK         -
 network              Network-wget              OPTIONAL        -               1.16            OK         -
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.24          OK         -
 avahi-utils          avahi-utils               OPTIONAL        -               0.6.31          OK         -
 dbus                 DBus                      REQUIRED        -               1.8.10          OK         -
 cups                 CUPS                      REQUIRED        1.1             2.0.1           OK         'CUPS Scheduler is running'
 xsane                SANE-GUI                  OPTIONAL        0.9             0.999           OK         -

-------------------------
|  General Dependencies |
-------------------------

 error: reportlab     Python-PDF-Lib            OPTIONAL        2.0             -               MISSING    'reportlab needs to be installed'
 libcrypto            OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           OK         -
 error: pil           Python-Image-Lib          OPTIONAL        -               -               MISSING    'pil needs to be installed'
 pyqt4-dbus           PyQt4-DBUS                REQUIRED        4.0             4.11.3          OK         -
 libjpeg              JPEG-Lib                  REQUIRED        -               -               OK         -
 libpthread           POSIX-Threads-Lib         REQUIRED        -               2.20            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.2.0           OK         -
 python-devel         Python-SDK                REQUIRED        2.2             3.4.2           OK         -
 pyqt4                Python-Qt4                REQUIRED        4.0             4.11.3          OK         -
 cups-devel           CUPS-SDK                  REQUIRED        -               2.0.1           OK         -
 sane-devel           SANE-SDK                  REQUIRED        -               1.0.24          OK         -
 libusb               USB-Lib                   REQUIRED        -               1.0             OK         -
 sane                 Scan-Lib                  REQUIRED        -               1.0.24          OK         -
 cups-image           CUPS-Image-Lib            REQUIRED        -               2.0.1           OK         -
 libnetsnmp-devel     SNMP-Networking-SDK       REQUIRED        5.0.9           5.7.2           OK         -
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

------------------------------
|  Compile Time Dependencies |
------------------------------

 gcc                  gcc-Compiler              REQUIRED        -               4.9.2           OK         -
 libtool              Build-tools               REQUIRED        -               2.4.2           OK         -
 make                 GNU-Build-tools           REQUIRED        3.0             4.1             OK         -

----------------------
|  Python Extentions |
----------------------

 cupsext              CUPS-Extension            REQUIRED        -               3.14.10         OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.14.10         OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.14.10         OK         -

-----------------------
|  Scan Configuration |
-----------------------

 hpaio                HPLIP-SANE-Backend        REQUIRED        -               3.14.10         OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension       REQUIRED        -               3.14.10         OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

/^Cerror: User exit

Done.

I kill it because it just hangs. The issue appears to be "reportlab needs to be installed" but I beleve I have all the packages installed:

$ sudo pacman -Qs pyth
local/cython 0.21.1-1
    C-Extensions for Python 
local/gnome-python 2.28.1-9
    PyGNOME Python extension module
local/libftdi 1.2-1
    A library to talk to FTDI chips, optional python bindings.
local/libreoffice-still-common 4.2.7-2 (libreoffice-still)
    Common files for LibreOffice maintenance branch
local/pygtk 2.24.0-5
    Python bindings for the GTK widget set
local/pygtksourceview2 2.10.1-5
    Python bindings for gtksourceview2
local/pyorbit 2.24.0-5
    Python bindings for ORBit2
local/pyqt4-common 4.11.3-1
    Common PyQt files shared between python-pyqt4 and python2-pyqt4
local/python 3.4.2-1
    Next generation of the python high-level scripting language
local/python-atspi 2.12.0-1
    Python 3 bindings for at-spi
local/python-bsddb 6.0.1-3
    Python interface for BerkeleyDB
local/python-cairo 1.10.0-4
    Python bindings for the cairo graphics library
local/python-dbus 1.2.0-4
    Python 3.3 bindings for DBUS
local/python-dbus-common 1.2.0-4
    Common dbus-python files shared between python-dbus and python2-dbus
local/python-gobject 3.14.0-2
    Python 3 bindings for GObject
local/python-pyqt4 4.11.3-1
    A set of Python 3.x bindings for the Qt toolkit
local/python-reportlab 3.1.8-1
    A proven industry-strength PDF generating solution
local/python-setuptools 1:7.0-1
    Easily download, build, install, upgrade, and uninstall Python packages
local/python-sip 4.16.4-1
    Python 3.x SIP bindings for C and C++ libraries
local/python-xdg 0.25-2
    Python library to access freedesktop.org standards
local/python-xlib 0.15rc1-6
    A fully functional X client library for Python programs
local/python2 2.7.8-2
    A high-level scripting language
local/python2-beaker 1.6.4-2
    Caching and sessions WSGI middleware for use with web applications and stand-alone Python scripts and applications
local/python2-bonobo 2.28.1-9
    Python bindings for interacting with Bonobo
local/python2-boto 2.34.0-1
    A Python interface to Amazon Web Services (AWS)
local/python2-bsddb 6.0.1-3
    Python interface for BerkeleyDB
local/python2-cairo 1.10.0-2
    Python2 bindings for the cairo graphics library
local/python2-crypto 2.6.1-2
    Collection of cryptographic algorithms and protocols, implemented for use from Python 2.
local/python2-dbus 1.2.0-4
    Python 2.7 bindings for DBUS
local/python2-distutils-extra 2.38-2
    Enhancements to the Python build system
local/python2-ecdsa 0.11-2
    Implementation of ECDSA in Python
local/python2-gconf 2.28.1-9
    Python bindings for interacting with GConf
local/python2-gnomecanvas 2.28.1-9
    Python bindings for the GNOME Canvas
local/python2-gnomekeyring 2.32.0-15
    Python bindings for libgnome-keyring
local/python2-gnomevfs 2.28.1-9
    Python bindings for interacting with gnome-vfs
local/python2-gnupginterface 0.3.2-2
    A Python interface to GNU Privacy Guard (GnuPG).
local/python2-gobject 3.14.0-2
    Python 2 bindings for GObject
local/python2-gobject2 2.28.6-11
    Python 2 bindings for GObject2
local/python2-keybinder2 0.3.0-2
    Library for registering global keyboard shortcuts - Python 2 bindings
local/python2-keyring 4.0-2
    Store and access your passwords safely.
local/python2-libgnome 2.28.1-9
    Python bindings for libgnome
local/python2-lockfile 0.10.2-1
    Platform-independent file locking module
local/python2-mako 1.0.0-1
    Hyperfast and lightweight templating for the Python2 platform
local/python2-markupsafe 0.23-1
    Implements a XML/HTML/XHTML Markup safe string for Python
local/python2-notify 0.1.1-13
    Python bindings for libnotify
local/python2-numpy 1.9.1-1
    Scientific tools for Python
local/python2-paramiko 1.15.1-1
    Python module that implements the SSH2 protocol
local/python2-pyqt4 4.11.3-1
    A set of Python 2.x bindings for the Qt toolkit
local/python2-pysqlite 2.6.3-4
    A Python DB-API 2.0 interface for the SQLite embedded relational database engine
local/python2-sip 4.16.4-1
    Python 2.x SIP bindings for C and C++ libraries
local/python2-wnck 2.32.0-15
    Python bindings for libwnck
local/python2-xdg 0.25-2
    Python library to access freedesktop.org standards
local/sip 4.16.4-1
    A tool that makes it easy to create Python bindings for C and C++ libraries
local/wxpython 3.0.2.0-1
    A wxWidgets GUI toolkit for Python

and I just reinstalled some and rebooted.

I am a bit lost as to what's wrong. sad

Last edited by CaptainKirk (2014-12-05 12:23:09)

Offline

#2 2014-12-05 12:23:57

CaptainKirk
Member
Registered: 2009-06-07
Posts: 393

Re: [SOLVED] Can't Scan with HP OfficeJet 4500

In reality I couldn't print either. Not sure what really fixed it, but it seemed that adding hpoj from AUR and rebooting did it. I then readded the printer and now all works.

Offline

Board footer

Powered by FluxBB