取得印表機名稱

Use the GetPrinterNames method to retrieve all available printers connected to the machine. The method will return a list of printer names in string data type.

此程式碼片段提供了一種簡單且有效的方式,用以列出所有連接至您電腦的印表機,對於在大型應用程式中進行除錯或管理印表機設定而言,相當實用。

探索進階印表機設定指南

準備開始了嗎?
Nuget 下載 41,154 | 版本: 2026.5 just released
Still Scrolling Icon

還在往下捲動嗎?

想要快速確認成果嗎? PM > Install-Package IronPrint
執行範例程式,親眼見證您的文件送印。