TFORMer SDK - DLL/Library  7.5
Functions
System

Special purpose functions for operating system depending information. More...

Functions

TECIT_DLLSPEC LONG TFormer_RefreshOSPrinters (HTFORM pInstance)
 Refreshes the internal list of (operating system) printers available for the current user. More...
 
TECIT_DLLSPEC LONG TFormer_GetOSPrintersCount (HTFORM pInstance)
 Returns the number of (operating system) printers available for the current user. More...
 
TECIT_DLLSPEC LPCSTR TFormer_GetOSPrinter (HTFORM pInstance, LONG nIndex)
 Returns the name of the (operating system) printer with the specified index. More...
 
TECIT_DLLSPEC LPCSTR TFormer_GetOSDefaultPrinter (HTFORM pInstance)
 Returns the name of the default (operating system) printer of the current user. More...
 

Detailed Description

Special purpose functions for operating system depending information.

Function Documentation

TECIT_DLLSPEC LPCSTR TFormer_GetOSDefaultPrinter ( HTFORM  pInstance)

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
pInstanceThe TFORMer instance provided by a previous call to TFormer_Init
See also
TFormer_RefreshOSPrinters, TFormer_GetOSPrintersCount, TFormer_GetOSPrinter
TECIT_DLLSPEC LPCSTR TFormer_GetOSPrinter ( HTFORM  pInstance,
LONG  nIndex 
)

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
pInstanceThe TFORMer instance provided by a previous call to TFormer_Init
nIndexThe index of the printer [0..TFormer_GetOSPrintersCount - 1]
See also
TFormer_RefreshOSPrinters, TFormer_GetOSPrintersCount, TFormer_GetOSDefaultPrinter
TECIT_DLLSPEC LONG TFormer_GetOSPrintersCount ( HTFORM  pInstance)

Returns the number of (operating system) printers available for the current user.

If the internal structures are not initialized, this function will call TFormer_RefreshOSPrinters automatically.

Returns
Number of (operating system) printers [0..n]
Parameters
pInstanceThe TFORMer instance provided by a previous call to TFormer_Init
See also
TFormer_RefreshOSPrinters, TFormer_GetOSPrinter, TFormer_GetOSDefaultPrinter
TECIT_DLLSPEC LONG TFormer_RefreshOSPrinters ( HTFORM  pInstance)

Refreshes the internal list of (operating system) printers available for the current user.

Fills the internal structures for providing information about installed operating system printers.

Returns
ErrOk (0) in case of success, non-zero if an error occurred
Parameters
pInstanceThe TFORMer instance provided by a previous call to TFormer_Init
See also
TFormer_GetOSPrintersCount, TFormer_GetOSPrinter, TFormer_GetOSDefaultPrinter

© 2006-2017 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Fri Nov 3 2017 07:58:59 for TFORMer SDK - DLL/Library with doxygen 1.8.9.1