XPS示例驱动程序输出唯一的临时xps文件名 [英] XPS sample driver to output unique temporary xps file name

查看:80
本文介绍了XPS示例驱动程序输出唯一的临时xps文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个XPS Document Writer打印机驱动程序,可以将输出xps文件名设置为唯一的临时文件名。如果在驱动程序中可以实现这一点,我应该自定义示例驱动程序的哪个部分。如果没有,我应该改变什么?

Hi, I want to create an XPS Document Writer printer driver that can set the output xps file name to a unique temporary file name. If this is possible within the driver, what part of the sample driver should I customize. If not, what should I be looking to change?

推荐答案

没有更优雅的解决方案然后这个强力方法:写一个程序来监控是否存在由端口定义的xps文件,例如c:\ temp \ temp.xps,并在创建另一个文件之前快速重命名?
Is there no more elegant solution then this brute force method: write a program to monitor for the presence of the xps file defined by the port, e.g. c:\temp\temp.xps, and quickly rename it before another file is created?


这篇关于XPS示例驱动程序输出唯一的临时xps文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