在所选打印机上打印文件 [英] print file at selected printer

查看:85
本文介绍了在所选打印机上打印文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有函数\代码发送文件打印,

有选择打印机的选项吗?

获取2个参数的函数 - 要打印的文件,打印机。

谢谢!

解决方案

要为用户提供选择打印机的选项,请参阅 - 如何选择使用C#的打印机 [ ^ ]。


< blockquote>请检查以下链接:

使用C#.NET设置默认打印机 [ ^ ]

设置WMI <的默认打印机/ a> [ ^ ] < br $>


祝你好运,

OI


Is there a function\code that sends a file printing,
With the option to select the printer?
Function that get 2 arguments- file to print,printer.
thanks!

解决方案

To give user the option to select the Printer, refer- How to choose a printer using C#[^].


Please check the following links:
Set default printer using C#.NET [^]
Set the default printer with WMI[^]

Good luck,
OI


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

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