IRONSOFTWAREHOME
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);
Imports IronPrint

' Route the print job to a specific printer
Dim settings As 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 46,090Version:2026.9just released

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Book your free Live Demo
Booking Badge

Trusted by Millions of Engineers Worldwide

Iron Software's customer logos
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required