asp.net网页打印 [英] asp.net web print
本文介绍了asp.net网页打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
不好意思.如何解决问题. as web:打印时不打印页眉,页脚可以是水平或垂直的. (不修改注册码).网页包含一个参数.有各种兼容的Web浏览器的免费打印版本,与插件兼容.
您可能打算使用CSS样式表来提供一种隐藏/显示/修改各种显示元素的机制.这样做的方法是有一个样式表用于显示,一个样式表用于打印.
声明它们如下:
<link href="Screen.css" rel="stylesheet" type="text/css" media="screen" /> <link href="Print.css" rel="stylesheet" type="text/css" media="print" />
每种样式都包含指示屏幕或打印布局的样式.
页面页眉或页脚的打印结果
Excuse me. how to solve the problem. as web : print not print the header, footer may be horizontal or vertical. ( not modify the registration code ). the web pages contain a parameter. is there any free print of various web browser, plugin compatible.
解决方案
Whilst your question is not clear I''ll take a stab...
You may mean to use CSS style sheets to provide a mechanism to hide/show/modify various display elements. The way to do this is to have a style sheet for display and a style sheet for printing.
Declare them as follows:
<link href="Screen.css" rel="stylesheet" type="text/css" media="screen" /> <link href="Print.css" rel="stylesheet" type="text/css" media="print" />
Each will contain styles that dictate the layout for screen or print.
Printed result from the page header or footer
这篇关于asp.net网页打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文