I am automatically printing an SSRS report after users perform an action and it works great. However, I would like it to print 2 sided. Is this possible? I can't find anything online or in the documentation of the SRSPrintDestinationSettings class
private static client void runOnClient(ProdId _prodId)
{
controllerEx reportRunController;
DCExmaple parmData;
Args args = new Args();
//get users default printer from User options
LM_PrinterName printerName = SysUserInfo::find().lm_PrinterName;
// Create the report run controller
reportRunController = new controllerEx();
reportRunController.parmReportName(ssrsReportStr(CMA_Traveller, CHTravellerReportEnhanced));
reportRunController.parmLoadFromSysLastValue(false);
// Set printer settings (you can print to file, format, filename, etc).
reportRunController.parmReportContract().parmPrintSettings().printMediumType(SRSPrintMediumType::Printer);
reportRunController.parmReportContract().parmPrintSettings().printerName(printerName);
//More settings to print 2 sided?
args.record(ProdTable::find(_prodId));
reportRunController.parmArgs(args);
parmData = new DCExmaple();
parmData.parmProdId(_prodId);
//set the execution mode to Synchronous
reportRunController.parmExecutionMode(SysOperationExecutionMode::Synchronous);
reportRunController.parmReportContract().parmRdpContract(parmData);
// Run the report
reportRunController.run();
}