[英]Print without preview - ASP.Net/Silverlight
I have a asp.net application where I'm trying to load few documents into memory and print it. 我有一个asp.net应用程序,试图在其中将一些文档加载到内存中并进行打印。 I learned that I can't use PrintDialog in a web app and the only way is to print using javascript by writing the content into a (hidden) iFrame.
我了解到我无法在Web应用程序中使用PrintDialog,唯一的方法是通过将内容写入到(隐藏的)iFrame中来使用javascript进行打印。
My question is how can Silverlight help me with this? 我的问题是Silverlight可以如何帮助我? Is it possible to show print dialog and get printer settings and print without a preview by sending the files directly to the printer?
通过将文件直接发送到打印机,是否可以显示打印对话框并获得打印机设置并进行打印而无需预览? How hard it is achieve to using SL?
使用SL有多困难?
Thank you. 谢谢。
I just watched a video about printing with Silverlight . 我刚刚观看了有关Silverlight打印的视频。 It seems quite easy, but I think it has to send the print job as image, so it might be quite slow.
看起来很容易,但是我认为它必须将打印作业作为图像发送,因此可能很慢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.