Hp Deskjet 1512 Printer failed-"The cups daemon isn't running." Quote from answers.launchpad.net/hplip/+question/690174

a simple way to see if cups is working is to use your web browser; in the address bar at top type in :


if cups is up it will show a menu about printer


you might also try from a terminal:
sudo service cups status

this is the output,

jjconstr@Aspire-5733Z:~$ sudo service cups status
[sudo] password for jjconstr:
● cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: ena
Active: active (running) since Sat 2020-05-09 18:24:13 PDT; 54min ago
Docs: man:cupsd(8)
Main PID: 2404 (cupsd)
Tasks: 1 (limit: 4275)
CGroup: /system.slice/cups.service
└─2404 /usr/sbin/cupsd -l

May 09 18:24:13 Aspire-5733Z systemd[1]: Started CUPS Scheduler.
lines 1-10/10 (END)

What is the significance of the last line? With returning a prompt? Closing the terminal, brings a message about a process still running, do I want to kill it>
 


Which "flavour" or desktop environment are you using?
The stock Gnome 3 or one of these?

My flavour is not listed on the landing page of that link. Mine is Bionic Beaver.
 
My distro is ubuntu 18.04. I was thinking the ap needed to be selected within the file manager. Still thinking Windows. I hate to complicate the issue further, but I deleted document viewer, not realizing it was my only PDF viewer. Reinstalling from Synaptics Package Manager, the doc viewer failed to work at all.
I chose Ubuntu cause it was said to be the most popular.
 
Confirm cups is running.if you still have the .run file try this.from a terminal navigate to where it is let's say Downloads
cd Downloads

Sudo chmod a+x hlip-file-name.run
Sudo ./hlip-file-name.run

Here's the output. Hope I did it right.
 
Confirm cups is running.if you still have the .run file try this.from a terminal navigate to where it is let's say Downloads
cd Downloads

Sudo chmod a+x hlip-file-name.run
Sudo ./hlip-file-name.run
Sorry, I didn't enter the file name.
 
Did you try --

service <servicename> stop

service <servicename> start

service <servicename> restart

in this case,
Code:
service cups start
?
Trying these three commands gsave no output, nor errors.

But neither did it fix the printer, same situation, printer menu pops up, but does not activate printer.

There is a new thing, printer menu says printer is paused. Never saw that before, ever. Is there a pause in the printer menu?
 
G'day JJ and all :)

JJ, what does, in Terminal,

Code:
apt-cache policy hplip

show?

Was the printer working before you tried updating the driver, or were you trying to update the driver because the printer was not working?

Wiz

Wiz, Here is the output;
jjconstr@Aspire-5733Z:~$ apt-cache policy hplip
hplip:
Installed: 3.17.10+repack0-5
Candidate: 3.17.10+repack0-5
Version table:
*** 3.17.10+repack0-5 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
jjconstr@Aspire-5733Z:~$

Yes, I tried to update the printer because it was not working.
Another detail on the printer. Print menu says the printer is paused. Is there a pause button somewhere?

JJ
 
hplip and hplip-gui are in the repos. You should be able to find it in Software Manager and install from there. I've tried the .run file from HP and it works, but the repo version is simply easier.

Regardless of the source, you will want to run hp-check after the install. It will list any unmet or missed files. Those can be installed manually. I've done it a dozen times, and usually install within a terminal using
Code:
sudo apt install <whatever file name shows up from hp-check>
I tried Synaptics package Manager. Is that what you mean? I didnt fix the printer. It would not let me upgrade to 3.18.3, only reinstall 3.17.10. If it is possible, I dont know how.
Thanks
 
hplip and hplip-gui are in the repos. You should be able to find it in Software Manager and install from there. I've tried the .run file from HP and it works, but the repo version is simply easier.

Regardless of the source, you will want to run hp-check after the install. It will list any unmet or missed files. Those can be installed manually. I've done it a dozen times, and usually install within a terminal using
Code:
sudo apt install <whatever file name shows up from hp-check>

