直接打印可设置预览可设置宽高dayin(){letLODOP=getLodop();letHeg=document.getElementById("toPrint").clientHeight+50;LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT","Auto-Width");LODOP.ADD_PRINT_HTM(1,0,350,Heg,document.getElementById("