[okular] [Bug 398442] okular doesn't respect page reverse setting of PPD or lpadmin

Michael Weghorn bugzilla_noreply at kde.org
Sat Sep 22 07:46:32 BST 2018


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

--- Comment #6 from Michael Weghorn <m.weghorn at posteo.de> ---
At a quick glance, the setting is overriden in 'fileprinter.cpp':

> QStringList FilePrinter::optionPageOrder( QPrinter &printer )
> {
>    if ( printer.pageOrder() == QPrinter::LastPageFirst ) {
>        return QStringList(QStringLiteral("-o")) << QStringLiteral("outputorder=reverse");
>     }
>     return QStringList(QStringLiteral("-o")) << > QStringLiteral("outputorder=normal");
> }

Without further examining, this is probably the value set in the checkbox.
Maybe one way to address this would be to have the Qt print dialog evaluate
whether the option you mention is set for the selected printer and set the
checkbox state accordingly (though that will need further investigation).

Can you confirm it's also working as you'd expect when you use the "Force
rasterization" option in the print dialog? (which probably doesn't really help
you since you'd like not to have to check any option every time your print, if
I understand correctly...)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list