printing entries from the Viewer Preferences dictionary
@ousia
Submitted by Pablo Rodríguez Assigned to poppler-bugs
Description
Pages 364 and 365 from the PDF specification (https://wwwimages2.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf#page=364) 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?