OpenPrinter
[DllImport("winspool.drv", SetLastError = true)]
public static extern bool OpenPrinter(
string pPrinterName,
out IntPtr phPrinter,
IntPtr pDefault
);
Microsoft documentation: Link
Last updated
[DllImport("winspool.drv", SetLastError = true)]
public static extern bool OpenPrinter(
string pPrinterName,
out IntPtr phPrinter,
IntPtr pDefault
);
Microsoft documentation: Link
Last updated