Page 1 of 2
[SOLVED] HP Deskjet 1510 printer has stopped printing

Posted:
Jul 22nd, '22, 17:45
by Linares
I have been using this printer normally at Mageia for three years. But, after a few weeks without using it, today I went to print an .ods document and found the following issue: A message appears in the bottom right telling me that the document has been printed but, in fact, it has not been printed.

The printer, despite being turned on, does not make the slightest noise or movement during the process.

The work has been left there as "Stopped".
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 23rd, '22, 03:57
by banjo
Is the printer showing an error on its own screen?
My 3510 will show "out of paper" when it isn't. It has recently been showing "Clear carriage jam", and I have no idea what that means. I fix the paper issue by taking out the paper and reinserting it. I fix the carriage jam by turning off the printer and unplugging it for a few seconds, then rebooting it.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 23rd, '22, 11:08
by doktor5000
Please provide the output as root of
- Code: Select all
hp-doctor -g
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 23rd, '22, 23:05
by Linares
banjo wrote:Is the printer showing an error on its own screen?
My 3510 will show "out of paper" when it isn't. It has recently been showing "Clear carriage jam", and I have no idea what that means. I fix the paper issue by taking out the paper and reinserting it. I fix the carriage jam by turning off the printer and unplugging it for a few seconds, then rebooting it.
The printer does not show any type of error. In fact, I am dual booting and from Windows it prints that document completely normally. But I want to work in Mageia, of course.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 23rd, '22, 23:10
by Linares
doktor5000 wrote:Please provide the output as root of
- Code: Select all
hp-doctor -g
A lot of things have happened executing that little instruction.
A result so mileage has been generated that the start has been lost on the console. Instead, when I run it a second time, only this comes out.
Unfortunately, the printer continues with the same problem.
- Code: Select all
hp-doctor -g
error: Unable to locate models.dat file
HP Linux Imaging and Printing System (ver. 0.0.0)
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-doctor[3152]: debug: Locking: /home/and/.hplip/hp-doctor.lock
HP Linux Imaging and Printing System (ver. 0.0.0)
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-doctor[3152]: debug: Upgrade log saved in: /home/and/.hplip/hp-doctor.log
hp-doctor[3152]: debug:
hp-doctor[3152]: debug: DAT file not found at /home/and/installer/distros.dat. Using local relative path...
hp-doctor[3152]: debug: Unable to open file installer/distros.dat for reading.
hp-doctor[3152]: debug: []
hp-doctor[3152]: debug: HPLIP Description= Public version=0.0.0 Internal version = 0.0.0
hp-doctor[3152]: debug: Determining distro...
hp-doctor[3152]: debug: Able to detect distro
hp-doctor[3152]: debug: Distro name=mageia
hp-doctor[3152]: debug: Distro version=7
hp-doctor[3152]: debug: distro=0, distro_version=7
Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 276, in <module>
dep.core.init()
File "/usr/share/hplip/installer/core_install.py", line 522, in init
self.distro_name = self.distros_index[self.distro]
KeyError: 0
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 23rd, '22, 23:32
by sturmvogel
Mageia 7 is end of life since June 2021 and therefore gets no security updates or bugfixes anymore. Also the HP drivers are outdated and don't contain actual bugfixes applied to this package..
Please update to a supported Mageia 8 version where also the HP drivers are up to date and supported.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 24th, '22, 01:50
by Linares
First of all, thank you very much for sharing your point of view with me. But is it undoubtedly, unequivocally and categorically that the printer has stopped working for that reason? It's intriguing, or dubious, because this same printer has been running with Mageia 7 and the HP outdates drivers up to a month ago (a full year after end of support) and has suddenly stopped without making any changes to the system. It's a bit strange.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 24th, '22, 02:36
by Germ
You might remove the printer and go through the setup again.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 24th, '22, 06:54
by benmc
disclaimer: I am not using an HP printer, nor the HPLIP status service.
now that is out of the way, is the printer networked, wireless or USB connected?
if networked or wireless, has the URI of the device changed?
reason for question: my networked Kyocera Laserjet managed to change its URI, (xxx.xxx.x.69:631/ipp to xxx.xxx.x.64:631/ipp) yet Libre-Office would report that it had printed.
If USB connected, as suggested by Germ, try an un-install and then re-install.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 24th, '22, 14:20
by banjo
if networked or wireless, has the URI of the device changed?
FYI, my HP printers, 3510 and P1102W, both have built in tools to negotiate a static IP to avoid the wandering URI problem. I don't remember the details, but basically I think I invoked the tool on the printer and then waited a couple of minutes for the printer and the router to negotiate an IP. When I log into the router it confirms static IP addresses.
If you have not already done that, you could look into it on your own printer model.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 24th, '22, 16:54
by Linares
Germ wrote:You might remove the printer and go through the setup again.
Following this advice, I have removed the printer. But I don't know the step to follow after having pressed the "Add" button. This screen appears to me. I also don't know what a URI is and where to get the one for this printer.

