I need to get the default printer name. I\'ll be using C# but I suspect this is more of a framework question and isn\'t language specific.
PrintDialog object.PrinterName blank. this will cause the windows object to return the defualt printer nameCode:
Try
Dim _printDialog As New System.Windows.Forms.PrintDialog
xPrinterName = _printDialog.PrinterSettings.PrinterName '= "set as Default printer"
Catch ex As Exception
System.Windows.Forms.MessageBox.Show("could not printed Label.", "Print Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
End Try