ERRCODE TFormer_SetOutputName ( HTFORM  pInstance,
LPCSTR  pszOutputName 
)

This method is used for adjusting the output filename or the name of the spool-job (on Microsoft Windows printers).

Returns:
- ErrOk (0) in case of success
- Non-zero if error occurred
Parameters:
[in] pInstance The TFORMer-Instance provided by a previous call to TFormer_Init.
[in] pszOutputName The output filename or the name of the spool-job (on Microsoft Windows printers).
Remarks:
Sets the filename or the name of the spool-job used for printing (as displayed in the spooler). Call before TFormer_Print is invoked - otherwise the default values will be used. To reset this value to default call TFormer_SetOutputName (pInstance, NULL).
Note:
Use this function in conjunction with TFormer_SetPrinterType to specify the type and the target of the generated output. Alternatively you can use TFormer_SetPrinterName - this function specifies output type and target device within one string.
Deprecated:
This functionality will be modified in future versions.
See also:
TFormer_Print.


© 2006-2009 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Sep 2 16:01:09 2009 for TFORMer Runtime DLL/Shared Library with doxygen 1.5.8