I will complete information: The printer is in perfect condition and correctly connected. Because I have installed VirtualBox and a Windows 7 virtual machine, after which I have been able to print correctly. So my problem is in Mageia.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 24th, '22, 16:59
by sturmvogel
As you still didn't tell how your printer is connected....
URI is the IP adress of the printer...
Read:
https://doc.mageia.org/mcc/8/en/content/mcc-hardware.html#system-config-printerYou can also try to setup the printer with the hp tools directly as root:
- Code: Select all
hp-setup
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 24th, '22, 17:58
by Linares
Sorry, the printer is connected by USB cable.
I have made little progress. After deleting it, I've added it back through
http://localhost:631/, but it still doesn't print, just as dead as it was at the beginning of the problem.
The output of hp-setup is:
- Code: Select all
error: Unable to locate models.dat file
HP Linux Imaging and Printing System (ver. 0.0.0)
Printer/Fax Setup Utility ver. 9.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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
Using connection type: usb
error: No device selected/specified or that supports this functionality.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 24th, '22, 19:26
by banjo
The error message says that it cannot find models.dat.
error: Unable to locate models.dat file
On my system the file is at /usr/share/hplip/data/models/models.dat
Maybe something has corrupted your hplip installation. Perhaps reinstalling hplip would restore the file. I don't know how else you would get a copy of it.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 24th, '22, 22:51
by Linares
In case the hplip installation was corrupted, I have uninstalled and restarted the computer. When I have tried to reinstall hplip again, I have received the following error:
1 installation transactions failed
There was a problem during installation:
for the installation of the package hplip-3.19.5-1.mga7.x86_64 13MB is needed in the file system /I think it's related to this other error trying to install something else:
viewtopic.php?f=7&t=14669&p=86159#p86158It is very strange because according to baobab the file system has 700 Mb free.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 25th, '22, 07:09
by benmc
Linares wrote:for the installation of the package hplip-3.19.5-1.mga7.x86_64 13MB is needed in the file system
you will need to remove something from your / file system.
perhaps libre-office or firefox -they are huge.
then install the hplip package and check that the printer can be installed and functions.
determine the applications that you really do not use and/or can live without, (as going by your other thread, you are running close to the limit in your / ) and remove them. then re-install L.O. (or the application you removed)
another option would be to resize your / partition.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 25th, '22, 10:30
by sturmvogel
Ben this topic was already mentioned in the other thread. But there is no chance to resize anything on his 50GB drive... It's full...
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 25th, '22, 11:35
by benmc
sturmvogel wrote:Ben this topic was already mentioned in the other thread. But there is no chance to resize anything on his 50GB drive... It's full...
possible option:
unlisted /swap relocated to end of resized sda1 (sda2)
(df -h does not list it, likely /dev/nvme0n1p6, but require confirmation from OP.)
- Code: Select all
fdisk -l
maybe a screen grab from diskdrake to see order & locations of partitions
extend / into now vacant SSD space.
fix printer issue with / (/dev/nvme0n1p5) by installing package currently unable to be installed due to lack of space.
locate and remove excess packages over and above the 4 kernel packages listed and excess logs.
resize / and relocate /swap back, remove partition sda2, resize sda1.
if no swap partition, OP may be able to resize /home if /dev/nvme0n1p7 and /dev/nvme0n1p5 are next to each other.
backups before any partitioning adjustments are a requirement.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 25th, '22, 15:15
by Linares
benmc wrote:Linares wrote:for the installation of the package hplip-3.19.5-1.mga7.x86_64 13MB is needed in the file system
you will need to remove something from your / file system.
perhaps libre-office or firefox -they are huge.
then install the hplip package and check that the printer can be installed and functions.
determine the applications that you really do not use and/or can live without, (as going by your other thread, you are running close to the limit in your / ) and remove them. then re-install L.O. (or the application you removed)
another option would be to resize your / partition.
From what I'm seeing, freeing up space on the hard drive, and reinstalling KDE Plasma, hplip has been reinstalled. So we can continue with the investigation.

Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 29th, '22, 03:03
by epp
banjo wrote:if networked or wireless, has the URI of the device changed?
FYI, my HP printers, 3510 and P1102W, both have built in tools to negotiate a static IP to avoid the wandering URI problem. I don't remember the details, but basically I think I invoked the tool on the printer and then waited a couple of minutes for the printer and the router to negotiate an IP. When I log into the router it confirms static IP addresses.
If you have not already done that, you could look into it on your own printer model.
I found it easier to connect my HP via Ethernet. It makes it that much easier to add to Linux when creating new virtual machines: (as sudo)
hp-setup -a <IP address> and done.
But to the OP, I would definitely encourage an upgrade to Mageia 8.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 29th, '22, 06:47
by Linares
doktor5000 wrote:Please provide the output as root of
- Code: Select all
hp-doctor -g
The result of
hp-doctor -g has changed.
- Code: Select all
[and@Mageia ~]$ su
ContraseƱa:
[root@Mageia and]# hp-doctor -g
Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 48, in <module>
from check import DependenciesCheck
ModuleNotFoundError: No module named 'check'
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 29th, '22, 17:53
by banjo
Ironically, my HP P1102W LaserJet just stopped working. I have been using this printer for many years, and I know it was working after I set up this Mageia 8 version. It is my main printer.
The error message is
Print job failed - required plug-in not found:
Plugin missing
The print job in CUPS shows
stopped
"Filter failed"
It looks like something has changed in hplip.
Hplip was updated on July 10. I don't remember whether I have tried to print to that printer since then or not. I suspect not.
I will try to figure out my own problem and post a new thread if I cannot. But I thought that it might be relevant to this thread where other HP printers have just stopped working.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Jul 29th, '22, 20:43
by banjo
OK. Never mind. I rebooted the computer and tried to print. This time, hplip posted a dialog saying that the printer requires a plugin and offered to install it. I did the installation and the printer works.
This is confusing because the printer was properly installed and working prior to this. Somehow it lost the plugin. Very strange.
Anyway, this problem is not related to the OP's problem, so I apologize for interrupting the thread.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Aug 3rd, '22, 06:14
by Linares
Hello.
I'm giving this thread a new push up, to see if someone can help me, because the situation has gotten a bit worse.
I had to change the black ink cartridge because it was completely consumed, printing everything in Windows, of course, because in Mageia the printer doesn't work.
Since that change of ink cartridge, every time I turn on the printer in Mageia, every time I press the ON button, it prints (with its consequent waste of ink) the HP check sheet.
In short, is happening the bizarre situation of not printing absolutely anything in Mageia, except the f*** check sheet after changing the cartridge.
I appreciate any help or suggestion.
Re: HP Deskjet 1510 printer has stopped printing

Posted:
Aug 3rd, '22, 12:48
by Germ
Remove your printer from the computer. Unplug it, delete the connection if wifi. Delete all the configurations for it that are left. Remove all print related packages.
Reboot, connect the printer, and let it start from scratch installing packages and configuring.
that's all I can think of....