用于打印命令 [英] for print command
本文介绍了用于打印命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尊敬的先生,我叫amit kumar srivastava我是一名学生,打印文档的代码是什么,任何人,请帮助我
respected sir, my name is amit kumar srivastava i am a student, what is the code for print the document, anyone , plz help me
推荐答案
尝试 ^ ] like,它将引导您转到此类链接:
使用C#打印 [使用C#打印 [
Try this [^]like which will lead you to such links:
Printing Using C#[^]
Printing in C#[^]
阿米特,
您可以在按钮click事件上使用以下代码来调用Java脚本函数print()
Hi Amit,
You can use below code on button click event to call java script function print()
<pre><script language="javascript" >
function print()
{
window.print();
}
</script>
这篇关于用于打印命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文