Bug 432738 - Okular prints no pdf files
Summary: Okular prints no pdf files
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 20.12.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-10 14:10 UTC by wodenhof
Modified: 2021-02-19 15:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wodenhof 2021-02-10 14:10:33 UTC
SUMMARY
Well it doesn't

STEPS TO REPRODUCE
1. Load file
2. Make sure everything is displayed
3. Click print
4. Check default printing parameters
5. Click okay

OBSERVED RESULT
The cooling fan of the printer briefly runs (1/2 second or less), then the printer is idle again. Cups shows the jobs in the queue as "finished". Restarting the jobs brings no changes. "lp file.pdf" prints as expected.


EXPECTED RESULT
Printout of the pdf.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Opensuse tumbleweed 
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

It would be nice if one could select and copy those values from About System...

ADDITIONAL INFORMATION
Comment 1 Oliver Sander 2021-02-10 14:11:35 UTC
Does it print if you select 'force rasterization'?
Comment 2 Nate Graham 2021-02-10 15:17:07 UTC
>  It would be nice if one could select and copy those values from About System...
There is a "Copy to Clipboard" button at the bottom of the window
Comment 3 wodenhof 2021-02-12 18:48:20 UTC
(In reply to Oliver Sander from comment #1)
> Does it print if you select 'force rasterization'?

Yes, it does. And even without sometimes occurring clipping of the margins. Why?

Btw. Thank you :-).
Comment 4 wodenhof 2021-02-12 18:50:06 UTC
(In reply to Nate Graham from comment #2)
> >  It would be nice if one could select and copy those values from About System...
> There is a "Copy to Clipboard" button at the bottom of the window

Okay, I overlooked that. But it copies all information in one bundle, including denominators. I'd rather copy data in the format expected here...
Comment 5 Oliver Sander 2021-02-15 15:50:23 UTC
> why

Believe it or not, but 'rasterization' is actually a completely different way of printing.  The standard way is to convert the file to postscript and send that to the printer.  'rasterization' renders the file into a QPrinter object, and uses the Qt printing infrastructure.
Comment 6 wodenhof 2021-02-15 16:14:01 UTC
(In reply to Oliver Sander from comment #5)
> > why
> 
> Believe it or not, but 'rasterization' is actually a completely different
> way of printing.  The standard way is to convert the file to postscript and
> send that to the printer.  'rasterization' renders the file into a QPrinter
> object, and uses the Qt printing infrastructure.

Aha. Never heard of that. Does that mean, the postscript conversion is broken in okular or is something wrong at my side?
Comment 7 Oliver Sander 2021-02-19 15:04:07 UTC
Hard to tell.  It's a pretty fragile construction.  Unfortunately I am not skilled enough to help you debug this.