How to set a diff. printer for a JasperReport?

Hello,
I have to create a function for changing the default printer by an other for printing a generated JasperReport.
For a print document, generated in Servoy, I’m using <forms.print_form_xy.controller.setPreferredPrinter(“Printer XY”)>. But how could I get that working for a JasperReport?

Regards, Thomas

This topic has changed to