what is "DevModeStructureSizePS" and "PageSetupFlags" on SetupString (PrinterSetup)?

Does anyone know what “DevModeStructureSizePS” and “PageSetupFlags” on SetupString (PrinterSetup) is?

Example string of SetupString

DoNotAlterThis=SetupString.2 ActualHorizontalResolution=72 ActualVerticalResolution=72 MaxHorizontalResolution=72 MaxVerticalResolution=72 MarginLeft=0 MarginRight=0 MarginTop=0 MarginBottom=0 MinMarginLeft=0 MinMarginRight=0 MinMarginTop=0 MinMarginBottom=0 PageSetupFlags=10 '--> what is this DevModeStructureSizePS=976 '--> what is this DevModeStructurePS=HP LaserJet Professional P1606

Well, Windows stores print setup in a DEVMODE structure and there is the byte size.

see our WindowsDeviceModeMBS class in MBS Plugin.

There we also have methods to convert from and to SetupString.

ok, thanks