Report printing

Quick question:

I have the following simple code under a button to print a report:

report = event.source.parent.getComponent ('Report Viewer') report.print()

Is it possible to pass parameters into the print function (like specific pages to print and number of copies), or can those things only be specified with the system’s print dialog box?

You might find some help in this thread about some available methods (warning: if the method is not in the official docs, then it is unsupported and may disappear in future releases).

Also, try system.print.createPrintJob