this.printDocument1.PrinterSettings.PrinterName = "Microsoft XPS Document Writer"; this.printDocument1.Print(); //直接打印开始打印 (调用的是默认打印机)(系统会自动默认一个打印机)