使用javascript打印word文档 [英] print a word document using javascript
本文介绍了使用javascript打印word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用javascript打印word文档?
谢谢
Hi,
how to print a word document using javascript?
Thanks
推荐答案
<A HREF="javascript:window.print()">Click to Print This Page</A>
参考 - 通过Javascript打印word文档 [< a href =http://forums.asp.net/t/1578835.aspx/1target =_ blanktitle =New Window> ^ ]
Refer - Print word document through Javascript[^]
引用:
Javascript没有直接打印办公文档的功能。但是,您可以尝试在iframe中打开word文档。并使用window.print打印整个页面。
Javascript has no such functionalities to directly print office documentations. However, you can try opening the word document in an iframe. And use window.print to print the whole page.
这篇关于使用javascript打印word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文