如何从操作系统中获取所有打印机驱动程序和传真驱动程序的列表?
Well I am not sure if it is the answer that you are looking for but you can get the name of all installed printers on the local machine with the following code:
foreach (String printer in System.Drawing.Printing.PrinterSettings.InstalledPrinters)
{
//Do your stuff
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.