17.7 Maintaining Your Own Print Settings

With Windows, your application can maintain application-specific default print settings, or even settings specific to a particular document. So that your application can do this, store the DEVMODE structure that contains the settings you want to use as defaults. You can store the structure in an application setup file to provide application-wide defaults, or you can store it as part of a document, for document-specific setups.