TFormer_GetOSDefaultPrinter
Definition
Windows: ANSI; Unix: UTF-8
LPCSTR TFormer_GetOSDefaultPrinter(HTFORM pInstance);
Windows only: UTF-16
LPCWSTR TFormer_GetOSDefaultPrinterW(HTFORM pInstance);
Contract
Returns the name of the default (operating system) printer of the current user.
If the internal structures are not initialized, this function will call TFormer_RefreshOSPrinters automatically.
Returns
The name of the default (operating system) printer for the current user
Parameters
| Parameter / type | Description |
|---|---|
pInstanceHTFORM |
|