LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 09-02-2019, 03:37 AM   #1
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 401

Rep: Reputation: 32
cups HP printer: stopped filter failed


I've been trying to get my printer working on my SARPI method of installing 14.2.

One thread suggested this: http://juanvillar.blogspot.com/ but it crashed during the manual installation phase.

I had originally followed these instructions: https://wiki.alienbase.nl/doku.php?id=slackware:cups And they probably work fine in an x86 environment. But I get "filter failed" with an arm7 when I print test page. It shows "filter failed" in the status column in the print menu of my 'main' computer.

Everything looks as it should in localhost:631

Is there a better way to configure the HP drivers? Or is there a better way of doing this? lpadmin?

Last edited by hedron; 09-02-2019 at 03:39 AM.
 
Old 09-02-2019, 01:18 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I never made any sense of that error - it's a "Something went wrong" type of error.

Tell us more: What printer?: what connection?: if wifi has it a static IP?; Are you using hplip?; Have you searched threads? Are you on a minimal install, or the standard full install?
 
Old 09-02-2019, 02:35 PM   #3
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 401

Original Poster
Rep: Reputation: 32
It's an HP Photosmart C4480.

I used to have it connected to this wavlink usb-to-network device, and set it up with an lpadmin command. But that method won't allow scanning, but I'll get there when I can get it printing. So, the printer works fine.

I've tried all three drivers available for both detected items in the cups configuration. It detects my printer twice as: "HP Photosmart C4400 series USB CN86PFG1BZ0557 HPLIP (HP Photosmart C4400 series)" and "HP Photosmart C4400 series (HP Photosmart C4400 series)."

My best guess is that the driver binary is for x86, as that's what was hinted at on every search I've made. But all the guides don't mention this.

My printer isn't listed here: https://www.openprinting.org/driver/hplip/ I don't know if that means anything or not.

Last edited by hedron; 09-02-2019 at 02:42 PM.
 
Old 09-02-2019, 03:28 PM   #4
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 401

Original Poster
Rep: Reputation: 32
Now the status is: Idle - "Can't detect file type"
 
Old 09-02-2019, 08:45 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Do you install the printer using HPLIP?

According to the HPLIP website, that is a supported printer.
 
Old 09-02-2019, 10:41 PM   #6
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 401

Original Poster
Rep: Reputation: 32
HPLIP won't install.
 
Old 09-03-2019, 03:45 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by hedron View Post
HPLIP won't install.
You're not giving us much, are you? WHY won't HPLIP install? Have you not got the dependencies? I think it needs python, and a few modules, probably. I'd still like answers to the 'Have you searched fo0r this fault?' question and the 'Are you on a minimal install, or the standard full install?' question. Things should slot into slackware, regardless of whether they have their dependencies or not. Are you out of space on /? Have you a copying problem?
 
Old 09-03-2019, 02:43 PM   #8
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 401

Original Poster
Rep: Reputation: 32
I have no idea why it won't install, but I've since gone back to my usb-to-network connector. 5+ hours trying to figure this out is way too much time wasted on something that should have taken maybe 15 minutes.

thanks for the replies
 
Old 09-03-2019, 07:40 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Do you mean that HPLIP won't install or HPLIP will not install the printer?

To the best of my experience, Slackware includes HPLIP out of the box. You can start the HPLIP GUI by issuing the command hp-toolbox as user from the command line, if HPLIP does not appear on your menu.

I had a strange situation where HPLIP could not install my new printer, I think because the printer is just too new for HPLIP in 14.2, but I was able to install the printer using KDE system settings-->Hardware-->Printers.
 
Old 09-04-2019, 04:57 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Slackware packages are tar.xz, exploded from / after which a script is run. The reasons for not installing are
  1. Broken hplip archive
  2. You're lacking tar, xz, or package tools
  3. You're missing something fundamental, e.g. ld.so

A package can be installed and fail to work for the lack of some dependency. Try
Code:
which hpijs
If that returns a location, hplip is installed. Have you python installed?
 
Old 01-05-2020, 05:45 PM   #11
Cabbie001
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware64 15.0; Devuan Beowulf 3.0 (64bit)
Posts: 169

Rep: Reputation: Disabled
Mabye the wrong driver version.

Hedron, please see my recent post: https://www.linuxquestions.org/quest...80-4175667156/
It details a very similar problem I had with the same printer type on Slackware 14.2 i386. As in your case CUPS indicated all was as it should be but I was getting the same "filter failed" error message.

My solution was to substitute my known-good driver from a different distro (Devuan Ascii 2.0) and copy it over the existing file at /usr/share/cups/drv/HP/hpijs.drv. (Back up the original if you wish.)

I realize you may not have access to another distro with the known-good driver, but the version seems to be the key issue here, and if you download the tar.gz file from SourceForge: https://sourceforge.net/projects/hpl...hplip/3.16.11/ it might do the trick. It seems the default hplip used in Slackware is the 3.16.5 version which is too old.

Good luck
 
Old 01-06-2020, 06:02 AM   #12
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
In my painful experience, "filter failed" can mean just about anything. It's "Something went wrong."
It usually isn't sorted by a reinstall of software, but reinstalling printer, ppd, or config are all fair game. Try stuff - there's not a lot of use wanting us to be clairvoyant.
 
Old 01-06-2020, 03:17 PM   #13
Cabbie001
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware64 15.0; Devuan Beowulf 3.0 (64bit)
Posts: 169

Rep: Reputation: Disabled
It's unfortunate hedron seems to have given up on this issue. Maybe he bought another printer?
The HPLIP that installs by default on Slackware 14.2 does recognize this printer (the HP Photosmart C4480) and installs the jpijs printer driver "successfully" but the error message occurs anyway and printing fails.

The similarity between his case and mine is so close that I can't help but think the solution would be the same. The only difference is I'm using 14.2 i386 and he is using an ARM processor. I agree that forcing a different version of hplip than came with the distribution may seem out of place, though various versions are available in the txz format at the Hplip Download site: https://pkgs.org/download/hplip.

Nevertheless my fix of simply dropping in the correct driver did work, _without_ changing the hplip installation at all. That is, I left the hplip-3.16.5 installation in place and simply substituted the good driver file (jpijs.drv) over top of the one supplied. Then re-installed the printer (web interface, KDE interface or hp-setup) and it detects the changed driver and offers you to select it. Bingo printer works.

I can offer hedron this printer driver if he wishes as a last resort.

Happy hacking.
 
  


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
EPSON Stylus CX9400Fax "stopped, filter failed" Message - Using Ubuntu/Zorin OS 12 and CUPS rbharris Linux - Newbie 5 09-03-2018 03:50 PM
stopped "/usr/lib/cups/filter/pstopdf failed" in Antix 13.2 (= wheezy); howto solve the issue? floppy_stuttgart Debian 2 08-05-2015 02:50 AM
CUPS printing error: ="/usr/local/libexec/cups/filter/rastertosamsungspl failed ted_chou12 Linux - Software 0 08-04-2012 05:22 AM
Freelink debian on Buffalo NAS cups not working /usr/lib/cups/filter/hpcups failed linuxmandrake Debian 0 03-23-2010 04:45 PM
[SOLVED] cups "/usr/lib/cups/filter/foomatic-rip failed" error wufo Slackware 4 01-31-2010 02:20 PM

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

All times are GMT -5. The time now is 02:47 AM.

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