SetWinDefaultPrinter

此方法会在 WinDefaultPrinter 方式下设置连接,即建立连接以使用 Windows® 缺省打印机。如果未在机器中配置 Windows 缺省打印机,则此方法将失败并出现异常。