This note describes how to use the standard Windows DEVMODE structure to set general and specific printer properties.