Scanner not found with HP Photosmart B110 printer

Bug #1871116 reported by Frédéric PUPILLE
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned

Bug Description

Hello,

When using "Simple Scan" to use my scanner (included in my HP Photosmart B110 printer), it can't find any scanner.
The printer works properly, but not the included scanner.
It worked when I was using Ubuntu 14.04 operating system. It hasn't been working since I switched to Ubuntu 18.04.
I tried to fix the problem with HP procedure at: https://developers.hp.com/hp-linux-imaging-and-printing/install/install/index
At step 10, as my printer wasn't in the same room as my internet box, I chose "Restart", and not "Re-plug in".
So, I wasn't able to continue next steps (printer setup).
I looked for a solution on the same HP's site, found some "CUPS" configuration steps to perform.
The printer seems ok, but its scanner still doesn't work.

So, I ran "hp-check -t" and it gave:

Saving output in log file: /home/tyler94x/Téléchargements/hp-check.log

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

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

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

\Gtk-Message: 14:43:08.156: Failed to load module "canberra-gtk-module"

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

 Kernel: 5.3.0-45-generic #37~18.04.1-Ubuntu SMP Fri Mar 27 15:58:10 UTC 2020 GNU/Linux
 Host: tyler94x-ryzen7-2700
 Proc: 5.3.0-45-generic #37~18.04.1-Ubuntu SMP Fri Mar 27 15:58:10 UTC 2020 GNU/Linux
 Distribution: 12 18.04
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.19.11
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 18.04 version

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

[hplip]
version=3.19.11

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.19.11
html=/usr/share/doc/hplip-3.19.11
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.11
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

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 = 1586169425
pending_upgrade_time = 0
latest_available_version = 3.17.10

[last_used]
device_uri = hp:/net/Photosmart_B110_series?ip=192.168.1.75

[installation]
date_time = 04/06/20 14:43:09
version = 3.19.11

 <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

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

 cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
 gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.26 OK -
Gtk-Message: 14:43:10.474: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:43:10.502: Failed to load module "canberra-gtk-module"
 xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
 scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
 dbus DBus - Message bus system REQUIRED - 1.12.2 OK -
 policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
 network network -wget OPTIONAL - 1.19.4 OK -
 avahi-utils avahi-utils OPTIONAL - 0.7 OK -

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

 libjpeg libjpeg - JPEG library REQUIRED - - OK -
 cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK -
 cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK -
 libpthread libpthread - POSIX threads library REQUIRED - b'2.27' OK -
 libusb libusb - USB library REQUIRED - 1.0 OK -
 sane SANE - Scanning library REQUIRED - - OK -
 sane-devel SANE - Scanning library development files REQUIRED - - OK -
 libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
 libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
 python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.6.9 OK -
 python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
 python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.12.1 OK -
 python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.12.1 OK -
 python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.6 OK -
 python3-xml Python XML libraries REQUIRED - 2.2.5 OK -
 python3-devel Python devel - Python development files REQUIRED 2.2 3.6.9 OK -
 python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 7.1.1 OK -
 python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -

--------------
| COMPILEDEP |
--------------

 libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
 gcc gcc - GNU Project C and C++ Compiler REQUIRED - 7.5.0 OK -
 make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -

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

 cupsext CUPS-Extension REQUIRED - 3.19.11 OK -
 hpmudext IO-Extension REQUIRED - 3.19.11 OK -

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

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

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

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

Type: Unknown
Device URI: dnssd://Photosmart%20B110%20series%20%5B7A3864%5D._pdl-datastream._tcp.local/

--------------
| PERMISSION |
--------------

No errors or warnings.

Done.

We can see that no scanner is found...

I add here below the result of "hp-doctor":

HP Linux Imaging and Printing System (ver. 3.19.11)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-18 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.19.11)
Self Diagnse Utility and Healing Utility ver. 1.0

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

\Gtk-Message: 15:25:02.359: Failed to load module "canberra-gtk-module"

Checking for Deprecated items....
No Deprecated items are found

Checking for HPLIP updates....

HP Linux Imaging and Printing System (ver. 3.19.11)
HPLIP upgrade latest version ver. 1.0

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

Latest version of HPLIP is already installed.

