Gets or sets the name of the printer. The printer name is usually in the form \\server\name.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property Printer As String |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As ReportPrinter
Dim value As String
instance.Printer = value
value = instance.Printer |
| C# | |
|---|
public string Printer {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property string* get_Printer();
public: __property void set_Printer(
string* value
); |
Requirements
Platforms: Windows 10, Windows NT, Windows Server
See Also