如何通过打破页面来打印Aspx页面 [英] How Do I Print Aspx Page By Breaking The Page

查看:66
本文介绍了如何通过打破页面来打印Aspx页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个申请表格,必须在点击打印按钮上打印

因为aspx页面太长,即2-3页数据,我想打破页面一点,这也应该打印正确的页面边框。







i使用以下代码打印但地址网页的页面也随页面数据一起打印。

< script type = text / javascript;

功能打印()

{

window.print();

}


解决方案

< blockquote>访问这里了解...



http://www.codestore.net/store.nsf/unid/domm-4wmeu6/ [ ^ ]


i have an application form that have to be printed on clicking print button
as the aspx page is too long i.e 2-3 page of data, i want to break the page a one point and this should get printed properly with page border also.



i used following code to print but the address of web page also gets printed along with the page data.
<script type =text/javascript;
function Printing()
{
window.print();
}

解决方案

visit here to understand...

http://www.codestore.net/store.nsf/unid/domm-4wmeu6/[^]


这篇关于如何通过打破页面来打印Aspx页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