Scanner not found

Asked by RayArdia on 2019-09-21

On Ubuntu 16.04, HPLIP 3.19.8, using HP Officejet 3830 Series printer. Both Simple Scan and XSane both report Scanner not found.
After reinstalling printer Error No Printers found

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
37 minutes ago
Last reply:
14 minutes ago
shivani mandora (shivani1708) said : #1

Hi,

Have you installed plugin file?
After installing the printer, check lsusb -v command if you are connecting through usb.
It should display HP Officejet 3830 Series printer in the list. After that again do hp-setup.

RayArdia (theallinsons) said : #2

Thanks. Plug in installed, connecting via wireless as I have been for past
2 years.
Regards
Ray

On Mon, 23 Sep 2019, 07:08 shivani mandora, <
<email address hidden>> wrote:

> Your question #684102 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/684102
>
> Status: Open => Answered
>
> shivani mandora proposed the following answer:
> Hi,
>
> Have you installed plugin file?
> After installing the printer, check lsusb -v command if you are connecting
> through usb.
> It should display HP Officejet 3830 Series printer in the list. After that
> again do hp-setup.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hplip/+question/684102/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hplip/+question/684102
>
> You received this question notification because you asked the question.
>

RayArdia (theallinsons) said : #3

Please read my previous answer. I am not connecting via USB but by
wireless.
Please reply in light of this.
Ray

On Wed, 25 Sep 2019, 10:52 RayArdia, <email address hidden>
wrote:

> Your question #684102 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/684102
>
> Status: Answered => Open
>
> You are still having a problem:
> Thanks. Plug in installed, connecting via wireless as I have been for past
> 2 years.
> Regards
> Ray
>
> On Mon, 23 Sep 2019, 07:08 shivani mandora, <
> <email address hidden>> wrote:
>
> > Your question #684102 on HPLIP changed:
> > https://answers.launchpad.net/hplip/+question/684102
> >
> > Status: Open => Answered
> >
> > shivani mandora proposed the following answer:
> > Hi,
> >
> > Have you installed plugin file?
> > After installing the printer, check lsusb -v command if you are
> connecting
> > through usb.
> > It should display HP Officejet 3830 Series printer in the list. After
> that
> > again do hp-setup.
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> https://answers.launchpad.net/hplip/+question/684102/+confirm?answer_id=0
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/hplip/+question/684102
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Launchpad Janitor (janitor) said : #4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

RayArdia (theallinsons) said : #5

I am still having same problem and need an answer to my last comment "Please read my previous answer. I am not connecting via USB but by
wireless.
Please reply in light of this."
Can I please have some help to resolve this problem as I need the scanner and printer to function properly.

RayArdia (theallinsons) said : #6

Output from HP Check log

