[Okular-devel] [Bug 181290] Landscape pdf prints with wrong orientation when choosing landscape in print dialog
Francesco Riosa
francesco at pnpitalia.it
Tue May 5 02:22:00 CEST 2009
https://bugs.kde.org/show_bug.cgi?id=181290
--- Comment #5 from Francesco Riosa <francesco pnpitalia it> 2009-05-05 02:21:57 ---
1st how /me poor man fixed this:
sed -e 's:landscape:portrait:g' -i okular/core/fileprinter.cpp || die "failed
sed"
In My Frustrated Opinion:
this seem to be a recurring bug, there are possibly two ways to workaround it
defintly:
a) try to be the smart gui: rotate every page to portrait before sending
it to the printer (hint the smart gui often is bashed by added complexity)
b) give the user the freedom to chose the orientation he desire, _and_ make it
a persistant default, it's already possible to set "portrait" as print mode
and okular will obey it but it neeed to be set _every_ time the user open
such a document.
references:
http://www.google.it/search?q=okular+kpdf+print+landscape
~/tmp/kdegraphics-4.2.71/okular/TODO:
-> FIX: sheet rotation in landscape case
-> rotate the whole document / individual pages (on screen/print?)
(BR99352)
kde bug #155696
using lp (cups 1.3.10) it print correctly with the command:
lp -d"hp5" -o fitplot -o media=a4 file.pdf
work fine _but_not_ when adding `-o landscape`
filter used as seen in cups logs:
"foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE
-sDEVICE =ijs -sIjsServer=hpijs -sDev..."
--
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