Checking for Dependencies....

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

 Kernel: 5.3.0-45-generic #37~18.04.1-Ubuntu SMP Fri Mar 27 15:58:10 UTC 2020 GNU/Linux
 Host: tyler94x-ryzen7-2700
 Proc: 5.3.0-45-generic #37~18.04.1-Ubuntu SMP Fri Mar 27 15:58:10 UTC 2020 GNU/Linux
 Distribution: 12 18.04
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.19.11
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 18.04 version

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

[hplip]
version=3.19.11

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.19.11
html=/usr/share/doc/hplip-3.19.11
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.11
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

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 = 1586169425
pending_upgrade_time = 0
latest_available_version = 3.17.10

[last_used]
device_uri = hp:/net/Photosmart_B110_series?ip=192.168.1.75

[installation]
date_time = 04/06/20 15:25:03
version = 3.19.11

 <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

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

 cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
 gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.26 OK -
Gtk-Message: 15:25:06.945: Failed to load module "canberra-gtk-module"
Gtk-Message: 15:25:06.971: Failed to load module "canberra-gtk-module"
 xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
 scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
 dbus DBus - Message bus system REQUIRED - 1.12.2 OK -
 policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
 network network -wget OPTIONAL - 1.19.4 OK -
 avahi-utils avahi-utils OPTIONAL - 0.7 OK -

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

 libjpeg libjpeg - JPEG library REQUIRED - - OK -
 cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK -
 cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK -
 libpthread libpthread - POSIX threads library REQUIRED - b'2.27' OK -
 libusb libusb - USB library REQUIRED - 1.0 OK -
 sane SANE - Scanning library REQUIRED - - OK -
 sane-devel SANE - Scanning library development files REQUIRED - - OK -
 libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
 libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
 python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.6.9 OK -
 python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
 python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.12.1 OK -
 python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.12.1 OK -
 python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.6 OK -
 python3-xml Python XML libraries REQUIRED - 2.2.5 OK -
 python3-devel Python devel - Python development files REQUIRED 2.2 3.6.9 OK -
 python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 7.1.1 OK -
 python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -

--------------
| COMPILEDEP |
--------------

 libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
 gcc gcc - GNU Project C and C++ Compiler REQUIRED - 7.5.0 OK -
 make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -

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

 cupsext CUPS-Extension REQUIRED - 3.19.11 OK -
 hpmudext IO-Extension REQUIRED - 3.19.11 OK -

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

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

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

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

Type: Unknown
Device URI: dnssd://Photosmart%20B110%20series%20%5B7A3864%5D._pdl-datastream._tcp.local/

--------------
| PERMISSION |
--------------

Checking for Configured Queues....
error: PPD /etc/cups/ppd/.ppd file not found
warning: is not HP Device.
warning: Fail to read ppd=/etc/cups/ppd/.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/.ppd
warning: Could not complete Queue(s) configuration check

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

Could you please give me any help?

Thanks in advance.

Kind regards.

Revision history for this message
brian_p (claremont102) wrote :

Please give the outputs of 'lpstat -t' and 'lpinfo -v'.

Brian.

Revision history for this message
Frédéric PUPILLE (fredbsl) wrote :

Hello,

Thanks for your answer. You can find them here below:

lpstat -t :

scheduler is running
system default destination: HP_Photosmart_B110_series
matériel pour HP_Photosmart_B110_series : dnssd://Photosmart%20B110%20series%20%5B7A3864%5D._pdl-datastream._tcp.local/
matériel pour Photosmart_B110_series_7A3864_ : ipp://HP7A3864.local:631/ipp/printer
HP_Photosmart_B110_series accepte des requêtes depuis lun. 06 avril 2020 15:20:19 CEST
Photosmart_B110_series_7A3864_ accepte des requêtes depuis lun. 06 avril 2020 14:20:16 CEST
printer HP_Photosmart_B110_series is idle. enabled since lun. 06 avril 2020 15:20:19 CEST
printer Photosmart_B110_series_7A3864_ is idle. enabled since lun. 06 avril 2020 14:20:16 CEST

lpinfo -v :

network lpd
network socket
network beh
direct hp
file cups-brf:/
serial serial:/dev/ttyS0?baud=115200
network ipp
network http
network https
network ipps
direct hpfax
network dnssd://Photosmart%20B110%20series%20%5B7A3864%5D._pdl-datastream._tcp.local/
network socket://192.168.1.75:9100
network ipp://HP7A3864.local:631/ipp/printer

Revision history for this message
brian_p (claremont102) wrote :

