네트워크 프린터에서 PDF 인쇄하기
IronPDF 사용하여 네트워크 프린터에서 인쇄하려면 어떻게 해야 하나요?
IronPDF C#에서 사용할 수 있는 모든 인쇄 옵션을 지원합니다.
기본 프린터로 보내기:
Print 메서드를 사용하여 PDF를 기본 프린터로 전송합니다.
// 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
' C# example of sending a PDF document to the default printer
Imports IronPdf
Private 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
지정된 프린터로 보내기:
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);
' C# example of sending a PDF document to a specific printer by name
Imports IronPdf
Private pdf = PdfDocument.FromFile("example.pdf")
Private printerName As String = "MyNetworkPrinter"
' Sends the document to the specified printer
pdf.Print(printerName, showPreview:= False)
프린터를 살펴보세요:
문서를 특정 프린터로 보내려면 프린터가 '검색'되어 있는지 확인하십시오.
AirPrint의 경우:
AirPrint를 사용하는 경우 다음 제안 사항을 시도해 보세요.
다음 방법도 시도해 볼 수 있습니다:
PdfDocument.GetPrintDocument() 또는 PdfDocument.Print 오버로드는 인쇄 미리 보기 창을 표시하며, 사용 가능한 경우 AirPrint를 선택할 수 있게 해줍니다.

