LODOP.SET_PRINT_PAGESIZE(1,"21cm","15.3cm",""); var rheaderHeightpy; var rfooterHeightpy; var pagewidth=21; var pageheight=14.8; var leftmargin=0.5; var rightmargin=0.5; var topmargin=5; var bottommargin=2.8; var top; var left; var width; var height; var top2; var left2; var heightpy=parseInt(4.78896)-parseInt(topmargin); top = parseFloat(0)-parseFloat(heightpy)+"cm"; left = parseFloat(0)+parseFloat(0)+"cm"; width = 21+"cm"; height = 0.978958+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"$bgbt@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.SET_PRINT_STYLEA(0,"Alignment",2); LODOP.SET_PRINT_STYLEA(0,"FontSize","14.250000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(2.01083)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; width = 3.59833+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"姓名:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(2.01083)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(1.456875)+"cm"; width = 3.59833+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"$xm@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.SET_PRINT_STYLEA(0,"FontSize","11.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(3.81)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; width = 3.59833+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"标本:$ybh@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(1.40229)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(13.8113)+"cm"; width = 4.78896+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"验 单 号:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(2.59292)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; width = 3.59833+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"性别:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(2.59292)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(1.456875)+"cm"; width = 3.59833+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"$xb@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.SET_PRINT_STYLEA(0,"FontSize","11.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(3.20146)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; width = 3.59833+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"年龄:$brnl@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(1.19063)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm"; left2 = parseFloat(leftmargin)+parseFloat(0.211667)+parseFloat(19.5792)+"cm"; top2 = parseFloat(1.19063)-parseFloat(heightpy)+"cm"; width = 19.5792+"cm"; height = 0+"cm"; LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(2.01083)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(3.99521)+"cm"; width = 4.57729+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"科 别:$sjks@num@@jzks$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(2.59292)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(3.99521)+"cm"; width = 4.57729+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"住院号:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(3.20146)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(3.99521)+"cm"; width = 4.60375+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"床 号:$ch@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(3.81)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(3.99521)+"cm"; width = 4.57729+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"样本状态:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(3.81)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(8.59896)+"cm"; width = 5.00063+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"备 注:$remark@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(2.01083)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(8.59896)+"cm"; width = 5.00063+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"申请类型:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(2.59292)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(8.59896)+"cm"; width = 5.00063+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"申请血量:$sqxl@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(3.20146)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(8.59896)+"cm"; width = 5.00063+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"申请医生:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(2.01083)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(13.8113)+"cm"; width = 6.78896+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"条形码号:$tmh@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(2.59292)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(13.8113)+"cm"; width = 4.78896+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"接收时间:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(3.20146)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(13.8113)+"cm"; width = 4.78896+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"出库日期:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(4.40375)-parseFloat(heightpy)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm"; left2 = parseFloat(leftmargin)+parseFloat(0.211667)+parseFloat(19.394)+"cm"; top2 = parseFloat(4.40375)-parseFloat(heightpy)+"cm"; width = 19.394+"cm"; height = 0+"cm"; LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); rheaderHeightpy=parseFloat(6.58813)-parseFloat(0)-parseFloat(0.608542); top = parseFloat(5.5)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; width = 3.80458+"cm"; height = (parseFloat(pageheight)-parseFloat(topmargin)-parseFloat(bottommargin)-parseFloat(0))+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"受血者:$xm@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.SET_PRINT_STYLEA(0,"FontSize","11.500000000000"); top = parseFloat(5.5)+"cm"; left = parseFloat(leftmargin)+parseFloat(3.99521)+"cm"; width = 4.20458+"cm"; height = 0.582083+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"血 型:$sxxx@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); top = parseFloat(5.5)+"cm"; left = parseFloat(leftmargin)+parseFloat(16.1925)+"cm"; width = 4.20458+"cm"; height = 0.582083+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"Rh(D):$fcsxrh@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); top = parseFloat(5.5)+"cm"; left = parseFloat(leftmargin)+parseFloat(11.5888)+"cm"; width = 4.20458+"cm"; height = 0.582083+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"复查血型:$fcsxxx@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); top = parseFloat(7.79604)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; width = 2.19604+"cm"; height = 0.582083+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"血袋号:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); top = parseFloat(7.79604)+"cm"; left = parseFloat(leftmargin)+parseFloat(4.39208)+"cm"; width = 4.20458+"cm"; height = 0.582083+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"血型:$jxxx@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); top = parseFloat(5.5)+"cm"; left = parseFloat(leftmargin)+parseFloat(7.99042)+"cm"; width = 4.20458+"cm"; height = 0.582083+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"Rh(D):$sxrh@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); top = parseFloat(7.79604)+"cm"; left = parseFloat(leftmargin)+parseFloat(7.59354)+"cm"; width = 4.20458+"cm"; height = 0.582083+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"Rh(D):$jxrh@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); top = parseFloat(7.79604)+"cm"; left = parseFloat(leftmargin)+parseFloat(10.6098)+"cm"; width = 3.5875+"cm"; height = 0.582083+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"血量:$sqxl@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); top = parseFloat(7.79604)+"cm"; left = parseFloat(leftmargin)+parseFloat(12.991)+"cm"; width = 4.20458+"cm"; height = 0.582083+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"复查血型:$scjxxx@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); top = parseFloat(7.79604)+"cm"; left = parseFloat(leftmargin)+parseFloat(16.5894)+"cm"; width = 4.20458+"cm"; height = 0.582083+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"Rh(D):$scjxrh@num@$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); top = parseFloat(11.20917)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; left2 = parseFloat(leftmargin)+parseFloat(0.396875)+parseFloat(19.2088)+"cm"; top2 = parseFloat(11.20917)+"cm"; width = 19.2088+"cm"; height = 0+"cm"; LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1); top = parseFloat(10.70063)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; width = 2.01083+"cm"; height = 0.582083+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"备注:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); top = parseFloat(11.29438)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; width = 2.01083+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"结果:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); rfooterHeightpy=parseFloat(pageheight)-parseFloat(bottommargin); top = parseFloat(parseFloat(rfooterHeightpy)+parseFloat(0))+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; left2 = parseFloat(leftmargin)+parseFloat(0.396875)+parseFloat(19.2088)+"cm"; top2 = parseFloat(parseFloat(rfooterHeightpy)+parseFloat(0))+"cm"; width = 19.2088+"cm"; height = 0+"cm"; LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(rfooterHeightpy)+parseFloat(0.211667)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; width = 2.01083+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"配血者:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(rfooterHeightpy)+parseFloat(0.211667)+"cm"; left = parseFloat(leftmargin)+parseFloat(4.20688)+"cm"; width = 1.98438+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"复检者:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(rfooterHeightpy)+parseFloat(0.211667)+"cm"; left = parseFloat(leftmargin)+parseFloat(7.99042)+"cm"; width = 2.01083+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"发血者:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(rfooterHeightpy)+parseFloat(0.211667)+"cm"; left = parseFloat(leftmargin)+parseFloat(11.5888)+"cm"; width = 2.01083+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"领血者:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(rfooterHeightpy)+parseFloat(0.211667)+"cm"; left = parseFloat(leftmargin)+parseFloat(14.7902)+"cm"; width = 2.01083+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"核对者:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(rfooterHeightpy)+parseFloat(0.79375)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; width =8.40771+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"报告时间:$bgsj$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(rfooterHeightpy)+parseFloat(0.79375)+"cm"; left = parseFloat(leftmargin)+parseFloat(10.795)+"cm"; width = 2.59292+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"领血时间:"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(rfooterHeightpy)+parseFloat(0.79375)+"cm"; left = parseFloat(leftmargin)+parseFloat(14.7902)+"cm"; width = 10.01083+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"仪器名称:$sbh@num@@lissb$"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1); top = parseFloat(rfooterHeightpy)+parseFloat(1.2875)+"cm"; left = parseFloat(leftmargin)+parseFloat(0.396875)+"cm"; width = 12.5942+"cm"; height = 0.608542+"cm"; LODOP.ADD_PRINT_TEXT(top,left,width,height,"*此报告仅对所检测标本负责,如有疑问请于三天内到输血科咨询"); LODOP.SET_PRINT_STYLEA(0,"FontName","宋体"); LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000"); LODOP.SET_PRINT_STYLEA(0,"ItemType",1);