You are not logged in.

#1 2022-01-08 15:46:34

ixolius
Member
Registered: 2022-01-08
Posts: 6

[SOLVED]Filtering for Kyocera FS-1061DN printer fails, works under fed

Hi there,

I tried to setup my new Kyocera FS-1061DN under Arch. The printer came along with a CD with some Linux "drivers", which I installed according to the instructions on the CD. The "driver" is basically a PPD-File and a filter, "rastertokpsl".

I'm able to locate and add the printer using CUPS. But every printing attepmt fails with the message "filter failed". One full error_log (debug mode) is available under pastebin: https://pastebin.com/GEefsqTF
The decisive line is IMO line 76:

D [08/Jan/2022:00:11:45 +0100] [Job 9] PID 2041 (/usr/lib/cups/filter/rastertokpsl) crashed on signal 11.

I tried to use the approach, which has it's own AUR package (https://aur.archlinux.org/packages/rast … l-fs-1040/) (The idea is to treat the arguments before calling rastertokpsl). It had no effect. AFAIK, the "rastertokpsl-re" approach only works for MacOS. There are mutliple "drivers" available online, but they are identical (Hash-verified) to the files on the CD, especially the "rastertokpsl".

However, the printer works fine under my old laptop, which uses Fedora as OS. I took the same steps and it works like a charm.

So, what am I missing? Encoding, some arcane SELinux stuff or filesystem encryption (blind guesses)? The fact that my fedora laptop uses a slightly older CUPS version? (2.3.3 vs 2.4.0 on Arch)? Why does rastertokpsl runs under one linux and not under another?

Last edited by ixolius (2023-02-21 09:25:05)

Offline

#2 2022-01-09 12:17:35

ixolius
Member
Registered: 2022-01-08
Posts: 6

Re: [SOLVED]Filtering for Kyocera FS-1061DN printer fails, works under fed

Cups was the right suspect. Downgrading cups and libcups to version 2.3.3.op2 made the printer print.
If anyone still wants to help, tell me where to file a bug report for version 2.4

Offline

#3 2022-01-09 12:38:14

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED]Filtering for Kyocera FS-1061DN printer fails, works under fed

is https://driverscollection.com/?H=FS-1061DN&SS=Linux the driver you found ?

That driver appears to be from 2012 and for cups 1.2 .
I checked the 64-bit English version of rastertokpsl with lddtree and that does find all required librairies.

It's install.sh script looks like it should work on archlinux, so in theory it may work.

The fact that my fedora laptop uses a slightly older CUPS version? (2.3.3 vs 2.4.0 on Arch)?


archlinux switched to the openprinting fork of cups late in 2020 , does your fedora laptop use the (discontinued) apple cups version ?

See https://openprinting.github.io/cups/ for more info


Why does rastertokpsl runs under one linux and not under another?

Because it's  a proprietary binary for a proprietary protocol that makes certain assumptions about the environment it is run in.
Without sourcecode or proper documentation only trial and error can help to determine those assumptions.


Check the official driver list for your printer at https://dlc.kyoceradocumentsolutions.eu … ._.EN.html

Kyocera did release windows 10 versions, but even the 2012 linux driver is not present on the list.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2022-01-09 19:38:54

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [SOLVED]Filtering for Kyocera FS-1061DN printer fails, works under fed

Offline

#5 2022-01-10 11:31:59

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED]Filtering for Kyocera FS-1061DN printer fails, works under fed

Does look very similar and the fork at https://github.com/Fe-Ti/rastertokpsl-re/ appears active.

The install.sh it uses will only work if the user running it has root-rights thorugh sudo, but that's minor.

ixolius, I suggest you try with that.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2022-01-11 15:06:07

ixolius
Member
Registered: 2022-01-08
Posts: 6

Re: [SOLVED]Filtering for Kyocera FS-1061DN printer fails, works under fed

Lone_Wolf, it was worth the try. Even if not made for the specific printer model, this version of the filter works fine with CUPS 2.4.

Thanks to loqs, I wouldn't have found this topic, but it matched my problem.

I'm unable to edit the Title, so I cannot mark this thread as solved. If some mod could do it for me or tell me what i'm doing wrong, this would be fine.

Offline

#7 2022-01-11 15:19:44

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,222

Re: [SOLVED]Filtering for Kyocera FS-1061DN printer fails, works under fed

Is it worth trying a driverless printer setup?  If it is a new printer many are compatible with driverless printing (the printer itself provides a single ppd file that cups stores at the time of setup).


Mike C

Offline

#8 2022-10-07 20:34:54

mosen
Member
Registered: 2022-10-07
Posts: 1

Re: [SOLVED]Filtering for Kyocera FS-1061DN printer fails, works under fed

Thank you very much to everyone involved here.
I bought a Kyocera FS-1325MFP today without checking if it supports PCL.
Soon hit the "filter failed" error and looked up the log to find the aforementioned error

(/usr/lib/cups/filter/rastertokpsl) crashed on signal 11.

The first search engine hit for the error lead me here.
Registered just to say thank you and mention the FS-1041 / FS-1061DN / FS-1220MFP / FS-1320MFP / FS-1325MFP line of printers for future visitors.
Those should all work in cups 2.4 using the rastertokpsl-re fix.
Will do a PR to add the relevant .ppd files to Fe-Tis repo.

Cheers everyone!

Offline

Board footer

Powered by FluxBB