TFormer_GetOSPrinter
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 / type | Description |
|---|---|
pInstanceHTFORM |
|
nIndexLONG |
|