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.
109 lines
4.3 KiB
109 lines
4.3 KiB
LODOP.SET_PRINT_PAGESIZE(1,"5cm","3cm","");
|
|
var rheaderHeightpy;
|
|
var rfooterHeightpy;
|
|
var pagewidth=5;
|
|
var pageheight=3;
|
|
var leftmargin=0;
|
|
var rightmargin=0;
|
|
var topmargin=0;
|
|
var bottommargin=0;
|
|
var top;
|
|
var left;
|
|
var width;
|
|
var height;
|
|
var top2;
|
|
var left2;
|
|
rheaderHeightpy=parseFloat(2.98979)-parseFloat(0)-parseFloat(0.396875);
|
|
top = parseFloat(0)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(0.0000)+"cm";
|
|
width = 5.0000+"cm";
|
|
height = (parseFloat(0.2)-parseFloat(topmargin)-parseFloat(bottommargin)-parseFloat(0))+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$医疗机构@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","9.000000000000");
|
|
top = parseFloat(1.250229)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(0)+"cm";
|
|
width = 1.99063+"cm";
|
|
height = 0.206875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$病人姓名@num@@sjys$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","9.000000000000");
|
|
top = parseFloat(1.250229)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(1.7063)+"cm";
|
|
width = 0.608542+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$病人性别@num@@brxb@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","9.000000000000");
|
|
top = parseFloat(1.250229)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(2.39917)+"cm";
|
|
width = 0.79375+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$病人年龄@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","9.000000000000");
|
|
top = parseFloat(1.62917)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(0)+"cm";
|
|
width = 1.1542+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$样本类型@num@@yblx$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","9.000000000000");
|
|
top = parseFloat(1.250229)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(3.19292)+"cm";
|
|
width = 2.51083+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$打印时间@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","9.000000000000");
|
|
top = parseFloat(1.62917)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(1.19063)+"cm";
|
|
width = 1.19063+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$试管类型@num@@sglx$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","9.000000000000");
|
|
top = parseFloat(1.62917)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(2.38979)+"cm";
|
|
width = 1.19063+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$岗位设置@num@@gwsz$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","9.000000000000");
|
|
top = parseFloat(1.250229)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(2.38979)+"cm";
|
|
width = 0.9375+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$病人来源名称@num@@brly$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","9.000000000000");
|
|
top = parseFloat(1.62917)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(3.80)+"cm";
|
|
width = 1.3375+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$科室@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","9.000000000000");
|
|
|
|
top = parseFloat(1.99604)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(3.80)+"cm";
|
|
width = 1.3375+"cm";
|
|
height = 0.782083+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$送检医生@num@@sysuser$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","9.000000000000");
|
|
|
|
top = parseFloat(1.99604)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(0)+"cm";
|
|
width = 4.00000+"cm";
|
|
height = 0.782083+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$项目名称@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","9.000000000000");
|
|
top = parseFloat(0.396875)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(0.0000)+"cm";
|
|
width = 4.90000+"cm";
|
|
height = 0.79375+"cm";
|
|
LODOP.ADD_PRINT_BARCODE(top,left,width,height,"128auto","$条形码@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"NotOnlyHighPrecision",1);
|
|
rfooterHeightpy=parseFloat(pageheight)-parseFloat(bottommargin);
|
|
|