打印到pdf时设置文件名 [英] set file name when printing to pdf

查看:264
本文介绍了打印到pdf时设置文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想打印一个页面到打印机,如果选择打印机打印到pdf文件我需要设置文件名。

I want to print a page to printer and if selected printer print to pdf file I need to set file name.

推荐答案

我认为这来自 printdocument.documentname [< a href =https://msdn.microsoft.com/en-us/library/vstudio/system.drawing.printing.printdocument.documentname(v=vs.100).aspx\"target =_ blanktitle =New窗口> ^ ]?



实际上 - PrintDocument.PrinterSettings.PrintFilename [ ^ ]
I think this comes from printdocument.documentname[^] ?

Actually - PrintDocument.PrinterSettings.PrintFilename[^]


这篇关于打印到pdf时设置文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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