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.
 
 
 
 
klhis/file/lis/检验条码.txt

81 lines
3.0 KiB

LODOP.SET_PRINT_PAGESIZE(1,"4cm","3cm","");
var rheaderHeightpy;
var rfooterHeightpy;
var pagewidth=4;
var pageheight=3;
var leftmargin=0.1;
var rightmargin=0.1;
var topmargin=0.1;
var bottommargin=0.1;
var top;
var left;
var width;
var height;
var top2;
var left2;
rheaderHeightpy=parseFloat(2.40771)-parseFloat(0.396875)-parseFloat(0.79375);
top = parseFloat(0.496875)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.10)+"cm";
width = 3.8+"cm";
height = 0.85+"cm";
LODOP.ADD_PRINT_BARCODE(top,left,width,height,"128B","$条形码@num@$");
LODOP.SET_PRINT_STYLEA(0,"NotOnlyHighPrecision",false);
LODOP.SET_PRINT_STYLEA(0,"FontSize","10");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(0.1)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.1)+"cm";
width = 1.99917+"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");
top = parseFloat(0.1)+"cm";
left = parseFloat(leftmargin)+parseFloat(1.79917)+"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");
top = parseFloat(0.1)+"cm";
left = parseFloat(leftmargin)+parseFloat(2.40771)+"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");
top = parseFloat(0.1)+"cm";
left = parseFloat(leftmargin)+parseFloat(2.98979)+"cm";
width = 0.89375+"cm";
height = 0.423333+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$病人来源名称@num@@brly$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","9");
top = parseFloat(1.40063)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm";
width = 0.978958+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$样本类型@num@@yblx$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","9");
top = parseFloat(1.400063)+"cm";
left = parseFloat(leftmargin)+parseFloat(1.19063)+"cm";
width = 0.89375+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$试管类型@num@@sglx$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","9");
top = parseFloat(1.40063)+"cm";
left = parseFloat(leftmargin)+parseFloat(2.01083)+"cm";
width = 1.90917+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$打印时间@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","9");
top = parseFloat(1.89917)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.1)+"cm";
width = 3.81+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$项目名称@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","7");
rfooterHeightpy=parseFloat(pageheight)-parseFloat(bottommargin);