开发者

PDF printer without user intervention

I'm looking for a PDF printer that doesn't ask the user to choose a filename and directory, but simply saves it开发者_JS百科 to a predefined folder with a unique filename.

Thx.


The PDFsharp .Net libraries allow you to create PDF documents without user intervention, and the System.IO.Path.GetTempFilename() function can give you a unique filename to write out to (though I think it appends a .tmp extension which you may want to change)


A PDF printer is normally just a print driver. It's up to individual applications what dialogs they will display. You could always write your own program that doesn't prompt users.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