How to find duplex settings in an Excel document RRS feed

  • Question

  • When Excel opens the document, it loads the settings of the current printer by default. How to find these settings programmatically with C++? Specifically, i want to find duplex setting. 

    For example, to find page orientation, you can use _Workbookinterface:


    Duplex may be stored by the printer, but the printer has one devmode duplex setting, and in the Excel document for each sheet has it's own duplex setting. 

    So, how to get a list of duplexes of all sheets of excel document.

    Thursday, May 30, 2019 2:35 PM