HP printer issue (DeskJet 3700) on Linux Lite (ergo Ubuntu)

Asked by Jan Cerveny on 2021-03-21

Trying to use the printer (HP DeskJet Ink Advanage 3775) on my old Acer Aspire 5315 with Linux Lite 5.2 distro (ergo Ubuntu).
Printer (and included scanner also) does not work properly.
I have installed hplip-gui via terminal.
I also tried to install the latest ver. of hplip 3.21.2 via terminal downloaded from >https://sourceforge.net/projects/hplip/files/hplip/3.21.2/hplip-3.21.2.run/download?use_mirror=nchc<. The process in terminal stucked in this phase:
-----------------------------------------------------------------------------------------------------------------
RUNNING HPLIP LIBS COMMANDS
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp
|/
-----------------------------------------------------------------------------------------------------------------
OS software (settings dialog windows) and HPLIP Status service "see" the printer, but if I try to print test page, it "says" 'printer not connected'. Scanner says similar...

Below follows 'hp-check -t' output:

jan  ~  hp-check -t
Saving output in log file: /home/jan/hp-check.log

HP Linux Imaging and Printing System (ver. 3.20.3)
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

warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...

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

 Kernel: 5.4.0-67-generic #75-Ubuntu SMP Fri Feb 19 18:03:38 UTC 2021 GNU/Linux
 Host: jan-Aspire-5315
 Proc: 5.4.0-67-generic #75-Ubuntu SMP Fri Feb 19 18:03:38 UTC 2021 GNU/Linux
 Distribution: ubuntu 20.04
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro 20.04 version

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

[hplip]
version=3.20.3

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

[fax]
email_address =
voice_phone =

[installation]
date_time = 03/21/21 11:20:14
version = 3.20.3

[last_used]
device_uri = "hp:/usb/DeskJet_3700_series?serial=CN69C2D8ZR06H8"
printer_name =
working_dir = .

[polling]
device_list =
enable = false
interval = 5

[refresh]
enable = false
rate = 30
type = 1

[settings]
systray_messages = 0
systray_visible = 0

[upgrade]
last_upgraded_time = 1616318310
notify_upgrade = false
pending_upgrade_time = 0

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

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

 error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
 gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.50 OK -
 error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
 scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.29 OK -
 dbus DBus - Message bus system REQUIRED - 1.12.16 OK -
 policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
 network network -wget OPTIONAL - 1.20.3 OK -
 avahi-utils avahi-utils OPTIONAL - 0.7 OK -

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

 error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
 error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'
 error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'
 libpthread libpthread - POSIX threads library REQUIRED - b'2.31' OK -
 error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
 sane SANE - Scanning library REQUIRED - - OK -
 error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
 error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 MISSING 'libcrypto needs to be installed'
 python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.8.5 OK -
 python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
 python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.16 OK -
 python3-xml Python XML libraries REQUIRED - 2.2.9 OK -
 python3-devel Python devel - Python development files REQUIRED 2.2 3.8.5 OK -
 python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 7.0.0 OK -
 python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.5.34 OK -

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

 error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
 gcc gcc - GNU Project C and C++ Compiler REQUIRED - 9.3.0 OK -
 make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.2.1 OK -

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

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

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

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

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

device `escl:https://10.0.1.10:443' is a ESCL HP DeskJet 3700 series [766F51] SSL flatbed scanner
device `escl:http://10.0.1.10:8080' is a ESCL HP DeskJet 3700 series [766F51] flatbed scanner
device `hpaio:/usb/DeskJet_3700_series?serial=CN69C2D8ZR06H8' is a Hewlett-Packard DeskJet_3700_series all-in-one
device `hpaio:/net/deskjet_3700_series?ip=10.0.1.10&queue=false' is a Hewlett-Packard deskjet_3700_series all-in-one

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

  Device URI Model
  ------------------------------------------------- -------------------------
  hp:/usb/DeskJet_3700_series?serial=CN69C2D8ZR06H8 HP DeskJet 3700 series

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

HP-Deskjet-3700
---------------
Type: Unknown
Device URI: https://192.168.223.1.
PPD: /etc/cups/ppd/HP-Deskjet-3700.ppd
warning: Failed to read /etc/cups/ppd/HP-Deskjet-3700.ppd ppd file
PPD Description:
Printer Connecting to printer.kjet-3700 is idle. enabled since Ne 21. března 2021, 10:48:24
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

