如何在不使用任何报告的情况下打印表单数据 [英] How to Print Form data without using any Reports?
本文介绍了如何在不使用任何报告的情况下打印表单数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在TextFormat中打印Form而不是在ImageFormat中。我可以在不使用任何报告的情况下实现。
是否可能?
I want to print the Form in TextFormat not in ImageFormat.How can i achieve that with out using any Reports.
Is it Possible or not?
推荐答案
您不需要任何报告。使用类System.Drawing.PrintDocument
完成打印:
https://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument%28v= vs.110%29.aspx 。
此外,CodeProject有很多关于打印表格主题的文章:http://www.codeproject.com/search.aspx?q=print+form&doctypeid=1。
-SA
You don't need any Reports. The printing is done using the classSystem.Drawing.PrintDocument
:
https://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument%28v=vs.110%29.aspx.
Besides, CodeProject has a number of articles on the "print a form" topic: http://www.codeproject.com/search.aspx?q=print+form&doctypeid=1.
—SA
这篇关于如何在不使用任何报告的情况下打印表单数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文