TFormer_GetOSPrinter

System · String encodings

Definition

Windows: ANSI; Unix: UTF-8

LPCSTR TFormer_GetOSPrinter(HTFORM pInstance, LONG nIndex);

Windows only: UTF-16

LPCWSTR TFormer_GetOSPrinterW(HTFORM pInstance, LONG nIndex);

Contract

Returns the name of the (operating system) printer with the specified index.

The index must be in the range [0...TFormer_GetOSPrintersCount]. If the internal structures are not initialized, this function will call TFormer_RefreshOSPrinters automatically.

Returns

The name of the (operating system) printer

Parameters

Parameter / typeDescription
pInstanceHTFORM


The TFORMer instance provided by a previous call to TFormer_Init

nIndexLONG


The index of the printer [0..TFormer_GetOSPrintersCount - 1]

Search documentation

Search in
More scopes
Additional scopes

All contents