我就是把信息从数据库中取出来的,你不用管/
你完全可以自己做界面不是都说了吗
只这几句是重要的哦!
<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0>
</OBJECT>
<input type=button value=打印 onclick=document.all.WebBrowser.ExecWB(6,1)>
<input type=button value=直接打印 onclick=document.all.WebBrowser.ExecWB(6,6)>
<input type=button value=页面设置 onclick=document.all.WebBrowser.ExecWB(8,1)>
</p>
<p> <input type=button value=打印预览 onclick=document.all.WebBrowser.ExecWB(7,1)>
<br/>
</p>还有
<style media=print>
.Noprint{display:none;} ‘设置打印时,上面的几个 按钮不可见
.PageNext{page-break-after: always;}
</style>
你完全可以自己做界面不是都说了吗
只这几句是重要的哦!
<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0>
</OBJECT>
<input type=button value=打印 onclick=document.all.WebBrowser.ExecWB(6,1)>
<input type=button value=直接打印 onclick=document.all.WebBrowser.ExecWB(6,6)>
<input type=button value=页面设置 onclick=document.all.WebBrowser.ExecWB(8,1)>
</p>
<p> <input type=button value=打印预览 onclick=document.all.WebBrowser.ExecWB(7,1)>
<br/>
</p>还有
<style media=print>
.Noprint{display:none;} ‘设置打印时,上面的几个 按钮不可见
.PageNext{page-break-after: always;}
</style>
误:没有权限,51行,也就是
<input onclick="document.all.WebBrowser.ExecWB(6,1)"
type="button" value="打印">
<input onclick="document.all.WebBrowser.ExecWB(6,6)"
type="button" value="直接打印">
是怎么回事?那边的帖子里也有这个问题,不过我没看到有解决办法呀?
谢谢!!
在ie
下面,但是按了打印按键后提示网页上有错误,是什么原因???另外,
<center class="Noprint">这一句里,说center是W3C视为已过时的,建
议使用新的构造,请问新的构造是什么??
谢谢!!
看看这里之间不能有代码的
</OBJECT>
看看这里之间不能有代码的
</OBJECT>"那之间是自动生成的代码呀。
那么如何打印DATAGRID里的内容或数据库里的内容呢?