Project Kyocera M5526

From JoBaPedia
Jump to navigation Jump to search

Kyocera ECOSYS M5526cdn

with Opensuse Leap 42.2, the supplied PPD does not work:

  • Duplex test page works -> printer and communication is ok
  • Printing from applications like Gimp does not work

Error message

e.g. visible in kprinter or cups log: 'loadFile failed: temp file: not a PDF file'

-> notoriously bad cups error message.

  • Which program in the long pipe of the printing system spits out this message?
  • Which tool produced the input data that was processed?
  • What was the output of that program?

Google not helpful on this, but try and error finally succeeded...

Solution

  • Download the ppd file from Kyocera

https://www.kyoceradocumentsolutions.de/index/serviceworld/downloadcenter.false.driver.ECOSYSM5526CDN._.EN.html#

Linux driver 8.1602 833,11 KB Linux_8.1602_EC..._P5021_5026.zip

  • Unzip the PPD file /Linux/EU/German/Kyocera ECOSYS M5526cdn.PPD to /usr/share/cups/model/Kyocera
  • Select this PPD for the printer in Yast

Same Symptom, Another Cause

Symptom is "Filter failed"

To diagnose, open http://localhost:631/admin, select "Save debugging information for troubleshooting" and [Change Settings]. Then

sudo tail -f /var/log/cups/error_log

You might see this message when you try to print from a browser or gimp or libre office (test pages and similar may still work):

Unable to execute pdftops program: No such file or directory

Then fix it with installing missing program pdftops (not the cups filter with the same name in /usr/libs/cups/filter !)

sudo zypper in poppler-tools

Mission accomplished.