Need to print report by clicking on button in Perspective

I need a script/function to print the report (report viewer) in perspective like ctrl+p does the work …any solution for this?

is there any way to open a new tab to display only report and let ctrl+p key gets pressed automatically or triggered by clicking on the button also fine

No. Browsers do not permit this. They require user input to print (among many other security restrictions).

If you need to print a report without user interaction, set up a network printer and use system.report.executeAndDistribute() to send to that printer from the gateway.

1 Like

Thanks a lot :+1: :+1: :slight_smile: :slight_smile: