Bug 440131 - Printing does not appear on print queue
Summary: Printing does not appear on print queue
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 21.04.3
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-21 23:13 UTC by richard
Modified: 2021-07-23 22:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.