PrintOut() Method Support in EPM Workspace

The PrintOut() method is an Interactive Reporting document and section level function, that is available regardless of the state of the application. As long as the application is running, PrintOut() method is available through scripting, and in Interactive Reporting Studio or Interactive Reporting Web Client, prints the Interactive Reporting document file according to the arguments provided, or opens a standard Print dialog box.

If EPM Workspace users encounter PrintOut() method in scripts, the data received in the browser includes a PDF file.

Note:

Script run in full before the PDF data is returned to the browser. This may cause some unexpected behavior with Interactive Reporting document files, such as those that display an alert that printing is complete, when in fact it has not yet started. Script authors should be aware of these factors when designing applications.

Caution!

In Adobe Acrobat Reader, the default print settings are set to first page only. Reset the print range options to print the full document.

PrintOut() method is prevented from executing in Interactive Reporting documents displayed in EPM Workspace if an Alert method is used after PrintOut() method. In EPM Workspace optional parameters of the method; for example, pages to print and number of copies are ignored, use the Adobe Acrobat Reader Print dialog box to specify those options.

PrintOut() method is not supported:

PrintOut() method has no effect on jobs; therefore, no printout occurs.

PrintOut() method takes five optional arguments:

Note:

The placeholder empty string; for example, (“”,””,””,””, “”) must be used to pass no value. If insufficient arguments are passed to the method, the PrintOut dialog box opens in a set location that cannot be programmatically changed.