HP-DeskJet-3700-series
----------------------
Type: Printer
Device URI: hp:/usb/DeskJet_3700_series?serial=CN69C2D8ZR06H8
PPD: /etc/cups/ppd/HP-DeskJet-3700-series.ppd
warning: Failed to read /etc/cups/ppd/HP-DeskJet-3700-series.ppd ppd file
PPD Description:
Printer status: printer HP-DeskJet-3700-series is idle. enabled since Ne 21. března 2021, 10:42:09
error: Unable to communicate with device (code=12): hp:/usb/DeskJet_3700_series?serial=CN69C2D8ZR06H8
error: Device not found
error: Communication status: Failed

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

USB HP-DeskJet-3700-series Required - - OK Node:'/dev/bus/usb/002/005' Perm:' root lp rw- rw- rw- rw- r--'

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible
error: 'libjpeg-dev' package is missing/incompatible
error: 'libcups2-dev' package is missing/incompatible
error: 'cups-bsd' package is missing/incompatible
error: 'cups-client' package is missing/incompatible
error: 'libcupsimage2-dev' package is missing/incompatible
error: 'libusb-1.0.0-dev' package is missing/incompatible
error: 'libusb-0.1-4' package is missing/incompatible
error: 'libsane-dev' package is missing/incompatible
error: 'libsnmp-dev' package is missing/incompatible
error: 'snmp-mibs-downloader' package is missing/incompatible
error: 'openssl' package is missing/incompatible
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'libtool' package is missing/incompatible
error: 'libtool-bin' package is missing/incompatible

Missing Optional Dependencies
-----------------------------
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'xsane' package is missing/incompatible
error: 'python3-dbus.mainloop.qt' package is missing/incompatible

Total Errors: 13
Total Warnings: 1

Done.
 jan  ~ 

THANK YOU!

Question information

Language:
English Edit question
Status:
Open
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
2021-04-08
Last reply:
2021-03-23
brian_p (claremont102) said : #1

A wireless connection would be good. Give the outputs of

  avahi-browse -rt _ipp._tcp
  avahi-browse -rt _uscan._tcp
  driverless

> Trying to use the printer (HP DeskJet Ink Advanage 3775) on my old Acer
> Aspire 5315 with Linux Lite 5.2 distro (ergo Ubuntu).

Which Ubuntu version?

Jan Cerveny (jc87) said : #2

THX FOR THE RAPID RESPONSE. I APPRECIATE THIS!
Ubuntu 20.4 I guess.

jan  ~  avahi-browse -rt _ipp._tcp
+ wlp6s0 IPv6 HP DeskJet 3700 series @ jan-Aspire-5315 Internet Printer local
+ wlp6s0 IPv6 HP Deskjet 3700 @ jan-Aspire-5315 Internet Printer local
+ wlp6s0 IPv6 HP DeskJet 3700 series [766F51] Internet Printer local
+ wlp6s0 IPv4 HP DeskJet 3700 series [766F51] Internet Printer local
+ wlp6s0 IPv4 HP DeskJet 3700 series @ jan-Aspire-5315 Internet Printer local
+ wlp6s0 IPv4 HP Deskjet 3700 @ jan-Aspire-5315 Internet Printer local
+ enp5s0 IPv6 HP DeskJet 3700 series @ jan-Aspire-5315 Internet Printer local
+ enp5s0 IPv6 HP Deskjet 3700 @ jan-Aspire-5315 Internet Printer local
+ enp5s0 IPv6 HP DeskJet 3700 series [766F51] Internet Printer local
+ enp5s0 IPv4 HP DeskJet 3700 series [766F51] Internet Printer local
+ enp5s0 IPv4 HP DeskJet 3700 series @ jan-Aspire-5315 Internet Printer local
+ enp5s0 IPv4 HP Deskjet 3700 @ jan-Aspire-5315 Internet Printer local
+ lo IPv4 HP Deskjet 3700 @ jan-Aspire-5315 Internet Printer local
+ lo IPv4 HP DeskJet 3700 series @ jan-Aspire-5315 Internet Printer local
= wlp6s0 IPv6 HP DeskJet 3700 series [766F51] Internet Printer local
   hostname = [HP98E7F4766F51.local]
   address = [10.0.1.10]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=2ba6496f-7af9-db04-b58e-b609f3f40e2c" "Fax=F" "TLS=1.2" "note=" "adminurl=http://HP98E7F4766F51.local./#hId-pgAirPrint" "mac=98:e7:f4:76:6f:51" "priority=20" "usb_MDL=DeskJet 3700 series" "usb_MFG=HP" "product=(HP DeskJet 3700 series)" "ty=HP DeskJet 3700 series" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,IS1,V1.4" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "rp=ipp/print" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "qtotal=1" "txtvers=1"]
