Bug 440131

Summary: Printing does not appear on print queue
Product: [Applications] okular Reporter: richard
Component: printingAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: 21.04.3   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description richard 2021-07-21 23:13:30 UTC
SUMMARY

When I try to print a document from Okular it doesn't print, and it doesn't appear in the CUPS print queue.

STEPS TO REPRODUCE
1. Open a document
2. Select Print from the File menu
3. Select my printer
4. Click the Print button

OBSERVED RESULT

No document is printed, and no job appears on the CUPS print queue.


EXPECTED RESULT

The document should be printed.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian
(available in About System)
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

I've tried running okular in a terminal and when I try to print I see the following output:

usage: lpr [-cdfghlmnpqrstv] [-#num] [-1234 font] [-C class] [-i [numcols]]
        [-J job] [-Pprinter] [-T title] [-U user] [-wnum] [name ...]

This suggests that okular may be constructed an incorrect command for printing with lpr. However, I haven't tried to get it to show the command it's constructing.
Comment 1 Albert Astals Cid 2021-07-22 21:37:04 UTC
It would seem you have have an incompatible lpr, make sure you have the cups one and not something else.
Comment 2 richard 2021-07-23 22:17:33 UTC
Ah, thank you. Yes, I've just installed the cups-bsd Debian package and now it works.