PRINTER_INFO_9 structure

The PRINTER_INFO_9 structure specifies the per-user default printer settings.

Syntax

typedef struct _PRINTER_INFO_9 {
  LPDEVMODE pDevMode;
} PRINTER_INFO_9, *PPRINTER_INFO_9;

Members

pDevMode

A pointer to a DEVMODE structure that defines the per-user default printer data such as the paper orientation and the resolution. The DEVMODE is stored in the user's registry.

Remarks

The per-user defaults will affect only a particular user or anyone who uses the profile. In contrast, the global defaults are set by the administrator of a printer that can be used by anyone. For global defaults, use PRINTER_INFO_8.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winspool.h (include Windows.h)
Unicode and ANSI names
_PRINTER_INFO_9W (Unicode) and _PRINTER_INFO_9A (ANSI)

See also

Printing

Print Spooler API Structures

GetPrinter

SetPrinter

PRINTER_INFO_8