Very useful information, Frédéric It gives me a good idea of what is
going on. I'll explain in more detail later on. Meanwhile, see if you
can scan with

  simple-scan hpaio:/net/photosmart_b110_series?ip=192.168.1.75

I am assuming the IP address of the printer is still 192.168.1.75.

Would you also give what you get with

  avahi-browse -rt _ipp._tcp

and

  avahi-browse -rt _uscan._tcp

and

  scanimage -L

Cheers,

Brian.

Revision history for this message
Frédéric PUPILLE (fredbsl) wrote :
Download full text (3.5 KiB)

Thanks.

I've been able to scan with :
simple-scan hpaio:/net/photosmart_b110_series?ip=192.168.1.75

avahi-browse -rt _ipp._tcp gives:

+ enp3s0 IPv4 Photosmart B110 series [7A3864] Internet Printer local
= enp3s0 IPv4 Photosmart B110 series [7A3864] Internet Printer local
   hostname = [HP7A3864.local]
   address = [192.168.1.75]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T" "note=" "adminurl=http://HP7A3864.local." "mac=9c:8e:99:7a:38:64" "priority=60" "usb_MDL=Photosmart B110 series" "usb_MFG=HP" "product=(HP Photosmart B110 series)" "ty=Photosmart B110 series" "URF=CP1,MT1-2-8-9-10-11,OB9,OFU0,PQ3-4-5,RS300-600,SRGB24,W8,IS1" "rp=ipp/printer" "pdl=application/vnd.hp-PCL,image/urf,image/jpeg" "qtotal=1" "txtvers=1"]

avahi-browse -rt _uscan._tcp gives nothing, and

scanimage -L gives:
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

I checked the scanner was well turned on. It's connected via Wifi.

sane-find-scanner gives:
  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x05ac/0x0221 at 001:004: Access denied (insufficient permissions)
could not open USB device 0x05ac/0x1006 at 001:003: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc077 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

sudo sane-find-scanner gives:
  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

could not fetch string descriptor: Pipe error
could not fetch str...

Read more...

Revision history for this message
brian_p (claremont102) wrote :

> I've been able to scan with :
> simple-scan hpaio:/net/photosmart_b110_series?ip=192.168.1.75

There you are, except I suppose you want (quite reasonably) to
have *automatic* scanning by executing just 'simple-scan'. To
do this you have to play the game HPLIP's way.

From your previous information you have two print queues:

   HP_Photosmart_B110_series
   Photosmart_B110_series_7A3864_

They have URIs (matériels)

  dnssd://...
  ipp://...

There is nothing wrong with this for printing, but HPLIP requires
a printing URI beginning hp:/... for automatic scanning. So set
up a third print queue with

  lpadmin -p b110 -v URI -E -m PPD

URI is hp:/net/photosmart_b110_series?ip=192.168.1.75.
PPD is drv://hpcups.drv.hp-photosmart_b110_series.ppd.

Does simple-scan now work?

Before you set up the third queue would you execute 'simple-scan'
and then look at what 'journalctl' gives and report any error?
Also, give what you get for

  avahi-browse -rt _scanner._tcp

Brian.

Revision history for this message
Frédéric PUPILLE (fredbsl) wrote :

Hello,

Thanks for your answer and solutions.

You well saw the problem, I think, and you're right, I'd like to run simple-scan in automatic-mode, if possible ;-) .

About the existence of two print queues, it's that When I first installed my printer on Ubuntu 18.04, it was: Photosmart_B110_series_7A3864_
As I noticed the scanner didn't work, I tried several things without success.

