本帖最后由 my1320 于 2023-4-8 17:59 编辑
lodop通过url打印图片,图片名如果是中文就不能正常显示图片,请问该怎么办?
- var lpurl=Forguncy.CommandHelper.getVariableValue('lpurl');
- var LODOP; //声明为全局变量
- LODOP = getLodop();
- LODOP.PRINT_INIT("两票");
- LODOP.ADD_PRINT_IMAGE(0,0,"210mm","296.99mm",lpurl);
- LODOP.SET_PRINT_STYLEA(0,"Stretch",2);
- LODOP.SET_PRINT_STYLEA(1,"AngleOfPageInside",90);
- LODOP.PREVIEW();
复制代码
|