IronPDF 故障排除 从网络打印机打印 从网络打印机打印 PDF. Curtis Chau 已更新:2025年8月20日 下载 IronPDF NuGet 下载 DLL 下载 Windows 安装程序 免费试用 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.PdfDocument.Print(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.PdfDocument.Print(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 对物联网 (IoT) 有浓厚的兴趣,探索将硬件和软件集成的新方法。在空闲时间,他喜欢玩游戏和构建 Discord 机器人,将他对技术的热爱与创造力相结合。 准备开始了吗? Nuget 下载 17,803,474 | 版本: 2026.3 刚刚发布 免费试用 免费 NuGet 下载 总下载量:17,803,474 查看许可证 还在滚动吗? 想快速获得证据? PM > Install-Package IronPdf 运行示例看着你的HTML代码变成PDF文件。 免费 NuGet 下载 总下载量:17,803,474 查看许可证