PRINTER_INFO_8 structure

The PRINTER_INFO_8 structure specifies the global default printer settings.

Syntax

typedef struct _PRINTER_INFO_8 {
  LPDEVMODE pDevMode;
} PRINTER_INFO_8, *PPRINTER_INFO_8;

Members

pDevMode

A pointer to a DEVMODE structure that defines the global default printer data such as the paper orientation and the resolution.

Remarks

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

Requirements

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_8W (Unicode) and _PRINTER_INFO_8A (ANSI)

See also

Printing

Print Spooler API Structures

GetPrinter

SetPrinter

PRINTER_INFO_9