Script for printing a report in perspective

Hello all,

My question is the following : is it possible to print a report from a button ?

thanks in advance

If the printer is on the network, and reachable from the gateway, then an action script on the button could run system.report.executeAndDistribute() to print from the gateway. The other option is to execute the report and get the raw PDF bytes, then deliver them to the browser with system.perspective.download(). The user would have to print manually from the PDF support in their browser or local OS.

4 Likes

Thanks ! It works :slight_smile: