<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" class="numberedList" width="569"><tr id="eCE2" valign="top" class=""><td align="right" class="dropCapQ" nowrap width="6"></td><td width="812"><table name="tiba" class="tiba" width="777" height="45"><tr style="padding:0px 0px 7px 0px;border:inset 1px #f00;"><td class="pageNumberListContent" style="vertical-align: top" width="747" height="18"><p><b><font color="#0000FF" face="黑体" size="3">Lodop</font></b>是专业WEB控件,用它既可裁剪输出页面内容,又可用程序代码生成复杂打印页。</p></td></tr><tr style="padding:0px 0px 7px 0px;border:inset 1px #f00;"><td class="pageNumberListContent" 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" class="numberedList" width="550" height="202"><tr id="eCE4" valign="top" class=""><td align="right" class="dropCapQ" nowrap width="6" height="202"></td><td width="812" height="202"><table name="tiba" class="tiba" width="775" height="174"><tr style="padding:0px 0px 7px 0px;border:inset 1px #f00;"><td class="pageNumberListContent" style="vertical-align: top" width="13" height="1"><font color="#0000FF"><font size="1">●</font></font></td><td class="pageNumberListContent" style="vertical-align: top" width="752" height="1"><font color="#0000FF" size="2">PRINT_INIT(strPrintTaskName)打印初始化</font>
</td></tr><tr style="padding:0px 0px 7px 0px;border:inset 1px #f00;"><td class="pageNumberListContent" style="vertical-align: top" width="13" height="18"><font size="1" color="#0000FF">●</font></td><td class="pageNumberListContent" style="vertical-align: top" width="752" height="18"><font color="#0000FF" size="2">SET_PRINT_PAGESIZE(intOrient,intPageWidth,intPageHeight,strPageName)设定纸张大小</font>
</td></tr><tr style="padding:0px 0px 7px 0px;border:inset 1px #f00;"><td class="pageNumberListContent" style="vertical-align: top" width="13" height="18"><font color="#0000FF"><font size="1">●</font></font></td><td class="pageNumberListContent" 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 style="padding:0px 0px 7px 0px;border:inset 1px #f00;"><td class="pageNumberListContent" style="vertical-align: top" width="13" height="18"><font color="#0000FF"><font size="1">●</font></font></td><td class="pageNumberListContent" 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 style="padding:0px 0px 7px 0px;border:inset 1px #f00;"><td class="pageNumberListContent" style="vertical-align: top" width="13" height="18"><font color="#0000FF"><font size="1">●</font></font></td><td class="pageNumberListContent" 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 class="pageNumberListContent" style="vertical-align: top" width="13" height="1"><font size="1" color="#0000FF">●</font></td><td class="pageNumberListContent" 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 class="pageNumberListContent" style="vertical-align: top" width="13" height="1"><font size="1" color="#0000FF">●</font></td><td class="pageNumberListContent" style="vertical-align: top" width="752" height="1">
<font color="#0000FF" size="2">SET_PRINT_STYLE(strStyleName,
varStyleValue)设置对象风格</font>
</td>
</tr>
<tr>
<td class="pageNumberListContent" style="vertical-align: top" width="13" height="1"><font size="1" color="#0000FF">●</font></td><td class="pageNumberListContent" style="vertical-align: top" width="752" height="1"><font color="#0000FF" size="2">PREVIEW打印预览</font>
</td>
</tr>
<tr>
<td class="pageNumberListContent" style="vertical-align: top" width="13" height="1"><font size="1" color="#0000FF">●</font></td><td class="pageNumberListContent" style="vertical-align: top" width="752" height="1"><font color="#0000FF" size="2">PRINT直接打印</font>
</td>
</tr>
<tr>
<td class="pageNumberListContent" style="vertical-align: top" width="13" height="14"><font size="1" color="#0000FF">●</font></td><td class="pageNumberListContent" style="vertical-align: top" width="752" height="14"><font color="#0000FF" size="2">PRINT_SETUP打印维护</font>
</td>
</tr>
<tr>
<td class="pageNumberListContent" style="vertical-align: top" width="13" height="1"><font size="1" color="#0000FF">●</font></td><td class="pageNumberListContent" style="vertical-align: top" width="752" height="1"><font color="#0000FF" size="2">PRINT_DESIGN打印设计</font>
</td>
</tr>
<tr>
<td class="pageNumberListContent" style="vertical-align: top" width="13" height="1"></td><td class="pageNumberListContent" style="vertical-align: top" width="752" height="1">
</td>
</tr>
</table></td></tr></table><table cellpadding="0" cellspacing="0" border="0" class="numberedList" width="572"><tr id="eCE3" valign="top" class=""><td align="right" class="dropCapQ" nowrap width="6"></td><td width="812"><table name="tiba" class="tiba" width="774"><tr style="padding:0px 0px 7px 0px;border:inset 1px #f00;"><td class="pageNumberListContent" style="vertical-align: top" width="744"><p>可邮件<a href="mailto:gungho999@sina.com">gungho999@sina.com</a>索取技术手册,了解更多详细资料,</p></td></tr><tr style="padding:0px 0px 7px 0px;border:inset 1px #f00;"><td class="pageNumberListContent" style="vertical-align: top" width="744"><p>下面通过演示样例来理解,为容易理解源代码,每个样例尽量简单,</p></td></tr><tr style="padding:0px 0px 7px 0px;border:inset 1px #f00;"><td class="pageNumberListContent" style="vertical-align: top" width="744">一个样例代表一类应用,在实际开发中都可混合使用。</td></tr></table></td></tr></table><table cellpadding="0" cellspacing="0" border="0" class="numberedList" width="572"><tr id="eCE1" valign="top" class=""><td align="right" class="dropCapQ" nowrap width="6"></td><td width="812"><table name="tiba" class="tiba" width="681" height="571"><tr style="padding:0px 0px 7px 0px;border:inset 1px #f00;"><td class="pageNumber" width="667" colspan="2" height="18">
<p><b><font color="#009999" face="宋体" size="3">样例清单</font></b></p>
</td></tr>
<tr>
<td class="pageNumber" width="16" height="18">1.
</td><td class="pageNumberListContent" style="vertical-align: top" width="651" height="18"><p class="stepParaFirst">如何在页面内嵌入控件见<font color="#0000ff"><a href="PrintSample1.html">样例一</a></font>
</p></td>
</tr>
<tr>
<td class="pageNumber" width="16" height="18">2.
</td><td class="pageNumberListContent" style="vertical-align: top" width="651" height="18"><p class="stepParaFirst">如何选材打印当前页面内容见<font color="#0000ff"><a href="PrintSample2.html">样例二</a></font>
</p></td>
</tr>
<tr>
<td class="pageNumber