I have a HP Laserjet 3390 printer/scanner. The printer works fine. YaST finds and configures the scanner, but it fails to work as a scanner.
Within Yast, Scanner config, Other/Test:
Error
Test with 'scanimage -d hpaio:/usb/HP_LaserJet_3390?serial-00CNRJR03861 -v' failed.
The results are:
scanimage: open of device hpaio:/usb/HP_LaserJet_3390?serial-00CNRJR03861 failed: Invalid argument
scan
then:
Error
Failed to test hpaio
I then ran the option to run the HPSetup. It seemed to configure fine.
Tried the Other/Test again. It ran longer, but came back with the same error.
Any help to get this scanner working is appreciated.
scheduler is running
system default destination: hplaserjet3390
device for HP_LaserJet_3390: hp:/usb/HP_LaserJet_3390?serial=00CNRJR03861
device for HP_LaserJet_3390_fax: hpfax:/usb/HP_LaserJet_3390?serial=00CNRJR03861
device for hplaserjet3390: usb://HP/LaserJet%203390?serial=00CNRJR03861
HP_LaserJet_3390 accepting requests since Sun 29 May 2016 02:33:52 PM CDT
HP_LaserJet_3390_fax accepting requests since Sun 29 May 2016 02:32:00 PM CDT
hplaserjet3390 accepting requests since Sun 29 May 2016 02:22:49 PM CDT
printer HP_LaserJet_3390 is idle. enabled since Sun 29 May 2016 02:33:52 PM CDT
ready to print
printer HP_LaserJet_3390_fax is idle. enabled since Sun 29 May 2016 02:32:00 PM CDT
printer hplaserjet3390 is idle. enabled since Sun 29 May 2016 02:22:49 PM CDT
I note that you have the printer defined using the ‘hp’ backend, so that should be okay. I’m not sure if the ‘usb’ backend is impacting here. Is the scanner detected using the following?
Just to check that sane is correctly configured to use the hpaio backend (which should be the case if /etc/sane.d/dll.conf contains uncommented entry for it)
export SANE_DEBUG_DLL=128
scanimage -L
The attached multifunction device should be reported with something like
device `hpaio:/usb/HP_LaserJet_3300_3310_3320?serial=xxxxxxxxxxxx' is a hp HPLaserJet 3300/3310/3320 multi-function peripheral
HP Linux Imaging and Printing System (ver. 3.15.11)
Scan Utility ver. 2.2
Copyright (c) 2001-15 HP 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.
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/usb/HP_LaserJet_3390?serial=00CNRJR03861
Opening connection to device...
error: SANE: Invalid argument (code=4)
hp-doctor
HP Linux Imaging and Printing System (ver. 3.15.11)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-15 HP 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.
HP Linux Imaging and Printing System (ver. 3.15.11)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-15 HP 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.
\Xlib: extension "RANDR" missing on display ":0".
|Xlib: extension "RANDR" missing on display ":0".
Checking for Deprecated items....
No Deprecated items are found
Checking for HPLIP updates....
HP Linux Imaging and Printing System (ver. 3.15.11)
HPLIP upgrade latest version ver. 1.0
Copyright (c) 2001-15 HP 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.
error: HPLIP upgrade is disabled by openSUSE for security reasons, see https://bugzilla.novell.com/show_bug.cgi?id=853405 - if you like to upgrade HPLIP, use an openSUSE software package manager like YaST or zypper.
Done.
error: Failed to upgrade latest HPLIP. Is hp-upgrade already running (i.e. foreground or background)?
Checking for Dependencies....
---------------
| SYSTEM INFO |
---------------
Kernel: 4.1.21-14-default #1 SMP PREEMPT Sun Apr 17 07:27:45 UTC 2016 (fc187c1) GNU/Linux
Host: linux-gchk
Proc: 4.1.21-14-default #1 SMP PREEMPT Sun Apr 17 07:27:45 UTC 2016 (fc187c1) GNU/Linux
Distribution: suse 42.1
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.15.11
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for suse distro 42.1 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.15.11
[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
html==/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
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.15.11
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
apparmor_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:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1457579658
pending_upgrade_time = 0
latest_available_version = 3.16.2
[settings]
systray_visible = 0
systray_messages = 0
[last_used]
device_uri = hp:/usb/HP_LaserJet_3390?serial=00CNRJR03861
printer_name =
working_dir = .
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
interval = 5
device_list =
[fax]
voice_phone =
email_address =
[installation]
date_time = 05/30/2016 09:25:44
version = 3.15.11
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
--------------------------
| External Dependencies |
--------------------------
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.19 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.24 OK -
Xlib: extension "RANDR" missing on display ":0".
Xlib: extension "RANDR" missing on display ":0".
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.998 OK -
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.1.3 OK 'CUPS Scheduler is running'
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.113 OK -
network network -wget OPTIONAL - 1.14 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
dbus DBus - Message bus system REQUIRED - 1.8.16 OK -
-------------------------
| General Dependencies |
-------------------------
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.1 OK -
python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
error: reportlab Reportlab - PDF library for Python OPTIONAL 2.0 - MISSING 'reportlab needs to be installed'
python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
python-xml Python XML libraries REQUIRED - 2.1.0 OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.1.3 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.24 OK -
pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.9 OK -
pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.11.4 OK -
libjpeg libjpeg - JPEG library REQUIRED - - OK -
libpthread libpthread - POSIX threads library REQUIRED - 2.19 OK -
python-devel Python devel - Python development files REQUIRED 2.2 2.7.9 OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.1.3 OK -
sane SANE - Scanning library REQUIRED - 1.0.24 OK -
---------------
| COMPILEDEP |
---------------
libtool libtool - Library building support services REQUIRED - 2.4.2 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 4.8.5 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.0 OK -
----------------------
| Python Extentions |
----------------------
cupsext CUPS-Extension REQUIRED - 3.15.11 OK -
hpmudext IO-Extension REQUIRED - 3.15.11 OK -
-----------------------
| Scan Configuration |
-----------------------
scanext Scan-SANE-Extension REQUIRED - 3.15.11 OK -
hpaio HPLIP-SANE-Backend REQUIRED - 3.15.11 OK 'hpaio found in /etc/sane.d/dll.conf'
-----------------------
| Other Dependencies |
-----------------------
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
device `hpaio:/usb/HP_LaserJet_3390?serial=00CNRJR03861' is a Hewlett-Packard HP_LaserJet_3390 all-in-one
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
-------------------------------------------- --------------------------------
hp:/usb/HP_LaserJet_3390?serial=00CNRJR03861 HP LaserJet 3390
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP_LaserJet_3390
----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_3390?serial=00CNRJR03861
PPD: /etc/cups/ppd/HP_LaserJet_3390.ppd
PPD Description: HP LaserJet 3390 Postscript (recommended)
Printer ready to printr HP_LaserJet_3390 is idle. enabled since Sun 29 May 2016 02:33:52 PM CDT
Communication status: Good
HP_LaserJet_3390_fax
--------------------
Type: Fax
Device URI: hpfax:/usb/HP_LaserJet_3390?serial=00CNRJR03861
PPD: /etc/cups/ppd/HP_LaserJet_3390_fax.ppd
PPD Description: HP Fax hpcups
Printer status: printer HP_LaserJet_3390_fax is idle. enabled since Sun 29 May 2016 02:32:00 PM CDT
Communication status: Good
--------------
| PERMISSION |
--------------
USB HP_LaserJet_3390 Required - - OK Node:'/dev/bus/usb/007/004' Perm:' root lp rw- rw- rw- rw- r--'
Checking Permissions....
Checking for Configured Queues....
Queue(s) configured correctly using HPLIP.
Checking for HP Properitery Plugin's....
No plug-in printers are configured.
Diagnose completed...
More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html
rm -rf ~/.sane
dad@linux-gchk:~> hp-scan
HP Linux Imaging and Printing System (ver. 3.15.11)
Scan Utility ver. 2.2
Copyright (c) 2001-15 HP 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.
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/usb/HP_LaserJet_3390?serial=00CNRJR03861
Opening connection to device...
error: SANE: Invalid argument (code=4)
I read the other post. I have not set up a LAN printer for years. It looks like that might do the trick. How would I set that up?
I can report the bug as well. Where would that be done?
Okay, then perhaps there is a regression here. This is the same problem as described in the other thread I linked to. The next step many be to submit a bug report. The information you have accumulated here can be included in your report, and other questions may be asked.
As a workaround, you could try connecting this device to your network instead (assuming that is viable in your situation) as the other user found that it was working okay as a network-attached device.
I read the other post. I have not set up a LAN printer for years. It looks like that might do the trick. How would I set that up?
You’ll need to set up the printer IP address via its front-panel. If you choose DHCP, then make sure that your router, reserves the address for this particular device, since you don’t want the printer IP address changing on you. Having said that HPLIP is capable of configuring the printer by hostname as well as by numeric IP address if preferred. Many just prefer to assign a static IP address for the printer outside the DHCP range used by the router.
Remove any previously defined (USB-attached) printer configuration in CUPS. The next step is to configure using the ‘hp-setup’ utility. That should detect and configure as required.