SetPrinter function winspool
The SetPrinter function sets the data for a specified printer or sets the state of the specified printer by pausing printing, resuming printing, or clearing all print jobs.
BOOL SetPrinterW(
_In_ HANDLE hPrinter,
_In_ DWORD Level,
_In_ LPBYTE pPrinter,
_In_ DWORD Command
);
Implementation
int SetPrinter(int hPrinter, int Level, Pointer<Uint8> pPrinter, int Command) =>
_SetPrinter(hPrinter, Level, pPrinter, Command);