PrintReport Method

PrintReport Method

This method feeds a report with the passed data and sends the output to a printer.

Parameters

Parameter Type Description
Data Context Store Reference Data to be displayed by the report. Report’s DataStructure and the data structure of the passed data must be the same.
Report Report Reference Select the report to be printed.
Parameters Context Store Reference, Data Constant Reference, System Function Call In case the report requires parameters, this is the place to bind them.
PrinterName String (Context Store Reference, Data Constant Reference) Name of the printer where the report should be sent to. If omitted, the computer’s default printer is used.
Copies Integer (Context Store Reference, Data Constant Reference) Number of copies to print.