LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-16-2021, 11:59 AM   #16
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,188

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381

Quote:
Originally Posted by Paulo2 View Post
I used to build new versions of hplip but now I wait for the -current upgrade.
I think hplip has a dependency on avahi for network.
Respectfully that is not the issue, as I would have gotten an error with avahi, and since this version requires it, I went ahead and compiled and installed avahi.


Quote:
Originally Posted by Paulo2 View Post
Yes it shows all printers.
Maybe the "filter failed" message is because of the new cups version.
Try rebuild the stock 14.2 hplip to get the new cups version.

If you run as root
Code:
cupsenable HP_Color_LaserJet_M553-39
does the printer get enabled/started?
I recall getting a filter error message with the stock version of CUPS though, but yes now it does show started:
Code:
root@slackmachine:/home/slackuser# cupsenable HP_Color_LaserJet_M553
root@slackmachine:/home/slackuser# lpstat -t
scheduler is running
system default destination: HP_Color_LaserJet_M553
device for HP_Color_LaserJet_M553: hp:/net/HP_Color_LaserJet_M553?ip=192.168.1.3
HP_Color_LaserJet_M553 accepting requests since Sat 16 Oct 2021 11:56:36 AM CDT
printer HP_Color_LaserJet_M553 is idle.  enabled since Sat 16 Oct 2021 11:56:36 AM CDT
root@slackmachine:/home/slackuser#
The question now is, for how long until it reports an issue with the filter? Whatever that means.

Last edited by Jeebizz; 10-16-2021 at 12:03 PM.
 
Old 10-16-2021, 02:03 PM   #17
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 933

Rep: Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522
Quote:
Originally Posted by Jeebizz View Post
The question now is, for how long until it reports an issue with the filter? Whatever that means.
I don't have two cents for that
 
Old 10-16-2021, 10:29 PM   #18
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
HPLIP 3.20.5 CLI and GUI has been a bit flaky here ever since the Python 3.10 upgrade, and I can no longer scan (even with the binary blob plugin). hp-toolbox (and hp-systray keeps crashing) used to show a few handy items like 'scan' and 'print test page' - no longer. Also, the supplies tab is "not available". Your HPLIP issues may have less to do with HPLIP or drivers, but with Python. Here, most of /usr/bin/hp-* tool fail to run due to various Python and PyQT4 errors
https://www.linuxquestions.org/quest...ng-4175700768/

I really do despise Python and whoever maintains it should burn in Hades for all eternity - but that's another story..

You don't need Avahi. Since HPLIP installs all the printer drivers, and you can skip HPLIP and setup via CUPS as socket://, ipp:// usb:// etc. directly.

Also I just notices that there may be bug in the hplip.Slackbuild...checking...
 
Old 10-17-2021, 11:18 AM   #19
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,188

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Quote:
Originally Posted by kingbeowulf View Post
You don't need Avahi. Since HPLIP installs all the printer drivers, and you can skip HPLIP and setup via CUPS as socket://, ipp:// usb:// etc. directly.

lpstat still shows that the printer is active, and CUPS 2.3.3 shows my printer as idle - but HPLIP still shows no information (but again it is stock what was included in 14.2).

I don't know if python is to blame for this, because again the only thing I can attribute to this kind of behavior was HP's last security firmware update https://support.hp.com/us-en/drivers...series/7087331
 
Old 10-17-2021, 09:12 PM   #20
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
I was able to get most functionality back with a patch from Fedora. See:
https://www.linuxquestions.org/quest...es-4175702147/
A bit trickier since my HP Laserjet M1212nf needs the proprietary blob plugin. At least now printing and scanning now works again - Don't know about fax (haven't tested, heck a phone line isn't even plugged in). Ah, the adrenaline rush of tracking Slackware-Current!

You might want to give that a try.
 
Old 10-18-2021, 10:31 AM   #21
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,188

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Quote:
Originally Posted by kingbeowulf View Post
I was able to get most functionality back with a patch from Fedora. See:
https://www.linuxquestions.org/quest...es-4175702147/
A bit trickier since my HP Laserjet M1212nf needs the proprietary blob plugin. At least now printing and scanning now works again - Don't know about fax (haven't tested, heck a phone line isn't even plugged in). Ah, the adrenaline rush of tracking Slackware-Current!

You might want to give that a try.
My printer is not multifunction, given that I always had bad luck with those - I specifically chose a printer only device, well other than networking capabilities (ethernet); and overall I am satisfied with it. I don't know if that blob is going to work with my printer, and so far lpstat still shows the printer is idle; but I don't know if that will be the case after I print in Linux, but I will test that out when I have more time. Again in Windows, no issue of course, but thats Windows.
 
Old 10-18-2021, 07:26 PM   #22
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Quote:
Originally Posted by Jeebizz View Post
. I don't know if that blob is going to work with my printer, and so far lpstat still shows the printer is idle; but I don't know if that will be the case after I print in Linux, but I will test that out when I have more time.
Not all HP printers need the plugin blob. I just mentioned it since mine does. You can check yours at the HPLIP web page. Either way, the patch I mentioned to fix some of the Python 3.10 glitches is now Slackware-current. You should upgrade to that package to get the that fix and others. The 14.2 HPLIP will never work properly on Current - too old, wrong Python and built for pyQT4.
 
Old 10-22-2021, 05:15 PM   #23
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,188

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
So after a few print jobs and waiting, lp stat still reports active:
Code:
system default destination: HP_Color_LaserJet_M553
device for HP_Color_LaserJet_M553: hp:/net/HP_Color_LaserJet_M553?ip=192.168.1.3
HP_Color_LaserJet_M553 accepting requests since Fri 22 Oct 2021 05:11:05 PM CDT
printer HP_Color_LaserJet_M553 is idle.  enabled since Fri 22 Oct 2021 05:11:05 PM CDT
I don't know if perhaps updating cups or if the command
Code:
cupsenable HP_Color_LaserJet_M553-39
did the trick, but technically this issue is resolved. I would still like to get the later version of HPLIP running, but I keep running into the hpjis error...
 
