var url="http://erp.cnblind.com/static/my/ship/"; LODOP.PRINT_INITA(0,0,"100mm","150mm",""); LODOP.ADD_PRINT_IMAGE("2mm","2mm",75,30,"<img border='0' src=url+'sf/logo.jpg'/>"); LODOP.SET_PRINT_STYLEA(0,"Stretch",1); LODOP.ADD_PRINT_IMAGE("2mm","70mm",75,30,"<img border='0' src=url+'sf/tel.png'/>"); LODOP.SET_PRINT_STYLEA(0,"Stretch",1); LODOP.ADD_PRINT_TEXT("9mm","10mm","54mm","2mm","ZJ 第一次打印 打印时间 2020-2-19 15:00:10"); LODOP.SET_PRINT_STYLEA(0,"FontSize",6); LODOP.ADD_PRINT_BARCODE("12mm","10mm","54mm","13mm","128Auto", "295778794221"); LODOP.SET_PRINT_STYLEA(0,"ShowBarText",0); LODOP.ADD_PRINT_TEXT("26mm","8mm","25mm","3mm", "1/5 子单号:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",10); LODOP.ADD_PRINT_TEXT("26mm","32mm","50mm","3mm", "295 778 794 221"); LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); LODOP.SET_PRINT_STYLEA(0,"FontSize",10); LODOP.ADD_PRINT_TEXT("30mm","16mm","50mm","3mm", "母单号:"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",10); LODOP.ADD_PRINT_TEXT("30mm","32mm","50mm","3mm", "295 778 794 220"); LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); LODOP.SET_PRINT_STYLEA(0,"FontSize",10); LODOP.ADD_PRINT_IMAGE("11mm","75mm","20mm","20mm","<img border='0' src=url+'sf/T4.png'/>"); LODOP.SET_PRINT_STYLEA(0,"Stretch",1); LODOP.ADD_PRINT_RECT("34mm","2mm","96mm","54mm",0,1); LODOP.ADD_PRINT_TEXT("35mm","4mm","80mm","12.5mm","755WD—755BF"); LODOP.SET_PRINT_STYLEA(0,"FontSize",33); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.ADD_PRINT_IMAGE("48mm","4mm","7mm","7mm","<img border='0' src=url+'sf/shou.png'/>"); LODOP.SET_PRINT_STYLEA(0,"Stretch",1); LODOP.ADD_PRINT_TEXT("46mm","12mm","18mm","4mm","熊大"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.ADD_PRINT_TEXT("46mm","25mm","50mm","4mm"," 180333310011 029-22903389"); LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.ADD_PRINT_TEXT("51mm","12mm","75mm","10mm","广东省 深圳市 宝安区 订单稍等的的顶顶顶顶顶华南理工大学"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.ADD_PRINT_HTM(0,0,"100%","100%",'<div style="z-index: -5; position: absolute; left:130px; top:180px;color:#808080;font-size:37px;font-family:黑体">001</div>'); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.SET_PRINT_STYLEA(0,"FontSize",37); LODOP.SET_PRINT_STYLEA(0,"FontColor","#808080"); // LODOP.SET_PRINT_STYLEA(0,"ItemType",1); LODOP.ADD_PRINT_LINE("61.01mm","2.01mm","61.3mm","97.82mm",0,1); LODOP.ADD_PRINT_LINE("68mm","2.01mm","68.29mm","34.82mm",0,1); LODOP.ADD_PRINT_LINE("61.01mm","35mm","88.53mm","35.3mm",0,1); LODOP.ADD_PRINT_LINE("61.01mm","66.99mm","88.53mm","67.28mm",0,1); LODOP.ADD_PRINT_LINE("61.01mm","76.99mm","88.53mm","77.28mm",0,1); LODOP.ADD_PRINT_LINE("77.26mm","76.99mm","77.52mm","98.37mm",0,1); LODOP.ADD_PRINT_TEXT("64mm","12mm","33mm","6mm","寄付月结"); LODOP.ADD_PRINT_TEXT("70mm","7mm","33mm","20mm","A22"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",40); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.ADD_PRINT_TEXT("62mm","69mm","10mm","26mm","已验视"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",20); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.SET_PRINT_STYLEA(0,"FontColor","#808080"); LODOP.ADD_PRINT_IMAGE("62mm","79mm","21mm","17mm","<img border='0' src='sf/AFlag.jpg'/>"); LODOP.SET_PRINT_STYLEA(0,"Stretch",1); LODOP.ADD_PRINT_TEXT("78mm","79mm","21mm","9mm","1A"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"FontSize",30); LODOP.SET_PRINT_STYLEA(0,"Bold",1); //二维码 LODOP.ADD_PRINT_BARCODE("65mm","38mm","26mm","26mm","QRCode", "MMM…={‘k1’:’’,’k2’:’’,’k3’:’’,’k4’:’’,’k5’:’’,’k6’:’’}"); //下联开始 LODOP.ADD_PRINT_RECT("91mm","2mm","96mm","58mm",0,1); LODOP.ADD_PRINT_LINE("105mm","2mm","103.26mm","98mm",0,1); LODOP.ADD_PRINT_LINE("127mm","2mm","127.26mm","98mm",0,1); LODOP.ADD_PRINT_IMAGE("94mm","4mm","7mm","7mm","<img border='0' src='sf/ji.png'/>"); LODOP.SET_PRINT_STYLEA(0,"Stretch",1); LODOP.ADD_PRINT_TEXT("92mm","13mm","18mm","4mm","熊大"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.ADD_PRINT_TEXT("92mm","32mm","50mm","4mm"," 180333310011 029-22903389"); LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.ADD_PRINT_TEXT("96mm","13mm","85mm","10mm","广东省 深圳市 宝安区 订单稍等的的顶顶顶顶顶华南理工大学"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.ADD_PRINT_TEXT("107mm","13mm","75mm","10mm","订单号:TM190200222"); LODOP.SET_PRINT_STYLEA(0,"FontName","黑体"); LODOP.SET_PRINT_STYLEA(0,"Bold",1);
相关推荐
lodop打印组件, 绘制的德邦面单示例格式, javascript格式, 数据示例,部分修改即可使用
Lodop是一款广泛应用于网页打印的插件,由上海力登公司开发。它的全名是"LODOP Print Service",能够提供高效的Web打印解决方案,支持各种浏览器和操作系统,包括IE、Firefox、Chrome、Safari以及Windows和Mac系统。...
接下来,你可以编写JavaScript代码来调用Lodop的打印接口。以下是一段基本的打印示例: ```javascript function printHTML() { var LODOP; //声明为全局变量 if (window.ActiveXObject) { LODOP = new ...
5. **配置Lodop**:根据`config.php`中的说明,配置Lodop的参数,比如服务器地址、端口等。这将确保Lodop能够正确地与服务器通信。 6. **编写打印逻辑**:使用PHP编写打印逻辑,这通常涉及到HTML模板的创建,以及...
《Lodop打印方案:开启Web打印新纪元》 在现代互联网应用中,Web打印功能扮演着不可或缺的角色。Lodop打印方案以其强大的功能、简单的使用方式和友好的用户体验,成为了众多开发者和用户的首选。这个方案的核心在于...
LODOP打印控件是一款广泛应用于企业、教育和政府机构的高效打印解决方案。它是由上海连邦软件科技有限公司开发的一款专业级打印控件,能够帮助用户实现网页、应用程序中的复杂打印需求,包括自定义模板、多页打印、...
注:打印电子面单需要保存接口返回来的HTML数据, 请求参数 IsReturnPrintTemplate:1(返回电子面单模板:0-不需要;1-需要) 返回参数 PrintTemplate(返回HTML文本) 2.保存返回的HTML文本和物流单号 建议,利用...
1.官网下载 http://www.lodop.net/download.html 2.解压安装运行 ...3.2 编写代码 <button class=print-btn v-on:click=btnClickPrint> <span>{{ msg }} </button> [removed] im
- 在线订票系统:快速打印电子票务。 - 电商订单打印:自动化处理发货单、快递单等。 - 教育培训:打印学习资料、作业、试卷。 - 企业管理:打印报表、合同、证书等。 - 医疗系统:打印病历、检验报告等。 总的来说...
Lodop打印模板和安装包是针对Java环境下的打印解决方案,主要服务于那些需要高效、便捷打印功能的Web应用程序。Lodop是一款优秀的打印控件,它提供了丰富的打印功能,包括但不限于多页打印、自定义模板、条形码和...
在实际项目中,sforder(文件名列表中的文件)可能包含用于控制这两种打印模式的代码片段或配置文件,这些代码可以帮助我们更好地实现打印模式的切换。 总之,LODOP打印和后台Print打印各有优势,选择哪种模式取决...
**Lodop在线打印插件详解** Lodop是一款高效且功能强大的在线打印插件,专为解决网页打印难题而设计。它集成了多种打印功能,适用于各种浏览器环境,无论是在Struts、Spring还是Ibatis等Java框架下,或者与前端技术...
3. **打印配置**:LODOP提供了丰富的打印设置选项,包括纸张大小、边距、页眉页脚、页面方向、打印质量等,可以在代码中进行动态配置。 4. **打印内容**:可以是HTML文本、图片、条形码、二维码等多种类型的数据,...
本资源提供了Lodop实现在UniApp应用程序中打印标签的功能的库文件源代码。在本资源中,我们将介绍如何使用Lodop在UniApp中打印标签,包括如何定义标签样式、打印内容和打印方式等。此外,我们还将提供一些示例代码和...
- **安装Lodop**:通过执行`install_lodop.exe`文件,可将Lodop控件安装到本地计算机。安装后,Lodop服务端组件会自动启动并注册到系统服务中。 - **引入Lodop对象**:在网页中,通过JavaScript代码引入Lodop...
首先,"Lodop打印控件"的核心功能在于提供了一个友好的编程接口,让开发者可以通过简单的代码调用来控制打印操作。例如,你可以设置页眉和页脚、调整页边距、选择打印范围、设置纸张大小和方向,甚至进行页面合并和...
LodopWeb打印控件是一款高效且易用的网页打印解决方案,专为解决Web应用程序中的打印需求而设计。这款控件以其强大的功能和广泛的兼容性在IT行业中受到广泛关注。以下将详细解析LodopWeb打印控件的核心知识点: 1. ...
**Lodop打印控件详解** Lodop打印控件是一款功能强大的网页打印解决方案,它旨在为用户提供一种简便且高效的方式,实现跨平台的各种浏览器上的打印功能。Lodop技术的核心在于其高度兼容性,能够适应不同的操作系统...
【lodop6.1试用版】是一款专为Web页面打印设计的软件解决方案,它提供了高效、便捷的网页打印功能。这款试用版允许开发者在网页中集成打印服务,通过安装对应的exe控件并调用JavaScript函数来实现。尽管试用版在功能...
Lodop打印插件是一款广泛应用于网页打印领域的高效解决方案,尤其适合企业内部自动化打印作业。该插件由上海科度信息技术有限公司开发,旨在提供一种简便、快捷且功能强大的网页打印工具,可支持各类复杂的打印需求...