C# 调用指定打印机 (并不是默认)

           this.printDocument1.PrinterSettings.PrinterName = "Microsoft XPS Document Writer";

            this.printDocument1.Print(); //直接打印开始打印 (调用的是默认打印机)(系统会自动默认一个打印机)

猜你喜欢

转载自www.cnblogs.com/enych/p/10171439.html