[Okular-devel] [Bug 197821] printing does not work at all

Daniel Tiefnig dantie at gmx.at
Thu Jul 16 19:41:17 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=197821


Daniel Tiefnig <dantie at gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dantie at gmx.at




--- Comment #9 from Daniel Tiefnig <dantie gmx at>  2009-07-16 19:41:14 ---
Hi,

same here, running KDE 4.2.4 on debian/sid. The problem on my system is shown
by running strace on okular:

[...]
[pid 12283] execve("/usr/bin/lpr", ["lpr", "-P", "DCP7025", "-#1", "-J",
"106z_0Y.pdf", "-o", "media=A4", "-o", "portrait", "-o", "sides=one-sided",
"-o", "outputorder=normal", "-o", "Collate=False", "-r",
"/tmp/kde-dtiefnig/okularc12273.ps"], [/* 42 vars */] <unfinished ...>
[...]
[pid 12283] write(2, "usage: lpr [-cdfghlmnpqrstv] [-#num] [-1234 font] [-C
class] [-i [numcols]]\n\t[-J job] [-Pprinter] [-T title] [-U user] [-wnum]
[name ...]\n", 138usage: lpr [-cdfghlmnpqrstv] [-#num] [-1234 font] [-C class]
[-i [numcols]] [-J job] [-Pprinter] [-T title] [-U user] [-wnum] [name ...] ) =
138

The problem is the lpr binary from the lpr package, it does not support "-o".
lpr version is specified as 1:2008.05.17.
JFTR, Okular first tries to execute lpr-cups, but this does not exist on my
system.
No error is transported to the user, lpr failure doesn't seem to be recognized
by Okular.

Is this a KDE or a Okular problem? Google shows threads with claims for both.

br,
daniel

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list