Commit 527aa6bc authored by liboyang's avatar liboyang

标签打印

parent 4b9a0bb4
...@@ -205,7 +205,7 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin ...@@ -205,7 +205,7 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
console.log($scope.json.policeData) console.log($scope.json.policeData)
$timeout(function () { $timeout(function () {
var LODOP = getLodop(); var LODOP = getLodop();
LODOP = getLodop(document.getElementById('LODOP1'), document.getElementById('LODOP_EM')); LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
if (!LODOP) { alert("请先安装控件!"); return; } if (!LODOP) { alert("请先安装控件!"); return; }
// LODOP.SET_LICENSES("民软网(www.minsoft.cn)", "158703810611011350109107113120", "", ""); // LODOP.SET_LICENSES("民软网(www.minsoft.cn)", "158703810611011350109107113120", "", "");
//初始化 //初始化
...@@ -236,8 +236,8 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin ...@@ -236,8 +236,8 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
LODOP.SET_PRINT_STYLEA(0, "Alignment", 2); LODOP.SET_PRINT_STYLEA(0, "Alignment", 2);
LODOP.SET_PRINT_STYLEA(0, "FontSize", 15); LODOP.SET_PRINT_STYLEA(0, "FontSize", 15);
// LODOP.PREVIEW(); LODOP.PREVIEW();
LODOP.PRINT(); // LODOP.PRINT();
}) })
}) })
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment