微软的最新版本的PlatFormSDK中提供了一个Print Template,可以实现你所说的打印功能。这个功能无需特定的客户端组件支持,有的公司专门开发了打印工具出售。
到http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm下载新的SDK,注意要安装Internet Development SDK,然后可以在帮助文件的 Internet Development->Programing and Reusing the Browser->Print Template中查看有关信息。
到http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm下载新的SDK,注意要安装Internet Development SDK,然后可以在帮助文件的 Internet Development->Programing and Reusing the Browser->Print Template中查看有关信息。
</script>
<object Classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0" id="WB" width="0" VIEWASTEXT>
</object>
<script language="JScript">
// 打印设置(可以设置纸张大小,纵/横打印
function doPrintSetup(){
WB.ExecWB(8,1)
}
// 打印预览
function doPrintPreview(){
WB.ExecWB(7,1)
}
function testWB(){
WB.ExecWB(8 ,1);
} </script>
11行不支持该命令。