[okular] [Bug 389953] okular ignores paper size when printing

Michael Weghorn bugzilla_noreply at kde.org
Sat Feb 10 12:32:44 UTC 2018


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

--- Comment #23 from Michael Weghorn <m.weghorn at posteo.de> ---
I can reproduce the issue much more easily by just running the following
command on host B:

    $ lp -d tofile-hp -o "fit-to-page orientation-requested=0" d02917-001

The problem you encounter seems to be related to those two options being set
together.

I'm wondering where the "orientation-requested=0" option comes from.
The CUPS documentation [1]  just lists the values 3,4,5 and 6 for the
"orientation-requested" option.

At first glance, it does not seem like either Okular or Qt would be setting
anything for the "orientation-requested" option. ("git grep
orientation-requested" in the Okular and Qt git repositories did not show any
result.) For me, the option is not set at all either when when I print using
Okular on Fedora 26.

Is there any file $HOME/.cups/lpoptions or /etc/cups/lpoptions present on host
A?
Or do you have any other ideas where this option might come frome?


[1] https://www.cups.org/doc/options.html

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


More information about the Okular-devel mailing list