Sorry to have to come begging here, but after 2 days of experimentation I’m out of ideas.
I have a Lexmark MS312dn laser printer, attached via ethernet/IPP, which worked on Leap 42.1. I just (finally!) upgraded with a fresh install of 15.1, and attempting to print most files – from commandline, libreoffice, okular, evince, or even a test page from the CUPS server at http://localhost:631/printers/ – fails with an “Unsupported format” error. Examples:
Unsupported document-format "application/pdf".
Unsupported document-format "application/postscript".
Unsupported document-format "text/plain".
Unsupported format "application/vnd.cups-pdf-banner".
Unsupported document-format "image/x-portable-pixmap"
But somehow printing JPEG or PNG files with lp
does work.
I’ve tried both the PPD file that was working on 42.1, which has “PPD-O-MATIC (4.0.0 or newer) generated this PPD file”, and a PPD downloaded directly from Lexmark’s website – they provide excellent support for Linux with RPMs, plus firmware updates which can be installed without running Microsoft software. Each time I changed the PPD file in /etc/cups/ppd I first stopped, and then restarted the CUPS service (with YaST Services Manager). Both PPDs give the same errors.
I believe the problem is with CUPS filtering – I can access both CUPS and the printer’s web interfaces, lpq
works, etc. The CUPS logs always show the “Unsupported document-format” errors, but none for the successful JPEG/PNG output.
I’ve tried to install the same CUPS and associated packages in 15.1 that I had in 42.1, or as much as possible given that things have changed between the two releases. On 15.1 I have:
$ rpm -qa | sort | egrep -i 'cups|foom|ppd|guten'
Lexmark-ADS-PPD-Files-1.0-02242017.x86_64
OpenPrintingPPDs-4.0.0.2-lp151.2.1.noarch
OpenPrintingPPDs-ghostscript-4.0.0.2-lp151.2.1.noarch
OpenPrintingPPDs-hpijs-4.0.0.2-lp151.2.1.noarch
OpenPrintingPPDs-postscript-4.0.0.2-lp151.2.1.noarch
cups-2.2.7-lp151.5.2.x86_64
cups-backends-1.1-lp151.2.1.noarch
cups-client-2.2.7-lp151.5.2.x86_64
cups-config-2.2.7-lp151.5.2.x86_64
cups-filters-1.20.3-lp151.2.4.x86_64
cups-pk-helper-0.2.6-lp151.2.2.x86_64
cups-pk-helper-lang-0.2.6-lp151.2.2.noarch
gutenprint-5.2.14-lp151.2.3.x86_64
libcups2-2.2.7-lp151.5.2.x86_64
libcups2-32bit-2.2.7-lp151.5.2.x86_64
libcupscgi1-2.2.7-lp151.5.2.x86_64
libcupsimage2-2.2.7-lp151.5.2.x86_64
libcupsmime1-2.2.7-lp151.5.2.x86_64
libcupsppdc1-2.2.7-lp151.5.2.x86_64
manufacturer-PPDs-10.2-lp151.4.1.noarch
python2-appdirs-1.4.3-lp151.2.1.noarch
python2-pycups-1.9.73-lp151.2.4.x86_64
python3-appdirs-1.4.3-lp151.2.1.noarch
python3-cupshelpers-1.5.7-lp151.6.3.noarch
python3-pycups-1.9.73-lp151.2.4.x86_64
On 42.1 I had:
$ rpm -qa | sort | egrep -i 'cups|foom|ppd|guten'
Lexmark-ADS-PPD-Files-1.0-02242017.x86_64
OpenPrintingPPDs-4.0.0.2-3.1.noarch
OpenPrintingPPDs-ghostscript-4.0.0.2-3.1.noarch
OpenPrintingPPDs-hpijs-4.0.0.2-3.1.noarch
OpenPrintingPPDs-postscript-4.0.0.2-3.1.noarch
cups-1.7.5-7.1.x86_64
cups-client-1.7.5-7.1.x86_64
cups-filters-1.0.58-12.1.x86_64
cups-filters-cups-browsed-1.0.58-12.1.x86_64
cups-filters-foomatic-rip-1.0.58-12.1.x86_64
cups-filters-ghostscript-1.0.58-12.1.x86_64
cups-libs-1.7.5-7.1.x86_64
cups-libs-32bit-1.7.5-7.1.x86_64
cups-pk-helper-0.2.5-5.1.x86_64
cups-pk-helper-lang-0.2.5-5.1.noarch
gutenprint-5.2.10-3.2.x86_64
libzypp-plugin-appdata-1.0.1-11.2.noarch
manufacturer-PPDs-10.2-272.1.noarch
python-cups-1.9.72-2.2.x86_64
python-cupshelpers-1.5.7-3.6.noarch
python3-cups-1.9.72-3.2.x86_64
Any suggestions on what’s wrong? My guess is that the problem is very simple. I really don’t want to have to go back to 42.1 to use the printer. I’ll gladly provide any further info, command output, or test results needed to help diagnose the problem. Thanks for any and all help.