C# 獲取所有安裝了的印表機代碼如下: ...
C# 獲取所有安裝了的印表機代碼如下:
using System.Drawing.Printing; var printers = PrinterSettings.InstalledPrinters; foreach (var item in printers) { Console.WriteLine(item.ToString()); }
C# 獲取所有安裝了的印表機代碼如下: ...
C# 獲取所有安裝了的印表機代碼如下:
using System.Drawing.Printing; var printers = PrinterSettings.InstalledPrinters; foreach (var item in printers) { Console.WriteLine(item.ToString()); }