Specify Printer Name
using IronPrint;

// Route the print job to a specific printer
var settings = new PrintSettings();
settings.PrinterName = "Microsoft Print to PDF";

Printer.Print("invoice.pdf", settings);
NuGet Download
PM > Install-Package IronPrint
Specify Printer Name

Specify Printer Name

Set the PrinterName property on PrintSettings to direct a print job to a specific printer instead of the system default. The value must match one of the names returned by Printer.GetPrinterNames(), such as a network printer's share name or a virtual printer like "Microsoft Print to PDF".

This is particularly valuable in environments with multiple printers - for instance, routing invoices to a dedicated billing printer while sending shipping labels to a label printer. Note that if you also use ShowPrintDialog, the printer selected in the dialog will override this setting.

Follow the Step-by-Step Guide to Specifying a Printer Name

Ready to Get Started?

Nuget Downloads 49,171Version:2026.11just released