SetDefaultPrinter function winspool
The SetDefaultPrinter function sets the printer name of the default printer for the current user on the local computer.
BOOL SetDefaultPrinterW(
_In_ LPCTSTR pszPrinter
);
Implementation
int SetDefaultPrinter(Pointer<Utf16> pszPrinter) =>
_SetDefaultPrinter(pszPrinter);