PRINTER_OPTIONS structure

Represents printer options.

Syntax

typedef struct _PRINTER_OPTIONS {
  UINT  cbSize;
  DWORD dwFlags;
} PRINTER_OPTIONS, *PPRINTER_OPTIONS;

Members

cbSize

The size of the PRINTER_OPTIONS structure.

dwFlags

A set of PRINTER_OPTION_FLAGS that specifies how the handle to a printer returned by OpenPrinter2 will be used by other functions.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Winspool.h (include Windows.h)

See also

Printing

Print Spooler API Structures

OpenPrinter2

PRINTER_OPTION_FLAGS