Visual Basic (Declaration) | |
---|---|
Public Property PrinterName As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string PrinterName {get; set;} |
Return Value
The name of the printer to use.C# | Copy Code |
---|---|
private void arv_Load(object
sender, System.EventArgs e) |
Visual Basic | Copy Code |
---|---|
Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load |
Set this property to an empty string to use the virtual printer device. The virtual printer device allows you to avoid "Printer not Installed" errors when a machine does not have any installed printers or the user does not have access to the ones installed.
The Printer's PrinterName property must always be used instead of the Printer.PrinterSettings.PrinterName property.