Dear Maintainer,
I cannot print from okular. Whenever I start printing I get the following message in console:
usage: lpr [-cdfghlmnpqrstv] [-#num] [-1234 font] [-C class] [-i [numcols]]
[-J job] [-Pprinter] [-T title] [-U user] [-wnum] [name ...]
I have the same issue. When I start Okular from the shell, opened a PDF
and selected print. On the shell I got the following output:
okular(4712)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(4712)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(4712)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(4712)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(4712)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QString)
Object::connect: No such signal
org::freedesktop::UPower::DeviceRemoved(QString)
okular(4712) BackendLoader::init: "/usr/lib/x86_64-linux-gnu/kde4/plugins"
This backend is only for XRandR 1.1, your version is: 1 . 4
usage: lpr [-cdfghlmnpqrstv] [-#num] [-1234 font] [-C class] [-i [numcols]]
[-J job] [-Pprinter] [-T title] [-U user] [-wnum] [name ...]
It seems that Okular doesn't call lpr correctly.
¡Hola Moritz! El 2016-12-22 a las 18:20 +0100, Moritz Strohm escribió: This is a known issue, okular expects the cups' lpr command, later versions add a recommends cups-bsd. Given the other printing issues in okular I would suggest the use of qpdfviewer for printing. Happy hacking,
Trying to print selected pages from a document with Okular with customized print settings Steps to reproduce: Ctrl-P -> select Pages From, Pages, or Current Page radio button, input desired page(s) Properties -> Advanced -> Color Model -> select Greyscale OK -> Print Nothing happens. No print job shows up in print queue But if I do: Ctrl-P -> Options -> Current Page -> Print it will print System info: Okular 4:17.12.2-2.2 amd64 felicia@life:~$ uname -a Linux life 4.19.0-5-amd64 #1 SMP Debian 4.19.37-3 (2019-05-15) x86_64 GNU/Linux felicia@life:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster
Dear Maintainer, I'm observing the same behavior. In my specific case, I was trying to print a range of pages from a PDF. Instead, an `lpr` usage message appeared on the terminal: ``` usage: lpr [-cdfghlmnpqrstv] [-#num] [-1234 font] [-C class] [-i [numcols]] [-J job] [-Pprinter] [-T title] [-U user] [-wnum] [name ...] ``` `okular` itself reports no error or any other indication that the print operation failed. It's not listed in the dependencies below, but I also have installed: * cups v2.4.7-1.1+b1 * lpr 1:2008.05.17.3+nmu2 Schwab