开发者

How can I print from a particular printer in WPF?

I have two printers installed, but I want my application to print from the billing printer not from the Deskjet.开发者_运维问答 How can I programmatically achieve that? Setting a default printer is not a good option for me.


PrinterSettings.InstalledPrinters Property would probably a good place to start.

You should then be able to iterate through to find a printer with a PrinterName property that matches the printer you want to print to.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