TFORMer SDK - DLL/Library
7.0
|
Printing (or more general: producing output) is done with the help of a so-called Job. A Job prints a stand-alone or Repository based FormLayout with dynamic data provided by JobData.
A Job provides various methods for controlling the output behavior. Among other functions it is possible
The basic steps to generate output are as follows:
- Create a \ref page_concepts_job "Job" \n The Job class is the main class for printing a \ref page_concepts_formlayout "". - Create JobData \n \ref page_concepts_jobdata "" is used to pass data to a \ref page_concepts_job "Job". - Provide data for the \ref page_concepts_jobdata "" \n Provide data programmatically or connect the \ref page_concepts_jobdata "" with a file or a database. The \ref page_concepts_jobdata "" is responsible to provide values for the data fields required for the \ref page_concepts_formlayout "" to be printed. - Connect the \ref page_concepts_job "Job" with the \ref page_concepts_jobdata "" \n If no \ref page_concepts_jobdata "" is provided for \ref page_concepts_job "Job" the default data for the \ref page_concepts_formlayout "" is used. This default data is identical to the data-set which was used for printing or previewing the \ref page_concepts_formlayout "" in the last <em>TFORMer Designer</em> session. - Adjust the properties of the \ref page_concepts_job "Job" \n The most important properties are the output-type and the name of the target device (#TFormer_SetOutputName, #TFormer_SetPrinterType or #TFormer_SetPrinterName). The order in which the properties are set is irrelevant. - Print the \ref page_concepts_job "Job" \n To generate the \ref page_concepts_job "Job" based on the \ref page_concepts_formlayout "" and \ref page_concepts_jobdata "" in the required output format use one of the print-methods (#TFormer_Print, #TFormer_PrintToStream, #TFormer_PrintToStream) provided by a \ref page_concepts_job "Job".
© 2006-2012 - all rights reserved by TEC-IT Datenverarbeitung GmbH |
![]() |
Generated on Tue Oct 23 2012 16:33:19 for TFORMer SDK - DLL/Library with doxygen 1.8.0 |