<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><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> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - Available paper formats depend on system (CUPS) settings"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=81821">bug 81821</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>DUPLICATE
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - Available paper formats depend on system (CUPS) settings"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=81821#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - Available paper formats depend on system (CUPS) settings"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=81821">bug 81821</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>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:

<span class="quote">> *UIConstraints: *PageSize DL                    *MediaType None
> [...]
> *UIConstraints: *MediaType None                    *PageSize DL            </span >

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

This is essentially the same as described in <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Print Dialog: PPD conflicts may lead to valid printer options being unavailable"
   href="show_bug.cgi?id=106963">tdf#106963</a> (s. in particular
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Print Dialog: PPD conflicts may lead to valid printer options being unavailable"
   href="show_bug.cgi?id=106963#c106963">tdf#106963 comment 106963</a>), 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 <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Print Dialog: PPD conflicts may lead to valid printer options being unavailable"
   href="show_bug.cgi?id=106963">bug 106963</a> ***</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>