LODOP.PRINT_INITA(-20,0,"100mm","150mm",""); LODOP.SET_PRINT_PAGESIZE(1,"100mm","150mm",""); // LODOP.ADD_PRINT_IMAGE(20,0,75,25,"<img border='0' src='sf/logo.jpg'/>"); // LODOP.SET_PRINT_STYLEA(0,"Stretch",1); // LODOP.ADD_PRINT_IMAGE(20,"70mm",75,27,"<img border='0' src='sf/tel.png'/>"); // LODOP.SET_PRINT_STYLEA(0,"Stretch",1); LODOP.ADD_PRINT_IMAGE(353,10,75,25,"<img border='0' src='sf/logo.jpg'/>"); LODOP.SET_PRINT_STYLEA(0,"Stretch",1); LODOP.ADD_PRINT_IMAGE(375,10,75,27,"<img border='0' src='sf/tel.png'/>"); LODOP.SET_PRINT_STYLEA(0,"Stretch",1); LODOP.ADD_PRINT_LINE("13.26mm","0mm",49,"100.01mm",0,1); LODOP.ADD_PRINT_TEXT("0mm","45.83mm",110,"12.99mm","加急"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",36); LODOP.ADD_PRINT_TEXT(0,143,33,"12.99mm","E"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",36); LODOP.ADD_PRINT_LINE("33.36mm",0,"33.1mm","100.01mm",0,1); LODOP.ADD_PRINT_BARCODE("14.08mm",15,"70.01mm","11.59mm","128C","444835754926"); LODOP.SET_PRINT_STYLEA(0,"ShowBarText",0); LODOP.ADD_PRINT_TEXT(98,103,121,"6.01mm","003 203 023 629"); LODOP.SET_PRINT_STYLEA(0,"FontName","arial"); LODOP.SET_PRINT_STYLEA(0,"FontSize",10); LODOP.ADD_PRINT_TEXT(98,15,38,"6.01mm","2/2"); LODOP.SET_PRINT_STYLEA(0,"FontName","arial"); LODOP.SET_PRINT_STYLEA(0,"FontSize",10); LODOP.ADD_PRINT_TEXT(99,51,54,"6.01mm","子单号"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(112,51,49,20,"母单号"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(111,103,112,20,"444 004 772 115"); LODOP.SET_PRINT_STYLEA(0,"FontName","arial"); LODOP.ADD_PRINT_LINE("33.1mm",274,"12.99mm",275,0,1); LODOP.ADD_PRINT_TEXT(52,274,107,29,"电商专配"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",14); LODOP.SET_PRINT_STYLEA(0,"Alignment",2); LODOP.ADD_PRINT_LINE(74,274,73,383,0,1); LODOP.ADD_PRINT_TEXT(74,272,110,32,"代收货款"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",17); LODOP.SET_PRINT_STYLEA(0,"Alignment",2); LODOP.ADD_PRINT_TEXT(98,275,46,20,"卡号:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(97,305,80,20,"8881688888"); LODOP.SET_PRINT_STYLEA(0,"FontName","arial"); LODOP.ADD_PRINT_TEXT(110,275,100,20,"¥3000.5元"); LODOP.SET_PRINT_STYLEA(0,"FontName","arial"); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.ADD_PRINT_LINE("47.36mm",0,178,"100.01mm",0,1); LODOP.ADD_PRINT_LINE("71.7mm",22,"33.07mm",23,0,1); LODOP.ADD_PRINT_TEXT(130,5,17,52,"目\r\n的\r\n地"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"LineSpacing",-3); LODOP.ADD_PRINT_TEXT(125,27,120,51,"7312"); LODOP.SET_PRINT_STYLEA(0,"FontName","arial"); LODOP.SET_PRINT_STYLEA(0,"FontSize",36); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.ADD_PRINT_LINE("60.35mm",0,227,"100.01mm",0,1); LODOP.ADD_PRINT_TEXT(182,5,15,52,"收\r\n件\r\n人"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"LineSpacing",-3); LODOP.ADD_PRINT_TEXT(178,26,362,22,"熊二 0731-12345678 13654879562"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",11); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.SET_PRINT_STYLEA(0,"LineSpacing",-5); LODOP.SET_PRINT_STYLEA(0,"LetterSpacing",-1); LODOP.ADD_PRINT_TEXT(194,25,348,30,"湖南省湘潭市雨湖区学府路与建设路交汇口666号南山软件产业基...(省略)"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",11); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.SET_PRINT_STYLEA(0,"LineSpacing",-4); LODOP.SET_PRINT_STYLEA(0,"LetterSpacing",-1); LODOP.ADD_PRINT_LINE("72.26mm",0,272,"100.01mm",0,1); LODOP.ADD_PRINT_TEXT(230,5,16,48,"寄\r\n件\r\n人"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"LineSpacing",-3); LODOP.ADD_PRINT_TEXT(228,26,269,20,"熊大 0755-12345678"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",11); LODOP.ADD_PRINT_TEXT(245,25,281,25,"广东省深圳市南山区学府路666号南山软件产业基地B栋8楼"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",10); LODOP.SET_PRINT_STYLEA(0,"LineSpacing",-4); LODOP.SET_PRINT_STYLEA(0,"LetterSpacing",-1); LODOP.ADD_PRINT_LINE(349,310,227,311,0,1); LODOP.ADD_PRINT_TEXT(229,310,97,20,"定时派送"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",13); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.SET_PRINT_STYLEA(0,"LetterSpacing",-2); LODOP.ADD_PRINT_TEXT(254,314,50,20,"自寄"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",10); LODOP.ADD_PRINT_TEXT(254,346,63,20,"自取"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",10); LODOP.ADD_PRINT_TEXT(277,3,68,20,"付款方式:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(277,57,87,20,"转第三方付"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(291,3,67,20,"月结帐号:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(291,57,100,20,"0000000000001"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(277,135,64,20,"计费重量:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(277,190,59,20,"1.5KG"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(291,135,64,20,"声明价值:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(291,190,56,20,"2000元"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(277,313,61,20,"签名:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(334,339,27,20,"月"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(334,364,25,20,"日"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_LINE(307,1,306,309,0,1); LODOP.ADD_PRINT_TEXT(277,228,70,20,"包装费用:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(277,281,42,20,"10元"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(291,228,46,20,"运费:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(291,259,40,20,"22元"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_LINE(348,22,"80.96mm",23,0,1); LODOP.ADD_PRINT_TEXT(309,6,19,50,"托\r\n寄\r\n物"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"LineSpacing",-4); LODOP.ADD_PRINT_TEXT(309,30,150,50,"窗帘配件"); LODOP.ADD_PRINT_LINE(348,207,306,208,0,1); LODOP.ADD_PRINT_TEXT(310,210,59,20,"收件员:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(308,252,74,20,"42663200"); LODOP.SET_PRINT_STYLEA(0,"FontName","arial"); LODOP.ADD_PRINT_TEXT(324,210,63,20,"寄件日期:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(324,264,53,20,"3月21日"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(336,210,62,20,"派件员:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_LINE(350,0,349,"100.01mm",0,1); LODOP.ADD_PRINT_BARCODE(353,174,"45.01mm","10mm","128C","444835754926"); LODOP.SET_PRINT_STYLEA(0,"ShowBarText",0); LODOP.ADD_PRINT_LINE(405,109,"92.08mm",110,0,1); LODOP.ADD_PRINT_TEXT(392,177,47,20,"子单号"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(390,219,116,20,"003 203 023 629"); LODOP.SET_PRINT_STYLEA(0,"FontName","arial"); LODOP.ADD_PRINT_LINE(406,0,405,"100.01mm",0,1); LODOP.ADD_PRINT_LINE(494,22,"106.89mm",23,0,1); LODOP.ADD_PRINT_TEXT(408,5,18,45,"寄\r\n件\r\n人"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"LineSpacing",-4); LODOP.ADD_PRINT_LINE(449,0,448,"100.01mm",0,1); LODOP.ADD_PRINT_TEXT(409,26,207,20,"熊大 0755-12345678"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",11); LODOP.ADD_PRINT_TEXT(428,26,344,20,"广东省深圳市南山区学府路666号南山软件产业基地B栋8楼"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.ADD_PRINT_TEXT(454,5,18,54,"收\r\n件\r\n人"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"LineSpacing",-4); LODOP.ADD_PRINT_TEXT(450,26,350,20,"熊二 0731-12345678 13954785462 腾...(省略)"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",11); LODOP.ADD_PRINT_TEXT(468,26,350,36,"湖南省湘潭市雨湖区学府路与建设路交汇口666号南山软件产业基...(省略)"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"LineSpacing",-3); LODOP.ADD_PRINT_LINE(496,0,495,"100.01mm",0,1); LODOP.ADD_PRINT_TEXT(508,20,350,60,"订单号:TM17067613 客户ID:ly...(省略)"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体");
相关推荐
lodop打印组件, 绘制的德邦面单示例格式, javascript格式, 数据示例,部分修改即可使用
申通快递电子面单一联单Lodop模版76*130 mm,适用于网上商城在线快递单打印场景,适合技术开发适用,省事的
1. **调用Lodop对象**:在网页代码中,你需要通过JavaScript来调用Lodop对象,例如: ```javascript var LODOP; function GetLodop(){ try{ LODOP = getActiveXObject("CLodop."+LODOP_OBJECT_NAME); }...
Lodop打印模板和安装包是针对Java环境下的打印解决方案,主要服务于那些需要高效、便捷打印功能的Web应用程序。Lodop是一款优秀的打印控件,它提供了丰富的打印功能,包括但不限于多页打印、自定义模板、条形码和...
- **部署Lodop**:首先,需要在服务器上安装Lodop服务程序,并确保用户可以在浏览器中正常访问到Lodop的服务器端组件。 - **引入Lodop对象**:在HTML页面中通过`<object>`或`<embed>`标签引入Lodop控件。 - **...
"Lodop6.1技术手册.doc"包含了Lodop的详细使用指南,包括各个API的解释、示例代码以及常见问题解答。手册中的示例涵盖了从基础打印到复杂应用场景的各种情况,对开发者来说是一份宝贵的参考资料。 总之,Lodop技术...
5. **配置Lodop**:根据`config.php`中的说明,配置Lodop的参数,比如服务器地址、端口等。这将确保Lodop能够正确地与服务器通信。 6. **编写打印逻辑**:使用PHP编写打印逻辑,这通常涉及到HTML模板的创建,以及...
IsReturnPrintTemplate:1(返回电子面单模板:0-不需要;1-需要) 返回参数 PrintTemplate(返回HTML文本) 2.保存返回的HTML文本和物流单号 建议,利用txt文本存储,命名用物流单号命名 3.根据HTML传输到快递鸟...
Lodop,全称“LoveDOC Online Print”,是一款强大的网页打印控件,专为网页打印设计,支持裁剪输出页面内容以及通过程序代码实现复杂打印功能。在互联网+的时代背景下,Lodop凭借其便捷性和灵活性,广泛应用于各类...
《打印控件Lodop6.0技术手册》是一份详尽阐述Lodop这款专业WEB打印控件的文档,其主要目标是帮助开发者和使用者深入理解和高效利用该控件的功能。Lodop是一个功能强大的JavaScript扩展语句,它允许用户在网页上实现...
项目"vue-lodop-design-master"包含了实现这个简单打印设计工具的所有源代码。开发者可以下载并研究这些文件,理解其工作原理,从而根据自己的需求进行定制。通常,这样的工具会包含以下几个关键部分: 1. **用户...
《Lodop6.1技术手册.doc》文件提供了详细的API参考和实例代码,帮助开发者深入理解和使用Lodop的所有功能。建议开发者仔细阅读手册,以便充分利用Lodop6.1的强大功能。 总之,Lodop6.1作为一款优秀的打印控件,其...
接下来,你可以编写JavaScript代码来调用Lodop的打印接口。以下是一段基本的打印示例: ```javascript function printHTML() { var LODOP; //声明为全局变量 if (window.ActiveXObject) { LODOP = new ...
### LODOP 6.0 下载及应用详解 #### 一、LODOP 6.0 概述 LODOP是一款广泛应用于打印领域的软件开发工具包(SDK),支持多种编程语言,如JavaScript、VBScript等,适用于网页、桌面应用程序等多种应用场景。其核心...
**Lodop在线打印插件详解** Lodop是一款高效且功能强大的在线打印插件,专为解决网页打印难题而设计。它集成了多种打印功能,适用于各种浏览器环境,无论是在Struts、Spring还是Ibatis等Java框架下,或者与前端技术...
LODOP是一款强大的云打印控件,常用于网页打印、套打等应用场景。在这个"关于LODOP套打Demo"的描述中,我们看到作者分享了如何使用LODOP进行套打操作,包括了基本的步骤和一些解决常见问题的技巧。下面我们将详细...
2. **简化网页打印**:Lodop提供了一种简便的方式,使得网页开发者可以通过JavaScript调用打印功能,无需编写复杂的打印代码。这使得打印操作更加直观,同时降低了开发成本。 3. **自定义打印设置**:用户可以...
什么是Lodop** Lodop(LookOffice Online Document Operation Print)是由上海科邦信息技术有限公司开发的一款Web打印控件。它允许用户在浏览器中直接进行文档打印,无需借助其他插件或软件,极大地简化了网页打印...
- **安装Lodop**:通过执行`install_lodop.exe`文件,可将Lodop控件安装到本地计算机。安装后,Lodop服务端组件会自动启动并注册到系统服务中。 - **引入Lodop对象**:在网页中,通过JavaScript代码引入Lodop...
Lodop广泛应用于电子商务、财务系统、物流管理等多个领域,为网页打印提供了极大的便利。比如,在电商订单系统中,可以通过Lodop快速打印出订单详情;在物流行业中,可以实现运单的批量打印;在财务系统中,Lodop则...