[Libreoffice-bugs] [Bug 81821] Available paper formats depend on system (CUPS) settings

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jan 18 08:52:11 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=81821

Michael Weghorn <m.weghorn at posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #12 from Michael Weghorn <m.weghorn at posteo.de> ---
Thanks for attaching the PPD, I can reproduce that "DL Env." is not directly
selectable in LO's print dialog after setting up a dummy printer like this:

sudo lpadmin -p tofile-samsung-m2875 -v file:/tmp/tofile-samsung-m2875 -P
Samsung-M267x-287x.ppd -E

The reason is that the PPD file defines conflicting options, and "DL Env."
conflicts with the default for "MediaType/Paper Type", which is "None", so the
two cannot be selected together.

This is the relevant line from the PPD that defines the conflict:

> *UIConstraints: *PageSize DL                    *MediaType None
> [...]
> *UIConstraints: *MediaType None        		*PageSize DL		

When deleting all "*UIConstraints:" lines from the PPD, "DL Env." can be
selected.      

This is essentially the same as described in tdf#106963 (s. in particular
tdf#106963 comment 106963), therefore I'm closing this here as a duplicate.

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: edb953cfb77c7ad6578a191b48c47c25d8d59d11
CPU threads: 12; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

*** This bug has been marked as a duplicate of bug 106963 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210118/976d72dc/attachment.htm>


More information about the Libreoffice-bugs mailing list