SULDR Forums Supported Printers Printing Questions Scanning Questions General Questions Samsung Installer

Samsung CLP-510N does not work on Ubuntu 20.04 (Filter failed error)

Started by aaron, May 21, 2020, 02:27:47

Previous topic - Next topic

aaron

Hi,

First of all, thanks for keeping this repository up to date! I saw there were plans to shut it down last year, and I'm glad to hear that you chose to let it live for a few more years.

So here is my problem:

I have installed suld-driver-4.00.39 (maximum version for my CLP-510N) on a fresh Ubuntu 20.04 system. This ships with CUPS 2.3.1. The printer is connected via network through LDP (connection: lpd://192.168.178.28/queue).

When I try to print, the job fails with stopped "Filter failed".

I believe this is the relevant portion of the debug log:


I [21/May/2020:09:08:42 +0200] [Job 6] Started filter /usr/lib/cups/filter/pdftopdf (PID 2996)
I [21/May/2020:09:08:42 +0200] [Job 6] Started filter /usr/lib/cups/filter/pdftops (PID 2997)
I [21/May/2020:09:08:42 +0200] [Job 6] Started filter /usr/lib/cups/filter/rastertosamsungsplc (PID 2998)
I [21/May/2020:09:08:42 +0200] [Job 6] Started backend /usr/lib/cups/backend/lpd (PID 2999)
D [21/May/2020:09:08:42 +0200] [Job 6] PID 2998 (/usr/lib/cups/filter/rastertosamsungsplc) stopped with status 127 (File too large)
D [21/May/2020:09:08:42 +0200] [Job 6] pdftops - copying to temp print file \"/tmp/00bb55eca8895\"
D [21/May/2020:09:08:42 +0200] [Job 6] pdftopdf: Last filter determined by the PPD: rastertosamsungsplc; FINAL_CONTENT_TYPE: application/vnd.cups-postscript => pdftopdf will not log pages in page_log.
D [21/May/2020:09:08:42 +0200] [Job 6] Samsung_CLP-510N: error while loading shared libraries: libcupsimage.so.2: cannot open shared object file: No such file or directory
D [21/May/2020:09:08:42 +0200] [Job 6] PID 2996 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [21/May/2020:09:08:42 +0200] [Job 6] PID 2999 (/usr/lib/cups/backend/lpd) exited with no errors.


So two things that seem fishy:

  • [...] rastertosamsungsplc) stopped with status 127 (File too large)
  • error while loading shared libraries: libcupsimage.so.2: cannot open shared object file: No such file or directory

I'm adding the full debug log as an attachment (limited to lines containing "[Job").

Any idea how I can fix this? Is my Ubuntu/CUPS too new?

Thanks,
Aaron

bchemnet

Install the package libcupsimage2.  I believe that will solve your problem.

It seems that cups no longer include this library by default, as of 2.3.1.  Until I have a chance to modify the packages here to add a dependency explicitly on that library, it will need to be installed manually.  This might still only be affecting a small number of people because several common cups drivers do explicitly depend on it, so many people probably have it installed even with cups 2.3.1.

aaron

Yes! Now it works. Thank you so much!

There is one question I didn't find on https://www.bchemnet.com/suldr/questions.html: Can I buy you a coffee? ;-)

bchemnet

I appreciate the thought, but no.  I am content knowing that I can make the world a little better than it otherwise would be for some people.

aaron

That's cool! The world is definitely a little better for me now (and my mother, who owns this old printer) :-)

Repository Information Legal Contact Alternative Drivers