Ağ Yazıcılarından PDF Yazdırma
IronPrint, Iron Software'ın yeni .NET yazdırma kütüphanesidir ve Windows, macOS, Android ve iOS dahil olmak üzere geniş bir platform yelpazesinde uyumluluk sunar. IronPrint ile şimdi başlayın!
IronPDF'yi bir ağ yazıcısından yazdırmak için nasıl kullanırım?
IronPDF, C# için mevcut olan her yazdırma seçeneğini destekler.
Varsayılan bir yazıcıya gönder:
PDF'i varsayılan yazıcıya göndermek için Print metodunu kullanın.
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();Imports IronPdf
Dim pdf = PdfDocument.FromFile("example.pdf")
' Sends the document to the default printer
pdf.Print()Imports IronPdf
Dim pdf = PdfDocument.FromFile("example.pdf")
' Sends the document to the default printer
pdf.Print()Adıyla belirtilmiş bir yazıcıya gönder:
Yazıcıyı adıyla belirtmek için aşırı yüklenmiş Print metodunu kullanın.
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);// 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);Imports IronPdf
Dim pdf = PdfDocument.FromFile("example.pdf")
Dim printerName As String = "MyNetworkPrinter"
' Sends the document to the specified printer
pdf.Print(printerName)Imports IronPdf
Dim pdf = PdfDocument.FromFile("example.pdf")
Dim printerName As String = "MyNetworkPrinter"
' Sends the document to the specified printer
pdf.Print(printerName)Yazıcıları keşfedin:
Belgeyi belirli bir yazıcıya göndermek için yazıcının 'keşfedilmiş' olduğundan emin olun.
AirPrint için:
AirPrint kullanıyorsanız aşağıdaki önerileri deneyin:
Şunları da deneyebilirsiniz:
Yazıcı önizleme penceresini gösteren ve mevcutsa AirPrint'in seçilmesine izin veren PdfDocument.GetPrintDocument() veya PdfDocument.Print aşırı yüklemeleri.
Curtis Chau, Bilgisayar Bilimleri alanında Lisans Derecesine (Carleton Üniversitesi) sahip ve Node.js, TypeScript, JavaScript ve React konularında uzmanlaşmış ön uç geliştirmeyle ilgileniyor. Sezgisel ve estetik açıdan hoş kullanıcı arayüzleri oluşturma tutkunu, Curtis modern çerçevelerle çalışmayı ve iyi yapılandırılmış, görsel olarak çekici kılavuzlar oluşturmayı seviyor.