從網路印表機列印

This article was translated from English: Does it need improvement?
Translated
View the article in English

如何使用 IronPDF 從網路印表機列印?

IronPDF 支援 C# 可用的所有列印選項。

發送到默認印表機:

發送到指定的打印機: https://ironpdf.com/object-reference/api/IronPdf.PdfDocument.html#IronPdf_PdfDocument_Print_System_String_System_Boolean_

在這種情況下,打印機首先需要被“發現”:

對於AirPrint,請嘗試以下建議:

嘗試不同的驅動程序。

你也可以試試:

PdfDocument.GetPrintDocument() 或 PdfDocument.Print 方法過載,它會顯示列印預覽視窗,如果可用,將允許選擇 AirPrint。