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)
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)