PrintPaperHandling en un DEVMODE de impresora de Windowsfunction SetPdfPrintPaperHandlingDevMode(var DevMode: TDeviceMode; PrintPaperHandling: TPrintPaperHandling): Boolean;
SetPdfPrintPaperHandlingDevMode convierte el enum de dúplex de la preferencia del visor de PDF en los campos del controlador de impresora de Windows usados por los trabajos de impresión GDI
phSimplex establece DEVMODE.dmDuplex en DMDUP_SIMPLEXphDuplexFlipShortEdge establece DEVMODE.dmDuplex en DMDUP_HORIZONTALphDuplexFlipLongEdge establece DEVMODE.dmDuplex en DMDUP_VERTICALFor mapped values the function also marks DM_DUPLEX in DEVMODE.dmFields and returns True. For phUndefined it returns False and leaves the supplied DEVMODE unchanged.
if SetPdfPrintPaperHandlingDevMode(DevMode, Pdf1.PrintPaperHandling) then
ApplyPrinterDevMode(DevMode);