= wlp6s0 IPv4 HP DeskJet 3700 series [766F51] Internet Printer local
   hostname = [HP98E7F4766F51.local]
   address = [10.0.1.10]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=2ba6496f-7af9-db04-b58e-b609f3f40e2c" "Fax=F" "TLS=1.2" "note=" "adminurl=http://HP98E7F4766F51.local./#hId-pgAirPrint" "mac=98:e7:f4:76:6f:51" "priority=20" "usb_MDL=DeskJet 3700 series" "usb_MFG=HP" "product=(HP DeskJet 3700 series)" "ty=HP DeskJet 3700 series" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,IS1,V1.4" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "rp=ipp/print" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "qtotal=1" "txtvers=1"]
= wlp6s0 IPv4 HP DeskJet 3700 series @ jan-Aspire-5315 Internet Printer local
   hostname = [jan-Aspire-5315.local]
   address = [10.0.1.31]
   port = [631]
   txt = ["printer-type=0x100E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=b431fd8f-98cf-3fb8-5656-893526ff8dd8" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 3785 All-in-one)" "priority=0" "note=jan-Aspire-5315" "adminurl=https://jan-Aspire-5315.local.:631/printers/HP-DeskJet-3700-series" "ty=HP Deskjet 3700 Series, hpcups 3.20.3" "rp=printers/HP-DeskJet-3700-series" "qtotal=1" "txtvers=1"]
= wlp6s0 IPv4 HP Deskjet 3700 @ jan-Aspire-5315 Internet Printer local
   hostname = [jan-Aspire-5315.local]
   address = [10.0.1.31]
   port = [631]
   txt = ["printer-type=0x100E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=896bcef6-a72c-3ea3-4454-56fb388816c1" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 3785 All-in-one)" "priority=0" "note=" "adminurl=https://jan-Aspire-5315.local.:631/printers/HP-Deskjet-3700" "ty=HP Deskjet 3700 Series, hpcups 3.20.3" "rp=printers/HP-Deskjet-3700" "qtotal=1" "txtvers=1"]
= enp5s0 IPv6 HP DeskJet 3700 series [766F51] Internet Printer local
   hostname = [HP98E7F4766F51.local]
   address = [10.0.1.10]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=2ba6496f-7af9-db04-b58e-b609f3f40e2c" "Fax=F" "TLS=1.2" "note=" "adminurl=http://HP98E7F4766F51.local./#hId-pgAirPrint" "mac=98:e7:f4:76:6f:51" "priority=20" "usb_MDL=DeskJet 3700 series" "usb_MFG=HP" "product=(HP DeskJet 3700 series)" "ty=HP DeskJet 3700 series" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,IS1,V1.4" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "rp=ipp/print" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "qtotal=1" "txtvers=1"]
= enp5s0 IPv4 HP DeskJet 3700 series [766F51] Internet Printer local
   hostname = [HP98E7F4766F51.local]
   address = [10.0.1.10]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=2ba6496f-7af9-db04-b58e-b609f3f40e2c" "Fax=F" "TLS=1.2" "note=" "adminurl=http://HP98E7F4766F51.local./#hId-pgAirPrint" "mac=98:e7:f4:76:6f:51" "priority=20" "usb_MDL=DeskJet 3700 series" "usb_MFG=HP" "product=(HP DeskJet 3700 series)" "ty=HP DeskJet 3700 series" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,IS1,V1.4" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "rp=ipp/print" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "qtotal=1" "txtvers=1"]
= enp5s0 IPv4 HP DeskJet 3700 series @ jan-Aspire-5315 Internet Printer local
   hostname = [jan-Aspire-5315.local]
   address = [10.0.1.30]
   port = [631]
   txt = ["printer-type=0x100E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=b431fd8f-98cf-3fb8-5656-893526ff8dd8" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 3785 All-in-one)" "priority=0" "note=jan-Aspire-5315" "adminurl=https://jan-Aspire-5315.local.:631/printers/HP-DeskJet-3700-series" "ty=HP Deskjet 3700 Series, hpcups 3.20.3" "rp=printers/HP-DeskJet-3700-series" "qtotal=1" "txtvers=1"]
