取得印表機名稱

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 下載 36,035 | 版本: 2025.12 剛剛發布