网页打印代码
来源:互联网 发布:ubuntu进入root文件夹 编辑:程序博客网 时间:2024/05/22 11:43
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"
<title>页面打印</title>
<style type="text/css">
.table{
text-align:center;
}
</style>
<style media="print">
.Noprint{display:none;}
.PageNext{page-break-after: always;}
</style>
</head>
<body>
<center class="Noprint">
<p>
<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)"></p>
</center>
<hr />
<span>我是僵尸</span>
</body>
</html>
- 网页打印代码
- 网页打印代码
- 网页打印代码
- 网页打印完整代码
- 网页打印代码
- 网页打印代码
- 如何用代码打印网页!
- 实现网页打印相关代码
- 网页打印表单js代码
- 网页打印
- 打印网页
- 网页打印
- 网页打印
- 网页打印
- 网页打印
- ASP动态网页开发中的WEB打印代码大全
- javascript代码如何实现打印框架里面的某个网页
- 在网页中使用打印功能的Java代码
- DLL的远程注入技术 - [Vc++]
- 关于Mysql 字段遇到关键字注解处理 存储过程 以及 函数 定时器 的笔记
- python中使用re的基本流程
- android开发入门之android:launchMode
- NSArray和NSMutableArray常用方法总结
- 网页打印代码
- HTC G14开启(关闭)自带截图功能
- jquery特效分享国内最最优秀UED博客
- uml类图之间的关系(留着自己用的)
- ASP.NET解决中文乱码
- [Economist] Like herdsmen chasing pastures 像牧民一样沿着水草游牧
- android中The connection to adb is down解决方案
- 最新整理的周立波语录
- JAVA中date()方法常用集合