LlGetDefaultPrinter Method
The system's default printer can be queried hereby.
public static DEVMODE LlGetDefaultPrinter(
ref string
)
public:
static DEVMODE^ LlGetDefaultPrinter(
String^%
)
'Declaration
Public Shared Function LlGetDefaultPrinter( _
ByRef As String _
) As DEVMODE
Parameters
- printerName
- String for the printer name.
Return Value
DEVMODE structure of the default printer.
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9