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

--- Comment #15 from Michael Weghorn <[email protected]> ---
(In reply to Mau from comment #14)
> 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?

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.


> I'm also wondering whether it makes sense to have constraints for
> PageRegions when the same constraints exist for the PageSizes.

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...)

> Regarding ~/.cups/lpoptions, getting rid of it unfortunately didn't change
> things when the above mentioned stanza is not commented out.

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to