Hp-check returned so many missing, incompatible errors in red ink, I hope you will forgive me for pasting them here.

Would it be easier to uninstall HPLIP, and reinstall? Windows speaking through me again.

-------------------------
| 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.26 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.27 OK -
error: dbus DBus - Message bus system REQUIRED - 1.12.2 MISSING 'DBUS may not be installed or not running'
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
network network -wget OPTIONAL - 1.19.4 OK -
error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'

------------------------
| 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'
error: libpthread libpthread - POSIX threads library REQUIRED - b'2.27' MISSING 'libpthread needs to be installed'
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.6.9 OK -
error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'
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.6 OK -
python3-xml Python XML libraries REQUIRED - 2.2.5 OK -
error: python3-devel Python devel - Python development files REQUIRED 2.2 3.6.9 MISSING 'python3-devel needs to be installed'
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -

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

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

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

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

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

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

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

device `hpaio:/usb/Deskjet_1510_series?serial=CN4CI2P52V05YR' is a Hewlett-Packard Deskjet_1510_series all-in-one


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

Device URI Model
-------------------------------- ----------------------
hp:/usb/Deskjet_1510_series?seri HP Deskjet 1510 series
al=CN4CI2P52V05YR

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


Deskjet-1510
------------
Type: Printer
Device URI: hp:/usb/Deskjet_1510_series?serial=CN4CI2P52V05YR
PPD: /etc/cups/ppd/Deskjet-1510.ppd
warning: Failed to read /etc/cups/ppd/Deskjet-1510.ppd ppd file
PPD Description:
Printer status: printer Deskjet-1510 disabled since Mon 27 Apr 2020 10:53:41 AM PDT - reason unknown
Communication status: Good


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

USB Deskjet-1510 Required - - OK Node:'/dev/bus/usb/002/005' Perm:' root root rw- rw- rw- rw- rw-'

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

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible
error: 'libdbus-1-dev' 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: 'build-essential' package is missing/incompatible
error: 'libusb-1.0.0-dev' 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: 'python3-dev' package is missing/incompatible
error: 'libtool' package is missing/incompatible
error: 'libtool-bin' package is missing/incompatible
error: 'build-essential' package is missing/incompatible
error: 'build-essential' package is missing/incompatible

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

Total Errors: 19
 
this is the output,

jjconstr@Aspire-5733Z:~$ sudo service cups status
[sudo] password for jjconstr:
● cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: ena
Active: active (running) since Sat 2020-05-09 18:24:13 PDT; 54min ago
Docs: man:cupsd(8)
Main PID: 2404 (cupsd)
Tasks: 1 (limit: 4275)
CGroup: /system.slice/cups.service
└─2404 /usr/sbin/cupsd -l

May 09 18:24:13 Aspire-5733Z systemd[1]: Started CUPS Scheduler.
lines 1-10/10 (END)

What is the significance of the last line? With returning a prompt? Closing the terminal, brings a message about a process still running, do I want to kill it>
leave the terminal open
Now go to http://localhost:631 in web browser and see if menu is up cause it looks like cups is running
 
No, that's fine by me, Andy :)

Wiz
 
better wait till @wizardfromoz checks this but i have done something to similar to this in past:

sudo apt update --fix-missing


sudo apt install -f






it looks like you have entered into dependency hell, and thats
probably what drove me to slackware !

Wiz, Here is the output;
jjconstr@Aspire-5733Z:~$ apt-cache policy hplip
hplip:
Installed: 3.17.10+repack0-5
Candidate: 3.17.10+repack0-5
Version table:
*** 3.17.10+repack0-5 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
jjconstr@Aspire-5733Z:~$

Yes, I tried to update the printer because it was not working.
Another detail on the printer. Print menu says the printer is paused. Is there a pause button somewhere?

JJ
iWiz, does software update do what livepatch is supposed to if livepatch is off? Livepatch wont turn on.
'Gnome Online Accounts is required to enable Livepatch.' I'd tu
Wiz, Here is the output;
jjconstr@Aspire-5733Z:~$ apt-cache policy hplip
hplip:
Installed: 3.17.10+repack0-5
Candidate: 3.17.10+repack0-5
Version table:
*** 3.17.10+repack0-5 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
jjconstr@Aspire-5733Z:~$

Yes, I tried to update the printer because it was not working.
Another detail on the printer. Print menu says the printer is paused. Is there a pause button somewhere?

JJ
Wiz, The output above remains the same after running Andy's commands, which by the way, did fix a lot, but more need to be fixed. I ran hp-check a second time. Printer still doesnt work. Will run Andy's a second time.
 
Last edited:

Found answer to required python3 that I am using right now, literally made an account to post this in comments. Apparently Ubuntu removed libqt4* files for whatever reason. I'll let you know on my end. But that's for me why I couldn't install hplip as of right now.
 
better wait till @wizardfromoz checks this but i have done something to similar to this in past:

better wait till @wizardfromoz checks this but i have done something to similar to this in past:

sudo apt update --fix-missing


sudo apt install -f






it looks like you have entered into dependency hell, and thats
probably what drove me to slackware !

Got some upgradables, command doesnt install them.

jjconstr@Aspire-5733Z:~$ sudo apt update --fix-missing
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:4 http://ppa.launchpad.net/dansmith/chirp-snapshots/ubuntu bionic InRelease
Hit:5 http://archive.canonical.com/ubuntu bionic InRelease
Hit:6 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
jjconstr@Aspire-5733Z:~$ apt list --upgradable
Listing... Done
libnss-systemd/bionic-updates 237-3ubuntu10.40 amd64 [upgradable from: 237-3ubuntu10.39]
libpam-systemd/bionic-updates 237-3ubuntu10.40 amd64 [upgradable from: 237-3ubuntu10.39]
libsystemd0/bionic-updates 237-3ubuntu10.40 amd64 [upgradable from: 237-3ubuntu10.39]
libudev1/bionic-updates 237-3ubuntu10.40 amd64 [upgradable from: 237-3ubuntu10.39]
systemd/bionic-updates 237-3ubuntu10.40 amd64 [upgradable from: 237-3ubuntu10.39]
systemd-sysv/bionic-updates 237-3ubuntu10.40 amd64 [upgradable from: 237-3ubuntu10.39]
udev/bionic-updates 237-3ubuntu10.40 amd64 [upgradable from: 237-3ubuntu10.39]
jjconstr@Aspire-5733Z:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
jjconstr@Aspire-5733Z:~$

Any other command install them?
Thanks








it looks like you have entered into dependency hell, and thats
probably what drove me to slackware !
These commands fixed many but more remain as shown in a second running of them. Printer does not work yet.
 
Still have blocks of red ink. One block sample shown below. How would these best be installed?

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible
error: 'libdbus-1-dev' 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: 'build-essential' package is missing/incompatible
error: 'libusb-1.0.0-dev' 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: 'python3-dev' package is missing/incompatible
error: 'libtool' package is missing/incompatible
error: 'libtool-bin' package is missing/incompatible
error: 'build-essential' package is missing/incompatible
error: 'build-essential' package is missing/incompatible

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

thanks
 
after installing
sudo apt install hplip-gui
i entered hpcheck -t

returned with:

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible

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

Total Errors: 3
Total Warnings: 1
apparently the packages are missing in fossa, so either, Ubuntu needs to be asked to add this. or HP devs need to repurpose hplip
 
Added Debian Buster Repository
Code:
deb http://ftp.us.debian.org/debian/ buster main contrib non-free
deb-src http://ftp.us.debian.org/debian/ buster main contrib non-free
In software and updates in "Other Software" so I can grab missing dependencies. The prior link didn't some things, but not as much as just adding the buster repo. Will respond after seeing if that fixes my issue.

(UPDATE: I had to sign the keys or else they wouldn't update)
Code:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
then add according code after recv-keys (for me they were 04EE7237B7D453EC & 648ACFD622F3D138 & DCC9EFBF77E11517)
 
Last edited:

Members online


Latest posts

Top