博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Lodop Web打印插件使用
阅读量:4960 次
发布时间:2019-06-12

本文共 3459 字,大约阅读时间需要 11 分钟。

1  2     3 

 

1 function myShow4(){     2                 CreatePage();                 3            LODOP.ADD_PRINT_SETUP_BKIMG(""); 4                 LODOP.SET_SHOW_MODE("BKIMG_IN_PREVIEW",1); //注:"BKIMG_IN_PREVIEW"-预览包含背景图 "BKIMG_IN_FIRSTPAGE"- 仅首页包含背景图         5                 LODOP.PREVIEWB(); 6                 alertMsg.confirm("带*信息填写不完整!"); 7 } 8 function CreatePage(){ 9               LODOP=getLodop(document.getElementById('LODOP_OB'),document.getElementById('LODOP_EM'));  10                 LODOP.PRINT_INITA(4,10,860,544,"打印控件功能演示_Lodop功能_显示模式");  12                 LODOP.ADD_PRINT_TEXT(120,117,92,22,sender);         //寄件人13                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);14                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);15                 LODOP.ADD_PRINT_TEXT(120,263,160,22,senderPhone);    //寄件人手机号16                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);17                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);18                 LODOP.ADD_PRINT_TEXT(145,117,282,22,senderCompany);        //寄件单位19                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);20                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);21                 LODOP.ADD_PRINT_TEXT(169,116,283,22,senderAddress);          //寄件地址22                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);23                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);24                 LODOP.ADD_PRINT_TEXT(217,315,100,22,postCode);          //寄件方邮政编码25                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);26                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);27                 LODOP.ADD_PRINT_TEXT(260,59,349,76,objectInformation);          //物品详情28                 LODOP.SET_PRINT_STYLEA(0,"FontSize",10);29                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);30                 LODOP.ADD_PRINT_TEXT(359,113,70,25,totalNum);          //合计件数31                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);32                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);33                 LODOP.ADD_PRINT_TEXT(359,186,70,25,totalWeight);          //合计毛重34                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);35                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);36                 LODOP.ADD_PRINT_TEXT(439,303,156,25,sendDate);          //寄件时间37                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);38                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);39                 LODOP.ADD_PRINT_TEXT(120,464,89,22,receiver); //收件人40                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);41                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);42                 LODOP.ADD_PRINT_TEXT(117,612,115,22,receiverPhone);//收件人电话43                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);44                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);45                 LODOP.ADD_PRINT_TEXT(144,464,262,22,receiverCompany);//收件人单位46                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);47                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);48                 LODOP.ADD_PRINT_TEXT(170,464,150,22,receiverAddress);//收件人地址49                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);50                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);51                 LODOP.ADD_PRINT_TEXT(441,135,159,20,sender);//即件人地址52                 LODOP.SET_PRINT_STYLEA(0,"FontSize",11);53                 LODOP.SET_PRINT_STYLEA(0,"Bold",1);54                 LODOP.ADD_PRINT_SHAPE(5,240,479,16,14,0,1,"#000000");55                 LODOP.ADD_PRINT_SHAPE(5,267,645,16,14,0,1,"#000000");56 }

 

转载于:https://www.cnblogs.com/jsczljh/p/3437051.html

你可能感兴趣的文章
如何在git bash中运行mysql
查看>>
OO第三阶段总结
查看>>
构建之法阅读笔记02
查看>>
DataTable和 DataRow的 区别与联系
查看>>
检索COM 类工厂中CLSID 为 {00024500-0000-0000-C000-000000000046}的组件时失败
查看>>
mysql数据库中数据类型
查看>>
Fireworks基本使用
查看>>
两台电脑间的消息传输
查看>>
Linux 标准 I/O 库
查看>>
.net Tuple特性
查看>>
Java基础常见英语词汇
查看>>
iOS并发编程笔记【转】
查看>>
08号团队-团队任务5:项目总结会
查看>>
SQL2005 删除空白行null
查看>>
mysql备份与恢复
查看>>
混沌分形之迭代函数系统(IFS)
查看>>
边框圆角Css
查看>>
使用Busybox制作根文件系统
查看>>
jpg图片在IE6、IE7和IE8下不显示解决办法
查看>>
delphi之模糊找图
查看>>