[Libreoffice-bugs] [Bug 106963] Print Dialog: PPD conflicts may lead to valid printer options being unavailable
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Mar 2 01:13:55 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=106963
--- Comment #14 from Mau <mavoga at gmail.com> ---
(In reply to Michael Weghorn from comment #13)
> [...]
> * go to "Device" tab and select "Paper Type" -> "Envelope" (which is present)
>
> Maybe options set in some user-specific ~/.cups/lpoptions might play a role?
> You can also try (temporarily) deleting more "UIConstraints" lines from the
> PPD for testing to see which one was relevant.
>
> If the PPD value does not appear in your case, this might be the issue
> described here.
First of all thanks for your reply.
You're right Michael. I posted a version of the PPD with the stanza
*UIConstraints: *PageRegion [all but envelope/none page regions] *MediaType
Envelope
*UIConstraints: *MediaType Envelope *PageRegion [all but envelope/none page
regions]
commented out (lines 1361 to 1383 of my PPD). My bad.
That explains why you were able to select the MediaType Envelope: commenting
out this stanza makes things work.
The answer remains: if there is no *UIConstraints preventing the selection of
"DL Env." PageRegion along with the "Envelope" MediaType, why does enabling
this stanza (as in the original PPD) change things?
Oddly enough, the "4x6" PageRegion also has a stanza which allows only the
"Card" and "none" MediaTypes but in this case "CardStock" appears in the list
available for selection without the need to disable the stanza.
I'm also wondering whether it makes sense to have constraints for PageRegions
when the same constraints exist for the PageSizes.
Regarding ~/.cups/lpoptions, getting rid of it unfortunately didn't change
things when the above mentioned stanza is not commented out.
--
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/20210302/5645ff1f/attachment.htm>
More information about the Libreoffice-bugs
mailing list