1.最简单的调用
<script language="javascript" src="LodopFuncs.js"></script>
添加到<head>
标签
<script language="javascript" type="text/javascript">
var LODOP; //声明为全局变量
function myPreView(){
LODOP=getLodop();
LODOP.PRINT_INIT("");
LODOP.PREVIEW();
}
</script>
2.打印设计
<script type="text/javascript">
var LODOP;
function myDesign(){
LODOP=getLodop();
LODOP.PRINT_INIT("");
LODOP.PRINT_DESIGN();
}
</script>