使用C#Asp.net无需显示PrintDialogBox即可打印文本框值的完整代码 [英] Complete Code for Print a TextBox Value without showing the PrintDialogBox using C# Asp.net

查看:73
本文介绍了使用C#Asp.net无需显示PrintDialogBox即可打印文本框值的完整代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请提供带有完整代码的示例应用程序.使用c#和asp.net 3.5

在不显示PrintDialogBox的情况下打印textBox值
在此先感谢

Please Give a sample application with the complete code..using c# and asp.net 3.5

Print a textBox value without showing the PrintDialogBox
Thanks in advance

推荐答案


检查此链接可能会对您有所帮助
http://fiddyp.co.uk/bypass-disable -print-dialog-box-in-firefox-with-javascript-print/ [ http://www.codingforums.com/showthread.php?t=224 [ ^ ]
http://forums.whirlpool.net.au/archive/1255195 [
Hi ,
Check this link maybe it will help you
http://fiddyp.co.uk/bypass-disable-print-dialog-box-in-firefox-with-javascript-print/[^]
http://www.codingforums.com/showthread.php?t=224[^]
http://forums.whirlpool.net.au/archive/1255195[^]
Best Regards
M.Mitwalli


卡纳马拉(br>

这是执行此操作的代码的链接,并且向您显示了必要时配置客户端的必要步骤.
http://justtalkaboutweb.com/2008/05 /09/javascript-print-bypass-printer-dialog-in-ie-and-firefox/ [
Hi Kanamala

Here is a link to code that does just this, and it shows you the necessary steps to configure client side if needed.
http://justtalkaboutweb.com/2008/05/09/javascript-print-bypass-printer-dialog-in-ie-and-firefox/[^]

Just a caveat though: There are are a few reasons why it might not be a good idea though
The user might want to choose which printer to use, as well as choose settings like gray scale and paper size etc.
This might be abused to print popups and advertisements

I hope this helps you

Regards


这篇关于使用C#Asp.net无需显示PrintDialogBox即可打印文本框值的完整代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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