SUMMARY Printing of (some) pdf files will fail, mostly silently. OS is openSUSE 15.6, but also failed on 15.4. STEPS TO REPRODUCE 1. Load PDF File and either 2. select print preview 3. print (printing to pdf will do) OBSERVED RESULT Print preview errors out or doesn't display a preview. Printing fails more or less silently. In Cups error log a message like D [09/Dec/2024:12:05:36 +0100] [Job 2135] Error: /undefined in --load-- D [09/Dec/2024:12:05:36 +0100] [Job 2135] Operand stack: D [09/Dec/2024:12:05:36 +0100] [Job 2135] true --dict:77/200(L)-- ICCBased-8-0-1 --nostringval-- CIEBasedA --nostringval-- --nostringval-- DecodeA lcms2gammaproc D [09/Dec/2024:12:05:36 +0100] [Job 2135] Execution stack: D [09/Dec/2024:12:05:36 +0100] [Job 2135] --dict:748/1123(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- --dict:68/75(L)-- --dict:19/25(L)-- --dict:0/15(L)-- --dict:0/15(L)-- --dict:7/15(L)-- --dict:0/15(L)-- --dict:0/15(L)-- --dict:0/15(L)-- D [09/Dec/2024:12:05:36 +0100] [Job 2135] Current allocation mode is local D [09/Dec/2024:12:05:36 +0100] [Job 2135] GPL Ghostscript 9.52: Unrecoverable error, exit code 1 However it seems not to be a cups issue as a) printing to "PDF File" yields a small, probably truncated, file b) printing the pdf directly via "lpr" works EXPECTED RESULT Printing via okular works, too. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.12 ADDITIONAL INFORMATION Workaround would be to select "Force Rasterization" on print dialog. Installing "okular-spectre" makes no change. A saved "ps" file (from preview) seems corrupt, too.
Created attachment 176458 [details] PS file produced via print preview
Might be a issue for some time as https://forums.opensuse.org/t/cups-is-driving-me-crazy-doesnt-print-particular-pdfs/102845/39 might indicate.
We need the pdf, not the ps.
Created attachment 176660 [details] PDF exhibiting print issue (modified) Slightly modified pdf (to remove names and identifying numbers, as it was a ticket)
Works for me. Which is your poppler version?
Some poppler components are 24.3.0 (like libpoppler-cpp0, libpoppler-glib8, libpoppler-qt5-1, libpoppler135), some are older (e.g. 22.1.0 for libpoppler117). This is checked via package manager. The same version is stated in the generated (preview) ps which fails opening with gv, too. Does that help or is there any other way to determine which version is used?
Seems it's a "you're using old versions problem". Can you try to run okular from flathub and confirm if it works for you (print preview at least?) https://github.com/flathub/org.kde.okular
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!