Print Preview response type

Event handlers with a Print Preview response type are used to generate a preview of a report rather than a printout of a report. This response type submits a job to the Task Manager batch processing facility.

Note: Although it is possible to use this response type, we recommend an alternate method of creating a print preview in Mongoose-based applications. Our recommendation is that you use the Runtime Builder functionality to specify a Form Builder report form. In this case, you can automatically create a report form and a report criteria with a Preview button.

Print Preview takes two parameters:

  • TASKNAME(name), where name is the name of a task defined on the Background Tasks Definition form
  • TASKPARMS(parameters), where parameters are typically the current values of variable-bound components on the form

For more information, see the online help for the Task Manager service.