So, a few days ago, I came on the HP site and tried a new installation (with "HPLIP"? I don't know yet the change). The new print queue was: HP_Photosmart_B110_series
So, I put it as "default print queue" and didn't cancel the old one until the new one works ;-) : Photosmart_B110_series_7A3864

But when all is ok, I will delete the old one.

By the way, there's a message now, on my computer, every time I boot it : I let you find the screenshot joined here, because I think it's linked with the printer/scanner issues.

I just tried :
lpadmin -p b110 -v hp:/net/photosmart_b110_series?ip=192.168.1.75 -E -m drv://hpcups.drv.hp-photosmart_b110_series.ppd

But obtained :
lpadmin : Unable to copy PPD file.

Maybe it's linked with the screenshot's message I joined?

Sorry, I tried the test of simple-scan after. Here below is the result in "journalctl":

avril 08 13:03:40 tyler94x-ryzen7-2700 simple-scan[3732]: io/hpmud/model.c 532: no tosmart_b110_series attributes found in /usr/share/hplip/data/models/models.dat
avril 08 13:03:40 tyler94x-ryzen7-2700 simple-scan[3732]: io/hpmud/model.c 543: no tosmart_b110_series attributes found in /usr/share/hplip/data/models/unreleased/unreleased.dat
avril 08 13:03:40 tyler94x-ryzen7-2700 simple-scan[3732]: io/hpmud/model.c 532: no hp_tosmart_b110_series attributes found in /usr/share/hplip/data/models/models.dat
avril 08 13:03:40 tyler94x-ryzen7-2700 simple-scan[3732]: io/hpmud/model.c 543: no hp_tosmart_b110_series attributes found in /usr/share/hplip/data/models/unreleased/unreleased.d
avril 08 13:03:46 tyler94x-ryzen7-2700 simple-scan[3732]: io/hpmud/model.c 532: no tosmart_b110_series attributes found in /usr/share/hplip/data/models/models.dat
avril 08 13:03:46 tyler94x-ryzen7-2700 simple-scan[3732]: io/hpmud/model.c 543: no tosmart_b110_series attributes found in /usr/share/hplip/data/models/unreleased/unreleased.dat
avril 08 13:03:46 tyler94x-ryzen7-2700 simple-scan[3732]: io/hpmud/model.c 532: no hp_tosmart_b110_series attributes found in /usr/share/hplip/data/models/models.dat
avril 08 13:03:46 tyler94x-ryzen7-2700 simple-scan[3732]: io/hpmud/model.c 543: no hp_tosmart_b110_series attributes found in /usr/share/hplip/data/models/unreleased/unreleased.d

avahi-browse -rt _scanner._tcp gives:
+ enp3s0 IPv4 Photosmart B110 series [7A3864] _scanner._tcp local
= enp3s0 IPv4 Photosmart B110 series [7A3864] _scanner._tcp local
   hostname = [HP7A3864.local]
   address = [192.168.1.75]
   port = [9500]
   txt = ["flatbed=T" "button=T" "note=" "adminurl=http://HP7A3864.local." "mdl=Photosmart B110 series" "mfg=HP" "ty=Photosmart B110 series" "txtvers=1"]

Thanks in advance.

Best regards

Frédéric

Revision history for this message
brian_p (claremont102) wrote :

Thanks for all the extra information, Frédéric. It is most useful.

The lpadmin command probably failed because I made a typo, The PPD
is

  drv:///hpcups.drv.hp-photosmart_b110_series.ppd

You should now be able to set up a third print queue. However, as
you will see, there is another technique to get automatic scanning
going.

This is the crucial clue:

> no tosmart_b110_series attributes found...

Note that "pho" has been chopped off. Then we have:

> no hp_tosmart_b110_series attributes found...

The three missing characters are replaced with "hp_". This doesn't
work either. You have experienced a longstanding HPLIP bug. See

 https://bugs.launchpad.net/hplip/+bug/1797501

Edit /usr/share/hplip/data/models/models.dat and copy the section
[photosmart_b110_series]. Change the header of the copied section
to [tosmart_b110_series]. You should now have automatic scanning.

Brian.

Revision history for this message
Frédéric PUPILLE (fredbsl) wrote :

Hello Brian,

Thanks for your action.
The modification of "models.dat" file worked well.
The scanner works properly now.
I'm very gratefull to you.

About lpadmin, I didn't understand your "typo".
The PPD seems to be good : drv://hpcups.drv.hp-photosmart_b110_series.ppd
And it was what you told me to enter.

So:
lpadmin -p b110 -v hp:/net/photosmart_b110_series?ip=192.168.1.75 -E -m drv://hpcups.drv.hp-photosmart_b110_series.ppd

gave and still gives now:
lpadmin : Unable to copy PPD file.

But that's not a problem for me: The scanner works! ;-)

Bye and thanks again.

Frédéric

Revision history for this message
brian_p (claremont102) wrote :

> The scanner works properly now.

Splendid. It has been a delight to have worked with you, Frédéric.

> About lpadmin, I didn't understand your "typo".

Note the extra forward slash. drv:/// - not drv://.

Brian.

Changed in hplip:
status: New → In Progress
status: In Progress → Fix Committed
status: Fix Committed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.