You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
<title>WEB打印控件LODOP的样例一:在页面内引入打印控件</title>
|
|
|
|
|
<script language="javascript" src="LodopFuncs.js"></script>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<script language="javascript" type="text/javascript">
|
|
|
|
|
window.onload=function() {
|
|
|
|
|
try{
|
|
|
|
|
var LODOP=getLodop();
|
|
|
|
|
if (LODOP.VERSION) {
|
|
|
|
|
if (LODOP.CVERSION)
|
|
|
|
|
alert("当前有C-Lodop云打印可用!\n C-Lodop版本:"+LODOP.CVERSION+"(内含Lodop"+LODOP.VERSION+")");
|
|
|
|
|
else
|
|
|
|
|
alert("本机已成功安装了Lodop控件!\n 版本号:"+LODOP.VERSION);
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
}catch(err){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log(LODOP);
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|