PrintDocument pdc = new PrintDocument();
            string printerName = pdc.PrinterSettings.PrinterName;
            IntPtr pPrinter = IntPtr.Zero;
            IntPtr nullPointer = IntPtr.Zero;
            if (printerName != null && printerName.Length > 0)
            {

                OpenPrinter(printerName, ref pPrinter, ref nullPointer);
            }

 

相关文章:

  • 2021-12-08
  • 2022-12-23
  • 2022-01-23
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
猜你喜欢
  • 2022-12-23
  • 2022-01-11
  • 2022-01-18
  • 2021-10-20
  • 2021-09-26
  • 2021-11-10
相关资源
相似解决方案