Printing from the Gateway

I'm trying to develop a perspective project to print a report to a printer that the gateway is connected to.

When I'm setting up the schedule action in the reports module, I don't see the printers available to the gateway. Only default, microsoft XPS and microsoft print to PDF.

Is there something in the documentation on how this works or how to set it up?

Second question, is there a way to tell the gateway to print with a function?

Thanks!

You can do a scripted action on the report schedule and then utilize system.report.executeAndDistribute where you pass the actual printer name in the call.

system.report.executeAndDistribute(path="Label_Template_1", project="ProjectName", parameters=overrides, action= "print", actionSettings = {"primaryPrinterName":PrinterNameFromGateway, "copies":1})

can you print on demand instead of using a schedule?

You can call the executeAndDistribute from anywhere.
A button, a tag change, wherever.

1 Like

thank you!