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
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
