IronPDF 故障排除 從網络打印机打印 從網路印表機列印 PDF 文件 Curtis Chau 更新:2025年8月20日 下載 IronPDF NuGet 下載 DLL 下載 Windows Installer 開始免費試用 LLM副本 LLM副本 將頁面複製為 Markdown 格式,用於 LLMs 在 ChatGPT 中打開 請向 ChatGPT 諮詢此頁面 在雙子座打開 請向 Gemini 詢問此頁面 在 Grok 中打開 向 Grok 詢問此頁面 打開困惑 向 Perplexity 詢問有關此頁面的信息 分享 在 Facebook 上分享 分享到 X(Twitter) 在 LinkedIn 上分享 複製連結 電子郵件文章 This article was translated from English: Does it need improvement? Translated View the article in English IronPrint是 Iron Software 全新推出的.NET列印庫,相容於包括 Windows、macOS、Android 和 iOS 在內的多種平台。立即開始使用IronPrint ! 如何使用IronPDF從網路印表機列印? IronPDF支援 C# 中可用的所有列印選項。 傳送到預設印表機: 使用 Print 方法將 PDF 傳送到預設印表機。 IronPDF(System.Boolean) // C# example of sending a PDF document to the default printer using IronPdf; var pdf = PdfDocument.FromFile("example.pdf"); // Sends the document to the default printer pdf.Print(showPreview: false); // set `showPreview` to true to see a preview before printing // C# example of sending a PDF document to the default printer using IronPdf; var pdf = PdfDocument.FromFile("example.pdf"); // Sends the document to the default printer pdf.Print(showPreview: false); // set `showPreview` to true to see a preview before printing $vbLabelText $csharpLabel 傳送到指定的印表機: 使用重載的 Print 方法依名稱指定印表機。 IronPDF(System.String, System.Boolean) // C# example of sending a PDF document to a specific printer by name using IronPdf; var pdf = PdfDocument.FromFile("example.pdf"); string printerName = "MyNetworkPrinter"; // Sends the document to the specified printer pdf.Print(printerName, showPreview: false); // C# example of sending a PDF document to a specific printer by name using IronPdf; var pdf = PdfDocument.FromFile("example.pdf"); string printerName = "MyNetworkPrinter"; // Sends the document to the specified printer pdf.Print(printerName, showPreview: false); $vbLabelText $csharpLabel 發現印表機: 若要將文件傳送至特定印表機,請確保已"發現"該印表機。 取得已安裝印表機的列表 如何取得電腦中所有印表機的列表 對於 AirPrint: 如果您使用 AirPrint,請嘗試以下建議: AirPrint:直接將 PDF 檔案列印到印表機 如何偽造一台 AirPrint 印表機 您也可以嘗試: PdfDocument.GetPrintDocument() 或 PdfDocument.Print 重載,顯示列印預覽窗口,如果可用,則允許選擇 AirPrint。 Curtis Chau 立即與工程團隊聊天 技術作家 Curtis Chau 擁有卡爾頓大學計算機科學學士學位,專注於前端開發,擅長於 Node.js、TypeScript、JavaScript 和 React。Curtis 熱衷於創建直觀且美觀的用戶界面,喜歡使用現代框架並打造結構良好、視覺吸引人的手冊。除了開發之外,Curtis 對物聯網 (IoT) 有著濃厚的興趣,探索將硬體和軟體結合的創新方式。在閒暇時間,他喜愛遊戲並構建 Discord 機器人,結合科技與創意的樂趣。 準備好開始了嗎? Nuget 下載 17,803,474 | 版本: 2026.3 剛剛發布 開始免費試用 免費 NuGet 下載 總下載量:17,803,474 查看許可證 還在滾動嗎? 想快速取得證據? PM > Install-Package IronPdf 運行範例看著你的HTML程式碼變成PDF檔。 免費 NuGet 下載 總下載量:17,803,474 查看許可證