Problem with PostScript files in OpenSUSE Leap 15.2

Hi,

I’m running OpenSUSE Leap 15.2 KDE. I activated the Printing repository with a priority, since I often need the latest HPLIP for recent HP printers.

Since the upgrade from 15.1 to 15.2, all my client machines have problems displaying PostScript files. I tried various *.ps test files either generated locally or downloaded from the Internet, they all display as blank pages. This problem affects both Okular and Evince. The files display fine with an online PostScript viewing service.

Any suggestions?

Cheers from the sunny South of France.

I’ve found a temporary workaround by installing Ghostview, one of these klutzy applications which remind me of the days when I started out on Linux with Slackware 7.1 and WindowMaker. Does the job, but it would be nice to have Okular handling .ps files again.

You need to install “okular-spectre” for PostScript support in the Okular document viewer, it was split from the main package a while ago and is not installed by default.

The okular-spectre package is installed.

$ rpm -qa | grep okular 
**okular**-lang-20.04.2-lp152.1.1.noarch 
**okular**-20.04.2-lp152.1.1.x86_64 
**okular**-spectre-20.04.2-lp152.1.1.x86_64

Still no joy.

Okular 1.10.2 (from leap 15.2 OSS) opens/display *.ps files here. Tested with: http://pslib.sourceforge.net/einstein.ps

Okular uses GhostScript as the backend, is that installed?

Re-reading your second post I see you’ve used Ghostview, so yes GhostScript must be installed.

Sorry, no other ideas come to mind.

Edit:

Any clues if you start okular from konsole: okular filename.ps

The package “okular” «suggests» “okular-spectre” which is why new installations have it installed as a dependency …

Reinstall packages for printing subsystem. Maybe Ghostscript packages reinstallation would be enough.

I finally managed to solve the problem.

I’m using the Printing repository on all my systems to get the latest HPLIP, since some of my clients have very recent HP printers:

https://download.opensuse.org/repositories/Printing/openSUSE_Leap_15.2/x86_64/

Turns out this repository also pulls in more recent versions of CUPS and Ghostscript.

Since Leap 15.2 offers a reasonably recent version of HPLIP, I reverted all the packages from the Printing repository to their vanilla counterparts.

Problem solved.

Thanks everybody for your numerous suggestions & cheers from the locked down South of France.