HP Officejet 3833 (brand new) fails to print using hplip

Asked by RayArdia

New question. Replaces Question 684102 which I have terminated as Unanswered, though it should be noted that member Brian P tried his best to help me.
The printer is connected wirelessly to my laptop running 32bit Ubuntu 16.04. The printer shows up normally in Setting, Printers. URI is hp:/net/OfficeJet_3830_series?ip=192.168.8.129
Terminal outputs:-
ray@ray-lenovo-v110-15iap:~$ hp-check
Saving output in log file: /home/ray/hp-check.log

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

---------------
| SYSTEM 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
 Bitness: 32 bit

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

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

Current contents of '/etc/hp/hplip.conf' file:
# 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

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 = false
last_upgraded_time = 1571397879
pending_upgrade_time = 0
latest_available_version = 3.17.10

[last_used]
device_uri = hp:/net/OfficeJet_3830_series?ip=192.168.8.129

[installation]
date_time = 22/10/19 22:55:40
version = 3.19.8

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

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

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

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

 libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK -
 python-xml Python XML libraries REQUIRED - 2.1.0 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.25 OK -
Traceback (most recent call last):
  File "/usr/bin/hp-check", line 862, in <module>
    num_errors, num_warns = dep.validate(time_flag, is_quiet_mode)
  File "/usr/bin/hp-check", line 368, in validate
    self.core.dependencies[dep])
  File "/usr/bin/hp-check", line 210, in __update_deps_info
    installed_ver = self.core.version_func[deps_info[6]]()
  File "/usr/share/hplip/installer/dcheck.py", line 373, in get_pil_version
    return Image.VERSION
AttributeError: 'module' object has no attribute 'VERSION'

Further output from Terminal.-
ray@ray-lenovo-v110-15iap:~$ hp-check
Saving output in log file: /home/ray/hp-check.log

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

---------------
| SYSTEM 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
 Bitness: 32 bit

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

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

Current contents of '/etc/hp/hplip.conf' file:
# 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

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 = false
last_upgraded_time = 1571397879
pending_upgrade_time = 0
latest_available_version = 3.17.10

[last_used]
device_uri = hp:/net/OfficeJet_3830_series?ip=192.168.8.129

[installation]
date_time = 22/10/19 22:55:40
version = 3.19.8

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

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

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

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

 libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK -
 python-xml Python XML libraries REQUIRED - 2.1.0 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.25 OK -
Traceback (most recent call last):
  File "/usr/bin/hp-check", line 862, in <module>
    num_errors, num_warns = dep.validate(time_flag, is_quiet_mode)
  File "/usr/bin/hp-check", line 368, in validate
    self.core.dependencies[dep])
  File "/usr/bin/hp-check", line 210, in __update_deps_info
    installed_ver = self.core.version_func[deps_info[6]]()
  File "/usr/share/hplip/installer/dcheck.py", line 373, in get_pil_version
    return Image.VERSION
AttributeError: 'module' object has no attribute 'VERSION'
ray@ray-lenovo-v110-15iap:~$ ls -l /usr/share/hplip/prnt
total 120
-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 27230 oct 20 14:41 cups.pyc
-rw-r--r-- 1 root root 785 oct 18 13:22 __init__.py
-rw-r--r-- 1 root root 120 oct 20 14:41 __init__.pyc
-rw-r--r-- 1 root root 16563 oct 18 13:22 ldl.py
-rw-r--r-- 1 root root 10789 oct 20 14:41 ldl.pyc
-rw-r--r-- 1 root root 2288 oct 18 13:22 pcl.py
-rw-r--r-- 1 root root 1973 oct 20 14:41 pcl.pyc
ray@ray-lenovo-v110-15iap:~$ 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: Unable to copy PPD file.
ray@ray-lenovo-v110-15iap:~$ lpinfo -m | grep -i officejet_3830
drv:///hp/hpcups.drv/hp-officejet_3830_series.ppd HP Officejet 3830 Series, hpcups 3.19.8
lsb/usr/HP/hp-officejet_3830_series.ppd.gz HP Officejet 3830 Series, hpcups 3.19.8
ray@ray-lenovo-v110-15iap:~$ dpkg -l printer-driver-hpcups
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un printer-driver <none> <none> (no description available)
ray@ray-lenovo-v110-15iap:~$ dpkg -l hplip
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
rc hplip 3.16.3+repac i386 HP Linux Printing and Imaging Sys
ray@ray-lenovo-v110-15iap:~$ simple-scan hpaio:/net/officejet_3830_series?ip=192.168.8.129
Result from this command an error msg 'Failed to scan, unable to connect to scanner - tried again:-
ray@ray-lenovo-v110-15iap:~$ nner - tried again:-
nner: command not found
ray@ray-lenovo-v110-15iap:~$ simple-scan hpaio:/net/officejet_3830_series?ip=192.168.8.129
Result - scanning successful

Tried to scan using XSane but scanner not found.
Printer will print but is extremely slow, takes about 20 minutes to print a half a page of text.

I would welcome comments and help to sort this out.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
RayArdia
Solved:
Last query:
Last reply:
Revision history for this message
RayArdia (theallinsons) said :
#1

Installed a pristine 16.04.6. Scanner and printer all work - just as if they had never caused me any trouble at all! I have absolutely no idea what caused the problem in the first place and have spent ages trying to get back to a usable system. Many thanks to those who tried to help me especially Brian P.