<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - printing entries from the Viewer Preferences dictionary"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92779">92779</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>printing entries from the Viewer Preferences dictionary
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>freedesktop@pragmata.tk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Pages 364 and 365 from the PDF specification
(<a href="https://wwwimages2.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf#page=364">https://wwwimages2.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf#page=364</a>)
contain some entries in the viewer dictonary that set up printing
options from the PDF file itself.

The main entries and their values are:

/PrintScaling          /AppDefault or /None.

/Duplex                /Simplex (required when printer’s default is
double-sided
                       /DuplexFlipShortEdge (double-sided for landscape)
                       /DuplexFlipLongEdge (double-sided for portrait)

/PickTrayByPDFSize     boolean (evince implements it as "Select page size using
document page size)

/NumCopies             integer (the specification points the number allowed in
the printing dialog, but Adobe allows up to 5).

evince enables all these features in the printing dialog. But it cannot read
them from the PDF file.

Could you implement them in poppler?</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>