如何在发送xps打印的对话框中设置默认名称

时间:2017-12-13 08:49:44

标签: c# xps

我必须在触摸屏上处理应用程序,所以我没有物理键盘。 问题是当我使用命令

启动打印时
printDocument.Print();  

(printDocument是System.Drawing.Printing.PrintDocument)

设备和打印机中的

我默认使用Microsoft XPS Document Writer,因此对话框打开

enter image description here

如何在文件名中插入默认文件名,例如20171213Print.xps?

非常感谢

0 个答案:

没有答案
相关问题