= enp5s0 IPv4 HP Deskjet 3700 @ jan-Aspire-5315 Internet Printer local
   hostname = [jan-Aspire-5315.local]
   address = [10.0.1.30]
   port = [631]
   txt = ["printer-type=0x100E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=896bcef6-a72c-3ea3-4454-56fb388816c1" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 3785 All-in-one)" "priority=0" "note=" "adminurl=https://jan-Aspire-5315.local.:631/printers/HP-Deskjet-3700" "ty=HP Deskjet 3700 Series, hpcups 3.20.3" "rp=printers/HP-Deskjet-3700" "qtotal=1" "txtvers=1"]
= enp5s0 IPv6 HP Deskjet 3700 @ jan-Aspire-5315 Internet Printer local
   hostname = [jan-Aspire-5315.local]
   address = [2a00:1028:96d4:3eba:5008:cd16:8269:e1c6]
   port = [631]
   txt = ["printer-type=0x100E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=896bcef6-a72c-3ea3-4454-56fb388816c1" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 3785 All-in-one)" "priority=0" "note=" "adminurl=https://jan-Aspire-5315.local.:631/printers/HP-Deskjet-3700" "ty=HP Deskjet 3700 Series, hpcups 3.20.3" "rp=printers/HP-Deskjet-3700" "qtotal=1" "txtvers=1"]
= enp5s0 IPv6 HP DeskJet 3700 series @ jan-Aspire-5315 Internet Printer local
   hostname = [jan-Aspire-5315.local]
   address = [2a00:1028:96d4:3eba:5008:cd16:8269:e1c6]
   port = [631]
   txt = ["printer-type=0x100E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=b431fd8f-98cf-3fb8-5656-893526ff8dd8" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 3785 All-in-one)" "priority=0" "note=jan-Aspire-5315" "adminurl=https://jan-Aspire-5315.local.:631/printers/HP-DeskJet-3700-series" "ty=HP Deskjet 3700 Series, hpcups 3.20.3" "rp=printers/HP-DeskJet-3700-series" "qtotal=1" "txtvers=1"]
= lo IPv4 HP Deskjet 3700 @ jan-Aspire-5315 Internet Printer local
   hostname = [jan-Aspire-5315.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x100E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=896bcef6-a72c-3ea3-4454-56fb388816c1" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 3785 All-in-one)" "priority=0" "note=" "adminurl=https://jan-Aspire-5315.local.:631/printers/HP-Deskjet-3700" "ty=HP Deskjet 3700 Series, hpcups 3.20.3" "rp=printers/HP-Deskjet-3700" "qtotal=1" "txtvers=1"]
= lo IPv4 HP DeskJet 3700 series @ jan-Aspire-5315 Internet Printer local
   hostname = [jan-Aspire-5315.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x100E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=b431fd8f-98cf-3fb8-5656-893526ff8dd8" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 3785 All-in-one)" "priority=0" "note=jan-Aspire-5315" "adminurl=https://jan-Aspire-5315.local.:631/printers/HP-DeskJet-3700-series" "ty=HP Deskjet 3700 Series, hpcups 3.20.3" "rp=printers/HP-DeskJet-3700-series" "qtotal=1" "txtvers=1"]
= wlp6s0 IPv6 HP Deskjet 3700 @ jan-Aspire-5315 Internet Printer local
   hostname = [jan-Aspire-5315.local]
   address = [2a00:1028:96d4:3eba:7d7c:a096:3af3:a9]
   port = [631]
   txt = ["printer-type=0x100E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=896bcef6-a72c-3ea3-4454-56fb388816c1" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 3785 All-in-one)" "priority=0" "note=" "adminurl=https://jan-Aspire-5315.local.:631/printers/HP-Deskjet-3700" "ty=HP Deskjet 3700 Series, hpcups 3.20.3" "rp=printers/HP-Deskjet-3700" "qtotal=1" "txtvers=1"]
