You are not logged in.

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

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

Filtering for Kyocera FS-1061DN printer fails, works fine under Fedora

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?

Offline

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

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

Re: Filtering for Kyocera FS-1061DN printer fails, works fine under Fedora

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: 9,793

Re: Filtering for Kyocera FS-1061DN printer fails, works fine under Fedora

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.
Did you use the guided installer ? If yes, I can't help you.

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

Online

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

loqs
Member
Registered: 2014-03-06
Posts: 14,460

Re: Filtering for Kyocera FS-1061DN printer fails, works fine under Fedora

Offline

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

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,793

Re: Filtering for Kyocera FS-1061DN printer fails, works fine under Fedora

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.
Did you use the guided installer ? If yes, I can't help you.

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

Online

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

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

Re: Filtering for Kyocera FS-1061DN printer fails, works fine under Fedora

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,081

Re: Filtering for Kyocera FS-1061DN printer fails, works fine under Fedora

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

Board footer

Powered by FluxBB