<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<title>WEB打印控件LODOP的使用说明和样例目录</title>
</head>
<body>
<h2><b><font color="#009999">WEB打印控件Lodop(V6.x)使用说明及样例</font></b></h2>
<table cellpadding="0" cellspacing="0" border="0" width="569"><tr valign="top" ><td align="right" nowrap width="6"></td><td width="812"><table width="777" height="45"><tr><td style="vertical-align: top" width="747" height="18"><p><b><font color="#0000FF" face="黑体" size="3">Lodop</font></b>(标音:劳道谱,俗称:露肚皮)是专业WEB控件,用它既可裁剪输出页面内容,又可用程序代码直接实现</p></td></tr><tr><td style="vertical-align: top" width="747" height="1"><p>复杂打印。控件功能强大,却简单易用,所有调用如同<font size="2">JavaScript</font>扩展语句,主要接口函数如下:</p></td></tr></table></td></tr></table><table cellpadding="0" cellspacing="0" border="0" width="550" height="202"><tr valign="top" ><td align="right" nowrap width="6" height="202"></td><td width="812" height="202"><table width="775" height="174"><tr><td style="vertical-align: top" width="13" height="1"><font color="#0000FF"><font size="1">●</font></font></td><td style="vertical-align: top" width="752" height="1"><font color="#0000FF" size="2">PRINT_INIT(strPrintTaskName)打印初始化</font>
</td></tr><tr><td style="vertical-align: top" width="13" height="18"><font size="1" color="#0000FF">●</font></td><td style="vertical-align: top" width="752" height="18"><font color="#0000FF" size="2">SET_PRINT_PAGESIZE(intOrient,intPageWidth,intPageHeight,strPageName)设定纸张大小</font>
</td></tr><tr><td style="vertical-align: top" width="13" height="18"><font color="#0000FF"><font size="1">●</font></font></td><td style="vertical-align: top" width="752" height="18"><font color="#0000FF" size="2">ADD_PRINT_HTM(intTop,intLeft,intWidth,intHeight,strHtml)增加超文本项</font>
</td></tr><tr><td style="vertical-align: top" width="13" height="18"><font color="#0000FF"><font size="1">●</font></font></td><td style="vertical-align: top" width="752" height="18"><font color="#0000FF" size="2">ADD_PRINT_TEXT(intTop,intLeft,intWidth,intHeight,strContent)增加纯文本项</font>
</td></tr>
<tr><td style="vertical-align: top" width="13" height="18"><font color="#0000FF"><font size="1">●</font></font></td><td style="vertical-align: top" width="752" height="18"><font color="#0000FF" size="2">ADD_PRINT_TABLE(intTop,intLeft,intWidth,intHeight,strHtml)增加表格项</font>
</td></tr>
<tr>
<td style="vertical-align: top" width="13" height="1"><font size="1" color="#0000FF">●</font></td><td style="vertical-align: top" width="752" height="1">
<font color="#0000FF" size="2">ADD_PRINT_SHAPE(intShapeType,intTop,intLeft,intWidth,intHeight,intLineStyle,intLineWidth,intColor)画图形</font>
</td>
</tr>
<tr>
<td style="vertical-align: top" width="13" height="1"><font size="1" color="#0000FF">●</font></td><td style="vertical-align: top" width="752" height="1">
<font color="#0000FF" size="2">SET_PRINT_STYLE(strStyleName,
varStyleValue)设置对象风格</font>
</td>
</tr>
<tr>
<td style="vertical-align: top" width="13" height="1"><font size="1" color="#0000FF">●</font></td><td style="vertical-align: top" width="752" height="1"><font color="#0000FF" size="2">PREVIEW打印预览</font>
</td>
</tr>
<tr>
<td style="vertical-align: top" width="13" height="1"><font size="1" color="#0000FF">●</font></td><td style="vertical-align: top" width="752" height="1"><font color="#0000FF" size="2">PRINT直接打印</font>
</td>
</tr>
<tr>
<td style="vertical-align: top" width="13" height="14"><font size="1" color="#0000FF">●</font></td><td style="vertical-align: top" width="752" height="14"><font color="#0000FF" size="2">PRINT_SETUP打印维护</font>
</td>
</tr>
<tr>
<td style="vertical-align: top" width="13" height="1"><font size="1" color="#0000FF">●</font></td><td style="vertical-align: top" width="752" height="1"><font color="#0000FF" size="2">PRINT_DESIGN打印设计</font>
</td>
</tr>
</table></td></tr></table><table cellpadding="0" cellspacing="0" border="0" width="572"><tr valign="top" ><td align="right" nowrap width="6"></td><td width="812"><table width="774" height="144"><tr><td style="vertical-align: top" width="744" height="18"><p>可邮件<a href="mailto:gungho999@sina.com">gungho999@sina.com</a>索取技术手册或访问<a href="http://blog.sina.com.cn/s/blog_721e77e50100q45u.html" target="_blank">官博简明教程</a>了解更多详细资料。</p></td></tr>
<tr>
<td style="vertical-align: top" width="744" height="18">最基本的打印过程至少有<b>初始化语句</b>、<b>添内容语句</b>和<b>打印语句</b>三部分组成,例如:</td>
</tr>
<tr>
<td style="vertical-align: top; border: 1 dotted #0000FF" width="744" height="52">
<font color="#0000FF" size="2">
LODOP.PRINT_INIT("打印任务名");
</font><font size="2">//首先一个初始化语句</font>
<font color="#0000FF" size="2"><br>
LODOP.ADD_PRINT_TEXT(0,0,100,20,"文本内容一");</font><font size="2">//然后多个ADD语句及SET语句</font>
<font color="#0000FF" size="2"><br>
LODOP.PRINT();
</font><font size="2">//最后一个打印(或预览、维护、设计)语句</font></td>
</tr>
<tr><td style="vertical-align: top" width="744" height="18"><p>下面通过演示样例来理解,为容易看懂源代码,每个样例尽量简单,一个样例代</p></td></tr><tr><td style="vertical-align: top" width="744" height="18">表一类或多类功能,在实际应用中它们都可以混合并存或交叉使用。</td></tr></table></td></tr></table><table cellpadding="0" cellspacing="0" border="0" width="572"><tr valign="top" ><td align="right" nowrap width="6"></td><td width="812"><table width="681" height="571"><tr><td width="667" colspan="2" height="18">
<p><b><font color="#009999" face="宋体" size="3">样例清单</font></b></p>
</td></tr>
<tr>
<td width="16" height="18">1.
</td><td style="vertical-align: top" width="651" height="18"><p >如何在页面内嵌入控件见<font color="#0000ff"><a href="PrintSample1.html" target="_blank">样例一</a></font>
</p></td>
</tr>
<tr>
<td width="16" height="18">2.
</td><td style="vertical-align: top" width="651" height="18"><p >如何选材打印当前页面内容见<font color="#0000ff"><a href="PrintSample2.html" target="_blank">样例二</a></font>
</p></td>
</tr>
<tr>
<td width="16" height="18">3.
</td><td style="vertical-align: top" width="651" height="18"><p >如何用代码生成打印页见<a href="PrintSample3.html" target="_blank">样例三</a>
</p></td>
</tr>
<tr>
<td width="16" height="18">4.
</td><td style="vertical-align: top" width="651" height="18"><p >如何打印设计和定位套打见<a href="PrintSample4.html" target="_blank">样例四</a>
</p></td>
</tr>
<tr>
<td width="16" height="18">5.
</td><td style="vertical-align: top" width="651" hei
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
jspweb打印控件demoLodop6.198.rar (59个子文件)
PrintSample45.html 11KB
gsBook.png 86KB
dishui2.html 7KB
PrintSample10.js 112B
PrintSampIndex.html 21KB
PrintSample12.html 5KB
PrintSample36.html 13KB
PrintSample2.html 6KB
PrintSample28.html 11KB
PrintSample44.html 4KB
dishui.html 6KB
PrintSample3.html 16KB
PrintSample26.html 4KB
PrintSample15.html 10KB
PrintSample18.html 10KB
PrintSample48.html 3KB
PrintSample1.html 7KB
PrintSample10.html 5KB
PrintSample25.html 4KB
PrintSample33.html 11KB
PrintSample24.html 4KB
PrintSample4.html 10KB
PrintSample21.html 6KB
install_lodop64.exe 2.43MB
PrintSample43.html 14KB
PrintSample10.css 138B
PrintSample16.html 5KB
PrintSample27.html 10KB
PrintSample14.html 4KB
PrintSample8.html 4KB
PrintSample22.html 14KB
PrintSample6.html 10KB
PrintSample5.html 12KB
PrintSample49.html 3KB
install_lodop32.exe 2.3MB
PrintSample19.html 5KB
PrintSample40.html 21KB
PrintSample20.html 7KB
PrintSample9.html 5KB
PrintSample13.html 3KB
PrintSample30.html 9KB
PrintSample46.html 6KB
PrintSample47.html 7KB
PrintSample41.html 8KB
PrintSample37.html 3KB
LodopFuncs.js 4KB
PrintSample35.html 7KB
PrintSample17.html 4KB
PrintSample32.html 5KB
PrintSample23.html 8KB
dsBook.png 76KB
PrintSample31.html 12KB
PrintSample39.html 7KB
PrintSample7.html 10KB
PrintSample11.html 8KB
PrintSample42.html 7KB
PrintSample38.html 4KB
PrintSample34.html 8KB
PrintSample29.html 8KB
共 59 条
- 1
资源评论
- 映袖客2023-11-03骗人的,还有水印 #标题与内容不符 #毫无价值
- 对朋友的承诺2019-06-17无法在win10下运行安装,其他操作系统未测试 测试环境 win10系统,火狐浏览器60.0.2dangherenmin2021-06-09和操作系统无关,不支持火狐浏览器,支持 IE和chrome
dangherenmin
- 粉丝: 0
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功