在VB.Net中打印文本框文本的最快方法

编程入门 行业动态 更新时间:2024-10-23 21:36:11
本文介绍了在VB.Net中打印文本框文本的最快方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

你好朋友 我的名字是Sarfaraz。我正在为需要在Dot Matrix打印机上打印收据的客户开发软件。 我知道如何打印文本框的值,但这不是在Dotmatrix打印机上打印的最佳方式。 br /> 请帮助我以下内容: 1.我应该将文本框和列表框的详细信息加载到网格中,然后打印在收据上。或者 2.我应该将文本框和列表框的内容保存到文本文件并打印。或者 3.我可以使用水晶报告给收件人打印。 请帮助我。 谢谢

解决方案

对于Dot Matric打印机,#2是最佳选择。水晶报告和其他图形格式会非常慢并且会使用大量墨水。 保存到文本文件并执行shell命令 类型filename.txt> PRN

Hello friends My name is Sarfaraz. I am developing a software for a client who needs to print receipts on a Dot Matrix printer. I know how to print values of Text box but that is not the best way to print on Dotmatrix printer. Please help me in the following: 1. Should i load the details of text boxes and listbox to a grid and then print on a receipt. or 2. Should I save the contents of text boxes and listbox to text file and print. or 3. Sould I use crystal reports for the recipt to print. Please help me in that. Thank you

解决方案

For Dot Matric printer, #2 is the best option. Crystal reports and other graphics format will be really slow and will use lot of ink. Save to a text file and execute the shell command type "filename.txt" > prn

更多推荐

在VB.Net中打印文本框文本的最快方法

本文发布于:2023-11-03 20:32:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1556017.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文本框   文本   最快   方法   VB

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!