네트워크 프린터에서 PDF 인쇄하기
IronPDF 사용하여 네트워크 프린터에서 인쇄하려면 어떻게 해야 하나요?
IronPDF C#에서 사용할 수 있는 모든 인쇄 옵션을 지원합니다.
기본 프린터로 보내기:
기본 프린터에 PDF를 보내려면 Print 메서드를 사용하세요.
// 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를 사용하는 경우 다음 제안 사항을 시도해 보세요.
다음 방법도 시도해 볼 수 있습니다:
프린트 미리보기 창을 표시하고, 가능할 경우 AirPrint를 선택할 수 있게 해주는 PdfDocument.GetPrintDocument() 또는 PdfDocument.Print 오버로드를 사용하세요.

