Per-User DEVMODE

A user can specify the default document settings for a printer. This is called the per-user DEVMODE because it only affects the defaults for a particular user, and the information for each printer is defined in a separate DEVMODE structure.

To set the per-user DEVMODE, call SetPrinter with either the PRINTER_INFO_2 or the PRINTER_INFO_9 structure. To reset the per-user DEVMODE to the global default DEVMODE, call SetPrinter with the PRINTER_INFO_8 structure.