= wlp6s0 IPv6 HP DeskJet 3700 series @ jan-Aspire-5315 Internet Printer local
   hostname = [jan-Aspire-5315.local]
   address = [2a00:1028:96d4:3eba:7d7c:a096:3af3:a9]
   port = [631]
   txt = ["printer-type=0x100E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=b431fd8f-98cf-3fb8-5656-893526ff8dd8" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 3785 All-in-one)" "priority=0" "note=jan-Aspire-5315" "adminurl=https://jan-Aspire-5315.local.:631/printers/HP-DeskJet-3700-series" "ty=HP Deskjet 3700 Series, hpcups 3.20.3" "rp=printers/HP-DeskJet-3700-series" "qtotal=1" "txtvers=1"]

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 jan  ~  1  avahi-browse -rt _uscan._tcp
+ wlp6s0 IPv6 HP DeskJet 3700 series [766F51] _uscan._tcp local
+ wlp6s0 IPv4 HP DeskJet 3700 series [766F51] _uscan._tcp local
+ enp5s0 IPv6 HP DeskJet 3700 series [766F51] _uscan._tcp local
+ enp5s0 IPv4 HP DeskJet 3700 series [766F51] _uscan._tcp local
= wlp6s0 IPv6 HP DeskJet 3700 series [766F51] _uscan._tcp local
   hostname = [HP98E7F4766F51.local]
   address = [10.0.1.10]
   port = [8080]
   txt = ["duplex=F" "is=adf" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=2ba6496f-7af9-db04-b58e-b609f3f40e2c" "note=" "adminurl=http://HP98E7F4766F51.local." "ty=HP DeskJet 3700 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "vers=2.5" "txtvers=1"]
= wlp6s0 IPv4 HP DeskJet 3700 series [766F51] _uscan._tcp local
   hostname = [HP98E7F4766F51.local]
   address = [10.0.1.10]
   port = [8080]
   txt = ["duplex=F" "is=adf" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=2ba6496f-7af9-db04-b58e-b609f3f40e2c" "note=" "adminurl=http://HP98E7F4766F51.local." "ty=HP DeskJet 3700 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "vers=2.5" "txtvers=1"]
= enp5s0 IPv6 HP DeskJet 3700 series [766F51] _uscan._tcp local
   hostname = [HP98E7F4766F51.local]
   address = [10.0.1.10]
   port = [8080]
   txt = ["duplex=F" "is=adf" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=2ba6496f-7af9-db04-b58e-b609f3f40e2c" "note=" "adminurl=http://HP98E7F4766F51.local." "ty=HP DeskJet 3700 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "vers=2.5" "txtvers=1"]
= enp5s0 IPv4 HP DeskJet 3700 series [766F51] _uscan._tcp local
   hostname = [HP98E7F4766F51.local]
   address = [10.0.1.10]
   port = [8080]
   txt = ["duplex=F" "is=adf" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=2ba6496f-7af9-db04-b58e-b609f3f40e2c" "note=" "adminurl=http://HP98E7F4766F51.local." "ty=HP DeskJet 3700 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "vers=2.5" "txtvers=1"]

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 jan  ~  driverless
ipp://HP%20DeskJet%203700%20series%20%5B766F51%5D._ipp._tcp.local/

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

brian_p (claremont102) said : #3

This is a non-HPLIP technique.

The driverless command tells you that a URI is

  ipp://HP%20DeskJet%203700%20series%20%5B766F51%5D._ipp._tcp.local/

You *substitute* this for URI in this command:

  lpadmin -p PRINTQ_NAME -v "URI" -E -m everywhere

PRINTQ_NAME can be what you want e.g deskjet3775. Now test with

  lp -d PRINTQ_NAME /etc/nsswitch.conf

Substituting for PRINTQ_NAME, of course.

If you want scanning, please give

  scanimage -L

Jan Cerveny (jc87) said : #4

Hi, I'm sorry, but I'm not able to handle this. :/ Check bellow pls what's wrong...

Welcome to Linux Lite 5.2 jan

Čtvrtek 08 dubna 2021, 15:15:01
Memory Usage: 529/971MB (54.48%)
Disk Usage: 13/146GB (9%)
Support - https://www.linuxliteos.com/forums/ (Right click, Open Link)

 jan  ~  driverless
ipp://DeskJet%203700%20series%20%5BCN69C2D8ZR06H8%5D._ipp._tcp.local/
ipp://HP%20DeskJet%203700%20series%20%5B766F51%5D._ipp._tcp.local/
 jan  ~  lpadmin -p HPDeskJet3775 -v ipp://HP%20DeskJet%203700%20series%20%5B766F51%5D._ipp._tcp.local/ -E -m everywhere
lpadmin: Unable to connect to "HP98E7F4766F51.local:631": Name or service not known
 jan  ~  1 

Can you help with this problem?

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

To post a message you must log in.