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.
精彩评论