1、打开打印模板
2、参照下图输入脚本:
if (!Sender.isNull){
var strInput = Report.ParameterByName("密文").AsString;
var strOutput = "";
var i = 0;
for (i = 0; i < strInput.length; i += 27) {
strOutput += strInput.substring(i, i + 27) +"\n";
}
Sender.DisplayText = strOutput;
}