Last updated 1 year ago
[DllImport("winspool.drv", SetLastError = true)] public static extern int DocumentProperties( IntPtr hwnd, IntPtr hPrinter, string pDeviceName,
Microsoft documentation: Link