TFormer_GetOSDefaultPrinter

System · String encodings

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 / typeDescription
pInstanceHTFORM


The TFORMer instance provided by a previous call to TFormer_Init

Search documentation

Search in
More scopes
Additional scopes

All contents