2024年06月10日 建站教程
打印成功后LODOP会自动把制表人和制表日期等相关信息到表格末尾,具体代码如下:
LODOP = getLodop(); LODOP.PRINT_INIT(""); LODOP.ADD_PRINT_TABLE(10,5,500,"90%",document.getElementById("div").innerHTML); LODOP.ADD_PRINT_TEXT(15,50,200,25,"制表日期:"+LODOP.FORMAT("TIME:YYYY年MM月DD日","DATE")); LODOP.SET_PRINT_STYLEA(0,"LinkedItem",1); LODOP.ADD_PRINT_TEXT(15,300,200,25,"制表人:guest"); LODOP.SET_PRINT_STYLEA(0,"LinkedItem",1);
本文链接:http://so.lmcjl.com/news/6273/