如何在asp.net中双面打印 [英] How to print both sided in asp.net

查看:116
本文介绍了如何在asp.net中双面打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过asp.net打印标记....

但是内容分为2页...

所以有代码或只需单击打印按钮即可打印两个页面...



只需单击打印页面可能会打印在同一张纸上..正面和背面意味着双方..



Web应用程序VS 2012,SQL 2012

i want to print a marksheet through asp.net....
but the contents are coming in 2 pages...
so is there is code or way to print both the pages by simply clicking on the print button...

just on clicking print both the pages might get printed on the same paper.. front and back side means both sided..

Web Application VS 2012 ,SQL 2012

推荐答案

打印网页页面可以通过两种方式初始化:

1.从浏览器打印菜单

2. window.print()代码中的JavaScript命令

在这两种情况下,客户机的打印对话框都会打开(或者它的某种形式)让客户选择打印机和其他属性。

没有办法干扰用户的选择和强制他使用双面打印事件,它出现在打印机上......
Printing a web page is something that can be initialized in two ways:
1. Print menu from the browser
2. window.print() JavaScript command from your code
In both cases the client's machine's print dialog will opened (or some form of it) to let the client choose printer and other properties.
There is NO way to interfere with user's choice and force him to use double-side printing event it is presented on the printer...


这篇关于如何在asp.net中双面打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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