<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Print Dialog: PPD conflicts may lead to valid printer options being unavailable"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=106963#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Print Dialog: PPD conflicts may lead to valid printer options being unavailable"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=106963">bug 106963</a>
from <span class="vcard"><a class="email" href="mailto:m.weghorn@posteo.de" title="Michael Weghorn <m.weghorn@posteo.de>"> <span class="fn">Michael Weghorn</span></a>
</span></b>
<pre>(In reply to Mau from <a href="show_bug.cgi?id=106963#c14">comment #14</a>)
<span class="quote">> 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?</span >
This was the relevant line causing that behaviour:
*UIConstraints: *PageRegion Letter *MediaType Envelope
It's not clear to me at once why this is the case; would probably need further
analysis in the source code. I suggest to open a separate bug report to handle
this aspect further.
<span class="quote">> I'm also wondering whether it makes sense to have constraints for
> PageRegions when the same constraints exist for the PageSizes.</span >
While the two are usually the same, there is some difference between the two.
The PPD specification contains more details. (I don't remember any more...)
<span class="quote">> Regarding ~/.cups/lpoptions, getting rid of it unfortunately didn't change
> things when the above mentioned stanza is not commented out.</span >
OK, that's expected; was just an idea on where the difference between behaviour
for me and you came from, but that was the different PPD in use (lines
commented out or not).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>