hp-check[3936]: info: :
hp-check[3936]: info: :[01mHP Linux Imaging and Printing System (ver. 3.19.8)[0m
hp-check[3936]: info: :[01mDependency/Version Check Utility ver. 15.1[0m
hp-check[3936]: info: :
hp-check[3936]: info: :Copyright (c) 2001-18 HP Development Company, LP
hp-check[3936]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[3936]: info: :This is free software, and you are welcome to distribute it
hp-check[3936]: info: :under certain conditions. See COPYING file for more details.
hp-check[3936]: info: :
hp-check[3936]: info: :[01mNote: hp-check can be run in three modes:[0m
hp-check[3936]: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the
hp-check[3936]: info: :HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
hp-check[3936]: info: :are installed to successfully compile HPLIP.
hp-check[3936]: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro
hp-check[3936]: info: :supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
hp-check[3936]: info: :has the proper dependencies installed to successfully run.
hp-check[3936]: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode
hp-check[3936]: info: :will check both of the above cases (both compile- and run-time dependencies).
hp-check[3936]: info: :
hp-check[3936]: info: :Check types:
hp-check[3936]: info: :a. EXTERNALDEP - External Dependencies
hp-check[3936]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[3936]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[3936]: info: :d. [All are run-time checks]
hp-check[3936]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[3936]: info: :
hp-check[3936]: info: :Status Types:
hp-check[3936]: info: : OK
hp-check[3936]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[3936]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[3936]: info: :
hp-check[3936]: info: :
hp-check[3936]: info: :---------------
hp-check[3936]: info: :| SYSTEM INFO |
hp-check[3936]: info: :---------------
hp-check[3936]: info: :
hp-check[3936]: info: : Kernel: 4.15.0-65-generic #74~16.04.1-Ubuntu SMP Wed Sep 18 09:52:05 UTC 2019 GNU/Linux
 Host: ray-lenovo-v110-15iap
 Proc: 4.15.0-65-generic #74~16.04.1-Ubuntu SMP Wed Sep 18 09:52:05 UTC 2019 GNU/Linux
 Distribution: 12 16.04
hp-check[3936]: info: : Bitness: 32 bit

hp-check[3936]: info: :
hp-check[3936]: info: :-----------------------
hp-check[3936]: info: :| HPLIP CONFIGURATION |
hp-check[3936]: info: :-----------------------
hp-check[3936]: info: :
hp-check[3936]: info: :HPLIP-Version: HPLIP 3.19.8
hp-check[3936]: info: :HPLIP-Home: /usr/share/hplip
hp-check[3936]: info: :HPLIP-Installation: Auto installation is supported for ubuntu distro 16.04 version
hp-check[3936]: info: :
hp-check[3936]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[3936]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.19.8

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.19.8
html=/usr/share/doc/hplip-3.19.8
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
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=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.19.8
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no

hp-check[3936]: info: :
hp-check[3936]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check[3936]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[3936]: info: :
hp-check[3936]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[3936]: info: :[upgrade]
notify_upgrade = false
last_upgraded_time = 1569075998
pending_upgrade_time = 0
latest_available_version = 3.17.10

[installation]
date_time = 17/10/19 11:16:44
version = 3.19.8

hp-check[3936]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[3936]: info: :
hp-check[3936]: info: :--------------
hp-check[3936]: info: :| COMPILEDEP |
hp-check[3936]: info: :--------------
hp-check[3936]: info: :
hp-check[3936]: info: : gcc gcc - GNU Project C and C++ Compiler REQUIRED - 5.4.0 OK -
hp-check[3936]: info: : make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
hp-check[3936]: info: : libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
hp-check[3936]: info: :
hp-check[3936]: info: :------------------------
hp-check[3936]: info: :| General Dependencies |
hp-check[3936]: info: :------------------------
hp-check[3936]: info: :
hp-check[3936]: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK -
hp-check[3936]: info: : python-xml Python XML libraries REQUIRED - 2.1.0 OK -
hp-check[3936]: info: : libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
hp-check[3936]: info: : sane-devel SANE - Scanning library development files REQUIRED - 1.0.25 OK -

Still getting Error 'No Scanners avaireless Test Results lable. Please connect a scanner' when I try to scan either with Simple Scan or XSane.

Wireless Test on Printer says 'No problems found, congratulations on the successful setup of your wireless printer' - which I do find a little ironic given the problems I'm having!

Printer connected via Network wifi. Wi

RayArdia (theallinsons) said : #7

Have bought a new Officejet3833 printer and installed it in accordance with HP's installation instructions.
I still get this error message
 HPLIP cannot detect printers in your network.
This may be due to existing firewall settings blocking the required ports. When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link. http://hplipopensource.com/node/375.

As I don't know how to 'open the ports for network services like mdns and slp in the firewall' I was expecting to find instruction from the link http://hplipopensource.com/node/375 but it is completely useless, as far as I can see.

Please may I have some help.

brian_p (claremont102) said : #8

A plugin is not needed according to

  https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index

Anyway, post what you get for

  ls -l /usr/share/hplip/prnt

and

  ls -l /usr/share/hplip/scan

Cheers,

Brian.

RayArdia (theallinsons) said : #9

ray@ray-lenovo-v110-15iap:~$ ls -l /usr/share/hplip/prnt
total 72
-rw-r--r-- 1 root root 12099 oct 18 13:22 colorcal.py
-rw-r--r-- 1 root root 32609 oct 18 13:22 cups.py
-rw-r--r-- 1 root root 785 oct 18 13:22 __init__.py
-rw-r--r-- 1 root root 16563 oct 18 13:22 ldl.py
-rw-r--r-- 1 root root 2288 oct 18 13:22 pcl.py
ray@ray-lenovo-v110-15iap:~$ ls -l /usr/share/hplip/scan
total 28
-rw-r--r-- 1 root root 786 oct 18 13:22 __init__.py
-rw-r--r-- 1 root root 20991 oct 18 13:22 sane.py
ray@ray-lenovo-v110-15iap:~$

brian_p (claremont102) said : #10

Contrary to what you said previously, you have definitely not installed the plugin. Your previous output does not show a plugins directory. Not that it matters if your device does not require a plugin.

Set up a print queue with

  lpadmin -p 3830 hp:/net/officejet_3830_series?ip=<IP_address> -E -m <PPD>

(Do not type the angle brackets).

The PPD is got from

  lpinfo -m | grep -i officejet_3830

I would choose the hpcups PPD.

You be able to find out the IP address of the printer.

Can you print with

  lp -d 3830 /etc/nsswitch.conf ?

RayArdia (theallinsons) said : #11

I'm not sure that I'm following you too well, tried this

ray@ray-lenovo-v110-15iap:~$ lpadmin -p 3830 hp:/net/officejet_3830_series?ip=192.168.8.129. -E -m hpcups 3.19.8
lpadmin: Unknown argument "hp:/net/officejet_3830_series?ip=192.168.8.129.".

am I anywhere near?

RayArdia (theallinsons) said : #12

As for lp -d 3830 /etc/nsswitch.conf

ray@ray-lenovo-v110-15iap:~$ lp -d 3830 /etc/nsswitch.conf
lp: The printer or class does not exist.

brian_p (claremont102) said : #13

The PPD given by 'lpinfo -m' begins with "drv" and ends with "ppd".

RayArdia (theallinsons) said : #14

lpinfo -m produces a massive listing but after searching it several times can find no ref to any HP printers. Is there something I'm missing?

RayArdia (theallinsons) said : #15

Tried
ray@ray-lenovo-v110-15iap:~$ lpadmin -p 3830 hp:/net/officejet_3830_series?ip=192.168.8.129. -E -m drv/hp-officejet_3830_series.ppd
lpadmin: Unknown argument "hp:/net/officejet_3830_series?ip=192.168.8.129.".

So, have I got the PPD right - and something else wrong?

brian_p (claremont102) said : #16

> lpinfo -m produces a massive listing but after searching it several times
> can find no ref to any HP printers. Is there something I'm missing?

The command I gave targetted the officejet 3830. You should have seen a list
with only a handful of entries. HP PPDs are in the printer-driver-hpcups package.
It should be installed when HPLIP is installed.

brian_p (claremont102) said : #17

The PPD is drv:///hpcups.drv/hp-officejet_3830_series.ppd

You get "lpadmin: Unknown argument..." because you have a typo; -v is missing
from the lpadmin command.

RayArdia (theallinsons) said : #18

Sorry to be so obtuse, but I don't understand what this lpadmin command should be As I read your original suggestion it was

'Contrary to what you said previously, you have definitely not installed the plugin. Your previous output does not show a plugins directory. Not that it matters if your device does not require a plugin.

Set up a print queue with

  lpadmin -p 3830 hp:/net/officejet_3830_series?ip=<IP_address> -E -m <PPD>

So I entered
 lpadmin -p 3830 hp:/net/officejet_3830_series?ip=192.168.8.129. -E -m hpcups 3.19.8 inserting the IP address of my printer but failing to add the PPD
So entered
 lpadmin -p 3830 hp:/net/officejet_3830_series?ip=192.168.8.129. -E -m drv/hp-officejet_3830_series.ppd but got reply
lpadmin: Unknown argument "hp:/net/officejet_3830_series?ip=192.168.8.129

I'm lost!

brian_p (claremont102) said : #19

> Sorry to be so obtuse, but I don't understand what this lpadmin command should be

You are free to read the lpadmin manual

  man lpadmin

or search on Google or consult the printing section of the Debian wiki.

I made a mistake in the original command. It should be

  lpadmin -p 3830 -v hp:/net/officejet_3830_series?ip=<IP_address> -E -m <PPD>

You have been given what the PPD is.

RayArdia (theallinsons) said : #20

Thanks for your correction
I tried
 lpadmin -p 3830 -v hp:/net/officejet_3830_series?ip=192.168.8.129. -E -m drv/hp-officejet_3830_series.ppd
lpadmin:

but got error Unable to copy PPD file How do I correct this please?

Printers, both the old 3831 and the new 3833, print OK from Android devices but not from Ubuntu.
When using Ubuntu the document appears in Print Queue as 'Processing' but printer doesn't print. When I attempt to scan with XSane I get 'Failed to start scanner. Device busy', Simple Scan says 'Unable to start scan'.

Ubuntu documentation seems to recommend HP All-in-One printers as compatible, with only a couple of models from other manufacturers (eg Brother) as also-rans.
I have never had problems using HP All-in-ones before, apart, of course for a perceived 'built-in obsolesce' when the printer dies just after warranty does. (Buy new one, consign old one to landfill - not at all eco-friendly! )

I have tried to contact HP on many occasions but all attempts fail in a cloak of help page options, none of which are one bit helpful.

Brian,
I really appreciate your trying to help , please forgive the above rant.
My frustration stems mainly from the need to scan sketches modified by Gimp which can only be done via a 'proper' computer.
As no-one else here has offered help I must continue to impose myself on you, please accept my apologies for being more than a bit old and getting slower on the uptake daily!
Thanks again,
Ray

.

brian_p (claremont102) said : #21

> but got error Unable to copy PPD file How do I correct this please?

Your location for the the PPD (the -m option) is incorrect, so lpadmin cannot find
it.

Ray, here is exactly what the command is:

lpadmin -p 3830 -v hp:/net/officejet_3830_series?ip=192.168.8.129 -E -m drv:///hpcups.drv/hp-officejet_3830_series.ppd

lpadmin should complete without giving any output and you should be able
print with the lp command I gave earlier.

Can you help with this problem?

Provide an answer of your own, or ask RayArdia for more information if necessary.

To post a message you must log in.