Old 11-05-2021, 11:24 AM   #24
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,188

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
And well it appears the issue is coming back, I just tried to print something right now:

Click image for larger version

Name:	Screenshot_2021-11-05_11-21-04.png
Views:	8
Size:	41.8 KB
ID:	37631
Code:
slackuser@slackmachine:~$ lpstat -t
scheduler is running
system default destination: HP_Color_LaserJet_M553
device for HP_Color_LaserJet_M553: hp:/net/HP_Color_LaserJet_M553?ip=192.168.1.3
HP_Color_LaserJet_M553 accepting requests since Fri 05 Nov 2021 11:20:37 AM CDT
printer HP_Color_LaserJet_M553 disabled since Fri 05 Nov 2021 11:20:37 AM CDT -
	Filter failed
HP_Color_LaserJet_M553-49 slackuser       247808   Fri 05 Nov 2021 11:20:33 AM CDT
slackuser@slackmachine:~$
So fsck it, I have no idea anymore if it is hplip , or what - but this is really getting annoying now.

-edit

I also tried to "start" the printer in hplip, but it never worked for me - the only solution is to remove and reinstall the printer in hplip so... yea wtf is with this shit?
Click image for larger version

Name:	Screenshot_2021-11-05_11-25-46.png
Views:	13
Size:	60.4 KB
ID:	37632

Last edited by Jeebizz; 11-05-2021 at 11:27 AM.
 
Old 11-05-2021, 12:20 PM   #25
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 933

Rep: Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522
Try reverting hplip and cups to the stock 14.2 packages, maybe this fix the filter problem.

My experience with the enable/disable printer issue is that when there is some error with my printer
(HP F4280 deskjet, they say it is a F4200 series), paper jam or some problem with the cartridges,
ink levels or other problem, the printer stops printing and becomes disabled.
One way to get it enabled again is by clicking on the hplip gui button, but this always freezes hplip.
So I enable it running "cupsenable <printer>" as root, which always works.


edit- There is the cups-filters package too,
maybe uninstalling and installing it with stock hplip and cups would fix it.

Last edited by Paulo2; 11-05-2021 at 12:24 PM.
 
Old 11-05-2021, 12:41 PM   #26
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,188

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Quote:
Originally Posted by Paulo2 View Post
Try reverting hplip and cups to the stock 14.2 packages, maybe this fix the filter problem.

My experience with the enable/disable printer issue is that when there is some error with my printer
(HP F4280 deskjet, they say it is a F4200 series), paper jam or some problem with the cartridges,
ink levels or other problem, the printer stops printing and becomes disabled.
One way to get it enabled again is by clicking on the hplip gui button, but this always freezes hplip.
So I enable it running "cupsenable <printer>" as root, which always works.


edit- There is the cups-filters package too,
maybe uninstalling and installing it with stock hplip and cups would fix it.
Regretfully before I upgraded CUPS, I was having the same problem, and I am running stock HPLIP for 14.2 anyways, since I wanted to jump to the latest HPLIP, but even after installing avahi - I kept getting a hpjis error when attempting to compile HPLIP.

-Edit

So reverting back to stock CUPS for 14.2 I still don't see how that will resolve this issue...

Last edited by Jeebizz; 11-05-2021 at 12:44 PM.
 
Old 11-05-2021, 12:54 PM   #27
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 933

Rep: Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522
Quote:
Originally Posted by Jeebizz View Post
Regretfully before I upgraded CUPS, I was having the same problem, and I am running stock HPLIP for 14.2 anyways, since I wanted to jump to the latest HPLIP, but even after installing avahi - I kept getting a hpjis error when attempting to compile HPLIP.

-Edit

So reverting back to stock CUPS for 14.2 I still don't see how that will resolve this issue...
hum sorry that was your original problem.

hplip and cups work OK in a notebook with Slackware 14.2.

I can't say the same about hplip in -current in my desktop, it practically doesn't work anymore.
I do all my printing jobs in cups, like add the printer or print a test page.
The only thing I miss in hplip is the clean cartridges routine.
 
Old 11-05-2021, 01:10 PM   #28
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,188

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Quote:
Originally Posted by Paulo2 View Post
hum sorry that was your original problem.

hplip and cups work OK in a notebook with Slackware 14.2.

I can't say the same about hplip in -current in my desktop, it practically doesn't work anymore.
I do all my printing jobs in cups, like add the printer or print a test page.
The only thing I miss in hplip is the clean cartridges routine.
No worries about that. Also to recap, the only thing I can think of that started this mess was the last firmware update - which again; puts me in a difficult position perhaps, because the firmware updates by HP are specifically marked as security only, nothing that would make any major changes to the way the firmware works on the laserjet printer itself. Also in a Windows VM, it doesn't care or have any issues - and yes I am running the HP driver for Windows. So something about CUPS and or HPLIP just does not play nice with these firmware updates.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware-current kde audio settings - only "PulseAudio Sound Server" device seen in "Device preference" tab alekow Slackware 6 05-26-2020 07:24 AM
[SOLVED] CUPS HPLIP communication failures under -current causing communication errors. bamunds Slackware 10 09-24-2016 06:02 PM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
Fault in KDE processes communication: Could not read network communication list Magnus Johansson MEPIS 0 03-30-2008 12:50 PM
"Unable to open USB device "usb://hp/LaserJet%201000": No such device" lordshipmayhem Mandriva 2 08-08-2004 04:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration