SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns the name of the default printer.
Get
VB.NET | Name = object.DefaultPrinter As String |
VB | Name = object.DefaultPrinter As String |
C#.NET | string Name = object.DefaultPrinter; |
VC++ | _bstr_t Name = object->DefaultPrinter; _bstr_t Name = object->GetDefaultPrinter(); |
C | HRESULT object->get_DefaultPrinter(BSTR* Name); |
object
Name
Returns the name of the default printer.
The DefaultPrinter property returns the name of the default printer. The default printer is the printer the user has defined as the default printer using Control Panel. It is not necessarily the current printer.
The SetDefaultPrinter method makes the Windows default printer the current printer.
The current printer can be retrieved and defined using the Printer.Name property.
See Also SftPrintPreview Object | Object Hierarchy